thelia / bridge-payment-module
Thelia 的 BridgePayment 模块
2.0.3
2024-05-29 15:03 UTC
Requires
- guzzlehttp/guzzle: ^7.5
- thelia/installer: ~1.1
This package is auto-updated.
Last update: 2024-08-29 15:26:25 UTC
README
此模块允许您通过 Bridge 为客户提供支付系统。
安装
手动安装
- 将模块复制到
<thelia_root>/local/modules/
目录,并确保模块名称为 BridgePayment。 - 在 Thelia 管理面板中激活它
Composer
将其添加到主 Thelia composer.json 文件中
composer require thelia/bridge-payment-module:~1.0
使用方法
- 在这里创建账户 https://dashboard.bridgeapi.io/signin。
- 创建您的 WebApp,然后复制客户端 ID 和客户端密钥到 BridgePayment Thelia 模块配置
- 在您的 WebApp 中,转到 Webhooks > 添加 webhook。
- 在您的 webhook 配置中,在回调 URL 中输入
https://<your_domain>/bridge/notification
并勾选payment.transaction.created
和payment.transaction.updated
。 - 将您的 webhook 密钥复制到 BridgePayment Thelia 模块配置。
您可以查看 Bridge 文档以获取帮助 https://docs.bridgeapi.io/docs/quickstart