google checkout,How to find payment completed in API callback

纵饮孤独 提交于 2019-12-13 04:20:46

问题


Now i am working with Google checkout payment.I want to find the payment completion using API callback url,And i need to send an email to the payer,When he complete the payment.Can anyone help me with some example codes.


回答1:


Use the Notification API to get transaction information back from Google Checkout.

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

When you get back the notification, you can read your custom ID from the merchant-private-data field.

Source get value return in google checkout

Thanks




回答2:


For code examples on using the Google Checkout APIs please have a look at the "Client Libraries & Sample Code" section in the Checkout developer documentation:

https://developers.google.com/checkout/samplecode



来源:https://stackoverflow.com/questions/10595830/google-checkout-how-to-find-payment-completed-in-api-callback

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!