How to set callback URL in Google checkout?
How to set callback URL in Google checkout ?开发者_Go百科
and How can I get notification from GoogleCheckout after payment ?
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:
- Sign in to Google Checkout.
- Click the Settings tab. Click Integration.
- Enter your callback URL in the 'API callback URL' box.
- Click Save.
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/
精彩评论