1
votes

How to set callback URL in Google checkout ?

and How can I get notification from GoogleCheckout after payment ?

2
@fabrik : tried. But not able to get what should I do?Gaurav

2 Answers

1
votes

From Google Checkout Support:

The API callback URL you specify tells Google Checkout where to send notifications about new orders, order state changes, and other events. If you integrate your order processing system, you must specify a callback URL.

To add or edit your API callback URL:

  1. Sign in to Google Checkout.
  2. Click the Settings tab. Click Integration.
  3. Enter your callback URL in the 'API callback URL' box.
  4. Click Save.
1
votes

Here is how to specify the callback URL on your server:

http://checkout.google.com/support/sell/bin/answer.py?answer=134463

After that you can receive various notifications from Google Checkout about the status of your order:

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

Here is a link to a PHP Google Checkout library that demonstrates how to process order notifications on your server:

http://code.google.com/p/google-checkout-php-sample-code/