Question

On my website I'm using Java Tomcat, and I have an application war containing webpages for my product and code for buying the product integrated with Google Wallet.

I have now added a new product with its associated webpages deployed in another war file. So I have one war file per product, but now when trying to add code for buying product 2 I realize that I need to setup Google notification callback to point to this war in my google preferences, but I cannot because it is already pointing to war 1.

So is there any way to setup two google notiifcation callbacks, or do I need to reorganize my code so that I either merge the two war files into one , or probably better create a third war containing all purchasing code used by both products.

Was it helpful?

Solution

You can't - as you already know, callback api urls are set in your account, and you're only provided one.

Aside from (or instead of) creating yet another (aka "third"), perhaps tagging your orders by using merchant-private-data and/or merchant-private-item-data could be viable.

This way you can "segment" the orders (or items) appropriately when receiving new-order-notification.

Hth....

OTHER TIPS

Do you have a site per product? You could also create multiple Checkout accounts, one for each product.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top