Ir a contenido
Crea una cuenta
o
inicia sesión
Logotipo de la documentación de Stripe
/
Pregúntale a la IA
Crear cuenta
Iniciar sesión
Empezar
Pagos
Ingresos
Plataformas y marketplaces
Gestión del dinero
Recursos para desarrolladores
Resumen
Control de versiones
Registro de cambios
Actualiza tu versión de la API
Mejora tu versión de SDK
Essentials
SDK
API
Pruebas
CLI de Stripe
Herramientas
Espacio de trabajo
Dashboard de desarrolladores
Stripe Shell
Stripe para Visual Studio Code
Funciones
Flujos de trabajo
Destinos de eventos
Alertas de estado de StripeCargas de archivos
Soluciones de IA
Kit de herramientas para agentes
Seguridad y privacidad
Seguridad
Privacidad
Ampliar Stripe
Build Stripe apps
Use apps from Stripe
    Resumen
    Stripe-built apps
    Adobe Commerce
    Cegid
    Commercetools
    Mirakl
      Configuración
      Instalación
      Onboarding de vendedores
      Pagos
      Transferencias
      Referencia
    NetSuite
    Oracle Opera
    PrestaShop
    Salesforce
    SAP
    Shopware 6
    Stripe Tax para BigCommerce
    Stripe Tax para WooCommerce
    Partner apps
    Build your own app
Socios
Ecosistema de socios
Certificación de socio
InicioRecursos para desarrolladoresUse apps from StripeMirakl

Nota

Esta página aún no está disponible para este idioma. Estamos trabajando intensamente para que nuestra documentación esté disponible en un mayor número de idiomas. Proporcionaremos la traducción en el momento que esté disponible.

Mirakl Plugin installation

Install and validate the Miraki plugin for Stripe.

Requirements

Installing and running the application requires the following:

  • PHP 7.3+
  • PostgreSQL
  • A web server, Nginx recommended
  • A valid SSL/TLS certificate
  • Supervisord or equivalent
  • Crontab or equivalent

Install using Docker

You can build and start the application by embedding it in a container. See our Docker sample for more information.

Install manually

  1. Install Composer.
  2. Clone or download the Mirakl App from GitHub.
  3. Move the content to your web server directory, for example, /var/www.
  4. Download dependencies:
Command Line
composer install --prefer-dist --no-dev
  1. Make sure you properly configured the .env file.
  2. Run the migrations to set up the database:
Command Line
bin/console doctrine:migration:migrate --no-interaction

If you encounter any errors at this stage, check the DATABASE_URL variable in your .env file.

  1. Update your supervisor to automatically start and restart the workers.

A configuration example is available in our Docker sample. You can skip this step in a development environment and start the workers manually when needed, for example:

Command Line
php bin/console messenger:consume process_transfers --time-limit=3600 --env=prod
  1. Update your job scheduler to run the commands periodically.

A configuration example is available in our Docker sample. You can skip this step in a development environment and start the jobs manually when needed, for example:

Command Line
php bin/console connector:dispatch:process-transfer -q 2>&1
  1. Make sure that your web server is configured to use the public directory as document root.

Check your installation

Open your terminal and run the following command to confirm that your application is up and running correctly:

Command Line
curl -X GET "https://app-url/api/mappings" \ -H "accept: application/json" \ -H "X-AUTH-TOKEN:
$OPERATOR_PASSWORD
"

You should get a 200 response code along with an empty payload.

Security

On your server, restrict all inbound traffic to the plugin except for the following endpoints:

  • /api/public/onboarding/refresh

    Stripe redirects the seller to this URL to get a new onboarding link if it expires.

  • /api/public/webhook/operator

    Stripe notifies this endpoint when a payment is updated to map it with a Mirakl order within the app.

  • /api/public/webhook/sellers

    Stripe notifies this endpoint when a Stripe account is updated to synchronize the seller’s status within the app.

These endpoints are safe to expose, they each have an internal protection mechanism. Other endpoints are not safe to expose unless protected by a strong OPERATOR_PASSWORD.

Véase también

  • Integration steps.
¿Te ha sido útil la página?
SíNo
¿Necesitas ayuda? Ponte en contacto con el equipo de soporte.
Únete a nuestro programa de acceso anticipado.
Echa un vistazo a nuestro registro de cambios.
¿Tienes alguna pregunta? Ponte en contacto con el equipo de ventas.
¿LLM? Lee llms.txt.
Con tecnología de Markdoc