繁体   English   中英

通过Google Checkout付款成功后更新记录

[英]Update record after payment is made successfully through google checkout

我将Google Checkout HTML API与Rails应用程序中的ruby一起使用。 付款成功后,我想在本地数据库中添加/更新记录。 我在API回调URL上得到通知序列号。
我的问题是如何检查付款是否成功?

Google会为每个订单通知发送序列号通知。 该通知在POST消息正文中包含序列号作为名称/值对。

成功收到序列号通知后,您需要使用Notification History API来请求关联的通知,例如“新订单通知”。

https://developers.google.com/checkout/developer/Google_Checkout_XML_API_Notification_API#requesting_notifications

您可以请求以下其他类型的通知:

https://developers.google.com/checkout/developer/Google_Checkout_XML_API_Notification_API#Types_of_Notifications

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM