ayminovitch/sylius-trustpaytest-plugin

添加Trustpay网关支付的插件

This package is auto-updated.

Last update: 2024-09-30 19:17:42 UTC


README

Sylius上的卡片支付网关插件

Trustpay插件

Sylius插件,用于集成Trustpay卡表单支付。

快速安装

  • 使用composer安装

    composer require ayminovitch/sylius-trustpay-plugin "dev-main"

  • 创建template

    您应该将src/Resources/view目录下的所有目录或文件复制并粘贴到您的应用templates目录中。

使用方法

此插件通过Trustpay网关添加一个新的CardPayment支付方式。表单嵌入您的商店,无需重定向。

测试:使用您的插件打开Sylius

  • 使用test环境

    (cd tests/Application && APP_ENV=test bin/console sylius:fixtures:load)
    (cd tests/Application && APP_ENV=test bin/console server:run -d public)
  • 使用dev环境

    (cd tests/Application && APP_ENV=dev bin/console sylius:fixtures:load)
    (cd tests/Application && APP_ENV=dev bin/console server:run -d public)