Shopify 自定义支付网关实施 [英] Shopify Custom Payment Gateway Implementation
问题描述
我成功地将我的支付网关添加到了管理员,它也在结账页面上显示了我,但是当用户点击下订单"时,我不知道之后 shopify 是如何处理的.我想使用自定义支付网关进行支付.
I successfully added my payment gateway to admin and its also show me on checkout page but when user click on "place order" i don't have any idea about how shopify process after that. i want to make payment using custom payment gateway.
在哪里可以为支付网关添加自定义文件?或者我可以在哪里添加自定义支付网关的代码.
我需要做的是..
- 当用户点击下订单"按钮时,获取订单的所有详细信息
- 根据详细信息设置 curl 付款请求
Where i can add my custom file for payment gateway ? Or where i can add code for custom payment gateway.
what i need to do is..
- when user click on "place order" button ,get all the detail of order
- setup curl request for payment based on details
推荐答案
您可能正在寻找 hosted-Shopify 的支付功能.
You are probably looking for hosted-payments feature of Shopify.
这是支付网关可以通过 Shopify checkout 实现支付处理的地方.
This is where payment gateways can implement their payment processing with Shopify checkout.
您必须创建一个公共页面/网站,Shopify 将在点击下订单"按钮后重定向该页面.
You have to create a public page / website where Shopify will redirect after click on "place order" button.
在此页面/网站上,您可以获取所有订单详细信息并使用 curl 请求等实现网关.
There on this page/website you can have all order details and implement the gateway using curl requests etc.
更多信息,您可以在 托管支付 SDK 中找到请参阅请求和响应值的 Api 参考.
More info you can find at Hosted Payment SDK where you can see an Api reference for Request and Response values.
这篇关于Shopify 自定义支付网关实施的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!