fecmall braintree支付方式发布

官方插件 · Fecmall · 于 4年前 发布 · 1523 次阅读

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 工作原理

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生成一个订单交易。

共收到 0 条回复
没有找到数据。
添加回复 (需要登录)
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
Your Site Analytics