google checkout,How to find payment completed in API callback

542 Views Asked by At

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.

2

There are 2 best solutions below

0
On

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

0
On

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