In Google Checkout, after POSTing a checkout-shopping-cart
request, Google will send a notification containing a serial-number
several times. I can use this serial-number
to charge or query the order. If I miss this notification, is there any other API to query or charge the order?
Is it possible to get googld-order-number
or to query the order without setting API callback URL
? Because I think sometimes it is possible that our server might fail to process the incoming notification from Google.
P.S. PayPal will generate a token
when a payment begin. I can query and charge an order with that corresponding token
.
serial-number
represents a specific (type of) notificationserial-number
represents.You can "replay" notifications sent to you if you store the serial-number
(and then perform a Notification History Request).
serial-number
for this API, you use Order numbers (google-order-number
)serial-number
You can think of serial-number
as "pointers" to some data (that you need to obtain).
Hth.
Update:
If your server fails for any reason, don't/it won't be able to, handshake notification-acknowledgement
, and Google will resend (until you can properly handshake or when the retry attempts expire - I believe it's 14 days).
You can of course do things manually by obtaining order numbers in Seller Order Inbox and use it in your Notification History Request....but for any automation, it'll be via your API callback url....