跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • fecmall braintree 支付方式发布(fecmall 开源商城)
未分類
12 2 月 2020

fecmall braintree 支付方式发布(fecmall 开源商城)

fecmall braintree 支付方式发布(fecmall 开源商城)

資深大佬 : terrywater 56

fecmall braintree 介绍

应用市场地址: http://addons.fecmall.com/45263532

详细参看文档地址: http://www.fecmall.com/doc/fecshop-guide/addons/cn-2.0/guide-fecmall-addons-system-braintree-payment.html

站内直接使用信用卡进行支付(不需要跳转到第三方支付网站)

fecmall braintree 支付方式发布(fecmall 开源商城)

fecmall braintree 工作原理

fecmall braintree 支付方式发布(fecmall 开源商城)

Step 1: Your front-end requests a client token from your server and initializes the client SDK.

客户端(譬如浏览器等客户端)请求服务端,发送一个获取client toke的请求,并且初始化客户端 sdk

Step 2: Your server generates and sends a client token back to your client using the server SDK.

服务端通过 sdk 生成client toke,发给客户端,

Step 3: The customer submits payment information, the client SDK communicates that information to Braintree and returns a payment method nonce.

客户端提交支付信息,客户端 SDK 将该信息传达给 Braintree,Braintree 接收请求后,将 支付方式随机数发送给客户端。

Step 4: Your front-end sends the payment method nonce to your server.

客户端将第 3 步返回的 支付方式随机数 发送给服务端

Step 5: Your server code receives the payment method nonce and then uses the server SDK to create a transaction

服务端接收客户端发送的 支付方式随机数,然后通过服务端 sdk 生成一个订单交易。

大佬有話說 (2)

  • 主 資深大佬 : terrywater

    fecmall 开源商城官网: http://www.fecmall.com/

  • 主 資深大佬 : terrywater

    fecmall github 地址: https://github.com/fecshop/yii2_fecshop

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具