开发者

Return/Cancel Order - Shopping Cart

开发者 https://www.devze.com 2023-04-08 23:44 出处:网络
I have implemented the Custom Shopping Cart in my site. My site allowed paying the amount in three different checkouts.
  1. I have implemented the Custom Shopping Cart in my site. My site allowed paying the amount in three different checkouts.

    a. Google

    b. PayPal

    c. Authorize.Net

  2. Once customers place an order they can view their order details and status from Order Management page. I have defined two processes

    a. If payment is success - Customer can Return the Order.

    b. if payment is declined/pending - Customer can Cancel the Order.

My questions

How can i process the "Cancel Order" if buyer requested. Can i programmatically handle this process and stop the payment process in payment gateway (Google, Paypal and so)

Return Order

  1. a. Can i programmatically handle this process and return the payment to buyer account from payment gateway (Google, PayPal and so).

    b. Buyer can request a return to Merchant. Merchant will process and return the order manually (Alrea开发者_StackOverflow社区dy implemented)

Thanks, Velu


If I understand the questions correctly you are looking for an API to programatically cancel and refund orders.

Please have a look at the Checkout Notification and Order Processing APIs. You can use those APIs to receive order information and update order fulfillment status (e.g charge, ship, refund, cancel). You'll need to implement a service that can communicate with Google's servers.

More information in this doc:

http://code.google.com/apis/checkout/developer/Google_Checkout_XML_API_Processing.html

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号