0
votes

I'm new to Google Checkout, I went throw the examples but still have some problems. I'm able to create the order throw HTML and XML, but I need to be able to know in my system that the order was paid. I try the notification callback an polling, but I'm not sure how can I link the Google order with my order in the system. I check the response XML but didn't found any way how to post my ID and get it back. There is merchant-private-data, but I'm not getting the value back. Can anyone help me?

3
It may help to include some of your code, in case you're putting your merchant private data in the wrong place.Rowland Shaw

3 Answers

1
votes

When submitting orders using google checkout, keep an order in your system with unique order ID, this id is sent to google as merchant private data. Once google process the orders, it will notify the reposnse throught API call back URL. We can read the data in response handler file and modify the order accordingly.

1
votes

There are a couple of response from Google with various order status. The merchant data will be received only initial responses. There is unique google order number in response, which also used to track order for further reference.

0
votes

When you get back the notification, you should be able to read the merchant-private-data.

See this answer which touches on a similar issue.