开发者

Synchronized Google checkout AJAX

开发者 https://www.devze.com 2023-04-12 23:53 出处:网络
Is there a way to make it so when the order is processed I get a ajax request back to my site and don\'t have to refresh the page?I know they have a call back url or a request u开发者_如何学运维rl.But

Is there a way to make it so when the order is processed I get a ajax request back to my site and don't have to refresh the page? I know they have a call back url or a request u开发者_如何学运维rl. But I'm trying to make a module registration plug-in in which I can have the user go away from the module and pay and then get sent back to the module with the response they paid. Is this possible?


You can get a callback to your server after the order is processed using the Notification API:

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

Regarding the redirect you want to implement, please keep in mind that an online purchase is not synchronous. There are security and credit checks that take place after the order is placed, and the order is accepted only after those checks pass.

0

精彩评论

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