aligent / braintree-orocommerce
为OroCommerce设计的Braintree支付模块。
Requires
- php: ~7.4.14 || ~8.0.0
- braintree/braintree_php: 6.4.*
- oro/commerce: 4.2.*
- dev-master
- 5.0.x-dev
- 4.2.x-dev
- 4.2.1
- 4.2.0
- 4.1.x-dev
- 4.1.2
- 4.1.1
- 4.1.0
- 3.1.x-dev
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-feature/send_additional_info
- dev-dependabot/composer/symfony/phpunit-bridge-tw-6.2.7
- dev-dependabot/composer/braintree/braintree_php-6.11.star
- dev-hotfix/Oro_5.0_Compatibility_Fixes
- dev-dependabot/composer/friendsofphp/php-cs-fixer-tw-3.4.0
- dev-hotfix/18-Single-Page-Checkout-Issues
This package is auto-updated.
Last update: 2024-09-17 07:29:05 UTC
README
信息
- composer名称:
aligent/braintree-orocommerce
描述
此扩展允许您在OroCommerce中使用Braintree Drop In UI。
安装说明
-
通过Composer安装此模块
composer require aligent/braintree-orocommerce
-
清除缓存
php bin/console cache:clear --env=prod
-
运行迁移
php bin/console oro:migration:load --force --env=prod
-
安装资产
php bin/console assets:install --env=prod
-
构建资产
php bin/console oro:assets:build --env=prod
设置说明
转到“系统 -> 集成 -> 管理集成”,点击“创建集成”。选择“Braintree”作为集成类型,填写所有必填字段。
要启用,请在PayPal部分中选择“启用”复选框并添加所有字段的值。注意:您的Braintree账户必须设置为接受PayPal支付,请参阅此处获取更多详细信息。
完成设置后,您必须现在创建一个适当的“支付规则”,请参阅此处获取更多详细信息。
支持的支付方式
当前
- PayPal
- 信用卡
即将推出
- Google Pay
- Apple Pay
- PayPal信用
- Venmo
支持的支付动作
目前,此扩展仅支持“购买”动作,“验证”和“捕获”功能即将推出。
扩展点
事件
BraintreePaymentActionEvent (aligent_braintree.payment_action.{action})
此事件在支付动作执行但发送到支付网关之前触发。它用于内部构建支付负载,并可以通过其他监听器扩展以向支付网关发送数据。
目前支持的事件
- aligent_braintree.payment_action.purchase
动作
可以通过实现BraintreeActionInterface并使用以下方式对服务进行标记来添加自定义支付动作:
{ name: braintree.action, action: action_name }
支持
如果您对此扩展有任何问题,请随时在GitHub上打开问题,并提供版本和重现步骤。
贡献
任何贡献都将受到高度赞赏。最佳贡献代码的方式是在GitHub上打开pull request。
开发者
Adam Hall adam.hall@aligent.com.au.
许可
版权
(C) 2020 Aligent Consulting