Shopify支付网关退款接入
官方文档
- Hosted Payment SDK: https://shopify.dev/docs/hosted-payment-sdk/getting-started
- 参考:https://shopify.dev/tutorials/add-order-management-to-hosted-payment-gateway
//
- order-status: https://help.shopify.com/en/manual/orders/order-status
- 订单状态: https://help.shopify.com/zh-CN/manual/orders/order-status
//
- Canceling, archiving and deleting orders: https://help.shopify.com/en/manual/orders/cancel-delete-order
- 取消、存档和删除订单: https://help.shopify.com/zh-CN/manual/orders/cancel-delete-order
如果已收取订单的付款,取消订单时便会发放全额退款。无法对取消的订单发放部分退款。
- Creating returns and refunds: https://help.shopify.com/en/manual/orders/refund-cancel-order
- 创建退货和退款: https://help.shopify.com/zh-CN/manual/orders/refund-cancel-order
支付网关插件配置
Partners -> Gateways -> Edit gateway settings
- Sandbox redirect URL: https://api.appblog.cn/shopify/payment
This site can be used to make test transactions.
- Sandbox capture URL: https://api.appblog.cn/shopify/capture
This endpoint will be used to capture test order transactions
- Sandbox void URL: https://api.appblog.cn/shopify/void
This endpoint will be used to void test order transactions
- Sandbox refund URL: https://api.appblog.cn/shopify/refund
This endpoint will be used to refund test order transactions
常用术语对照:
- Order status: 订单状态
- Payment status: 付款状态
- Fulfillment status: 发货状态
//
- Open: 未结
- Archived: 隐藏
- Canceled: 已取消
//
- Authorized: 已授权
- Paid: 已付款
- Partially refunded: 部分退款
- Partially paid: 部分付款
- Pending: 待处理
- Refunded: 已退款
- Unpaid: 未付款
- Voided: 已作废
//
- Fulfilled: 已发货
- Unfulfilled: 未发货
- Partially fulfilled: 完成部分发货
- Scheduled: 已安排
取消订单及退款操作
取消订单:点击查看订单详情 -> More actions -> Cancel order
退款按钮:默认不支持
版权声明:
作者:Joe.Ye
链接:https://www.appblog.cn/index.php/2023/04/02/shopify-payment-gateway-refund-access/
来源:APP全栈技术分享
文章版权归作者所有,未经允许请勿转载。
共有 0 条评论