调至内容部分
创建账户
或
登录
Stripe 文档徽标
/
询问人工智能
创建账户
登录
开始
付款
销售收入
平台和交易市场
资金管理
开发人员资源
概览
版本管理
更改日志
升级您的 API 版本
升级 SDK 版本
基础功能
SDK
API
测试
Stripe CLI
项目示例
工具
Workbench
开发人员管理平台
Stripe Shell
Stripe for Visual Studio Code
功能
工作流程
事件接收端
Stripe 健康警报文件上传
AI 解决方案
代理工具包
模型上下文协议
安全与隐私
安全
Stripebot web crawler
隐私
扩展 Stripe
构建 Stripe 应用程序
使用 Stripe 的应用程序
    概览
    Stripe 自建应用程序
    Adobe Commerce
    Cegid
    Commercetools
    Mirakl
      安装
      配置
      商家入驻
      支付和提现
      参考编号
    NetSuite
    Oracle Opera
    Oracle Simphony
    Oracle Xstore
    PrestaShop
    Salesforce
    SAP
    Shopware 6
    Stripe Tax for BigCommerce
    Stripe Tax for WooCommerce
    合作伙伴应用程序
    构建自己的应用程序
合作伙伴
合作伙伴生态
合作伙伴认证
首页开发人员资源Use apps from StripeMirakl

Install the Mirakl app

Set up the Miraki app for Stripe.

To install and run the Mirakl app, you must meet the following requirements:

  • PHP 7.3+
  • PostgreSQL
  • A web server (Nginx recommended)
  • A valid SSL or TLS certificate
  • Supervisord or an equivalent process manager
  • Crontab or an equivalent task scheduler

Use Docker

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

Use Composer

  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
  5. Properly configure the .env file.

  6. Run the migrations to set up the database. If you encounter any errors at this stage, check the DATABASE_URL variable in your .env file.

    Command Line
    bin/console doctrine:migration:migrate --no-interaction
  7. 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
  8. 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
  9. Make sure that your web server is configured to use the public directory as document root.

Test 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.

Restrict inbound traffic

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, because they each have an internal protection mechanism. Other endpoints aren’t safe to expose unless protected by a strong OPERATOR_PASSWORD.

此页面的内容有帮助吗?
是否
  • 需要帮助?联系支持。
  • 加入我们的早期使用计划。
  • 查看我们的更改日志。
  • 有问题?联系销售。
  • LLM? Read llms.txt.
  • Powered by Markdoc