定制 aligent/braintree-orocommerce 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

aligent/braintree-orocommerce

Composer 安装命令:

composer require aligent/braintree-orocommerce

包简介

A Braintree Payments module for OroCommerce.

README 文档

README

Info

  • composer name: aligent/braintree-orocommerce

Description

This bundle allows you to use the Braintree Drop In UI with OroCommerce.

Installation Instructions

  1. Install this module via Composer

     composer require aligent/braintree-orocommerce
    
  2. Clear cache

     php bin/console cache:clear --env=prod
    
  3. Run Migrations

     php bin/console oro:migration:load --force --env=prod
    
  4. Install Assets

     php bin/console assets:install --env=prod
    
  5. Build Assets

     php bin/console oro:assets:build --env=prod
    

Set up Instructions

Go to the "System -> Integrations -> Manage integrations" and click "Create Integration". Select "Braintree" as the integration type and fill all required fields.

To Enable select the Enabled checkbox in the PayPal section and add values for all fields. Note: Your Braintree account must be setup to accept PayPal payments see here: https://articles.braintreepayments.com/guides/payment-methods/paypal/setup-guide for more details.

Braintree Integration Form

Once complete you must now create an appropriate 'Payment Rule' see: https://doc.oroinc.com/user/back-office/system/payment-rules/#sys-payment-rules for more details.

Supported Payment Methods

Current:

  • PayPal
  • Credit Card

Coming Soon:

  • Google Pay
  • Apple Pay
  • PayPal Credit
  • Venmo

Supported Payment Actions

Currently, this bundle only supports the 'Purchase' action, 'Validate' and 'Capture' are coming soon.

Extension Points

Events

BraintreePaymentActionEvent (aligent_braintree.payment_action.{action}):

This event is fired when a payment action executes but before the payload is sent to the payment gateway. It is used internally to build up the payment payload and can be extended with other listeners to add data to be sent to the payment gateway.

Currently supported events:

  • aligent_braintree.payment_action.purchase

Actions

Custom payment actions can be added by implementing the BraintreeActionInterface and then tagging the service with:

{ name: braintree.action, action: action_name }

Support

If you have any issues with this bundle, please feel free to open GitHub issue with version and steps to reproduce.

Contribution

Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.

Developer

Adam Hall adam.hall@aligent.com.au.

License

MIT

Copyright

(C) 2020 Aligent Consulting

统计信息

  • 总下载量: 1.55k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 7
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 19
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-03-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固