多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
![](https://img.kancloud.cn/bb/64/bb6426de2ccfe20b04db9136e0084184_832x445.png) 1. Configure payment method options for Magento to load payment methods. 2. The payment information form rendering in admin order creation. 3. The client initializes the Braintree hosted fields. These fields collect and tokenize payment information via a secure iframe. 4. The Braintree SDK submits the payment information to Braintree client-side and returns a payment token (nonce) to the client when clicking ‘Submit Order’ button. 5. The client submits the order information with the payment token to Magento. 6. Magento sends an authorization request. 7. Braintree sends the response to Magento. 8. Magento creates an order or throws a payment error based on the response result.