How to handle call back url in the google checkout for multiple websites?

泪湿孤枕 提交于 2019-12-12 05:03:49

问题


I have been working on google checkout integration in classic ASP, my client have various eCommerce websites and want to use single merchant account (Google Checkout) for all websites. I have set up the callback url in merchant account, but I need to identify from which website's order has been placed, to save information in the database.

Can I specify a callback url from the code itself, for each different website using the single merchant account?


回答1:


You can use the merchant-private-data field to pass any custom data about your order (including the website info).

When you get back the notification, read the custom info from the merchant-private-data field and identify from which website it originated.

See this answer for a solution to a similar issue.



来源:https://stackoverflow.com/questions/16143274/how-to-handle-call-back-url-in-the-google-checkout-for-multiple-websites

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!