Sandbox problem (no postback at all)

150 views
Skip to first unread message

四条貴音

unread,
Mar 24, 2012, 7:51:50 AM3/24/12
to In-App Payments
Hello,

As many others have asked, I'm having a problem that sandbox doesn't
work as described.

My problem is simple, it is that sandbox does not send anything to the
postback URL (no HTTP access at all), therefore my server cannot
respond to sandbox, and the transaction is canceled.

I verified that the postback URL is correct and my HTTP server is
working and the generated JWT is correct and so on. When I switch to
the production setting, everything works fine.

It seems that sandbox problems like this are common but Google never
fix it. I don't wanna use my real credit card to test my program.
Please help. Thank you.

Shrek

unread,
May 10, 2012, 4:22:25 PM5/10/12
to in-app-...@googlegroups.com
Dear Google

I'm also facing this exact problem. Sandbox is not calling back my Postback URL. How can I debug this further? 

Following is the copy-paste from my one other post:

for some reason i'm unable to get In-App Payments to callback my Postback URL.
I'm using app-engine. No login required url. URL looks like this: http://app-id.appspot.com/payment/gateway
I'm able to hit the above url via browser and appengine logs is showing all the debug message that i've implemented in servlet.
however when click the buy button, Google server is never calling back my Postback.

in the In-App Payments merchant center: i see my orders in "cancelled" status with following details
"Google cancelled this order. Reason: Other (describe below)."

Any help

Mihai Ionescu

unread,
May 10, 2012, 4:41:07 PM5/10/12
to in-app-...@googlegroups.com
Hi  Shrek ,

You have to enable public access to your appengine callback url. 
app-id.appspot.com is only accessible to you right now, thus Google gets a 404 error when calling you back.

Thanks,
Mihai

Shrek

unread,
May 10, 2012, 7:11:05 PM5/10/12
to in-app-...@googlegroups.com

Mihai (Google) worked directly with me to debug this issue.  In the end.. I had to create a brand new buyer account (gmail+wallet account) and then everything worked without any changes in my code or settings.

Although this is not a solution, I'm posting it here in the hope that it might unblock someone like me.
Always use fake credit card numbers in sandbox (listed here https://developers.google.com/in-app-payments/docs/testing ). They work.

After my end-to-end testing I found these short falls that prevents me to use this service.
  1. In notification emails from wallet to buyers we show Order Id (something like  07743248137569471886.C.1146276497159633 ). Whereas in Merchant center OrderNumber is shown (somthing like 442682939023030084). Order Id and Order Number co-relation cannot be found anywhere.. Pick one number and show it everywhere consistently, including in the Postback URL response. Sorry I cannot use this service until this issue is fixed. Without "A" order number I will not be able to track my orders.
  2. Why is there no email notification to the seller? Seller would also like to be notified when a transaction occurs. Have I missed any preference setting in the merchant center?
  3. Is there some kind of caching between Google Wallet and Sandbox? It has been an hour since I removed few credit cards in Google Wallet, but they are still showing up in Sandbox  In-App popup. I hope this will not occur in production.
  4. In-App popup just shows top 4 credit cards from my Google wallet setup. I really really wanted to use 5th and 6th credit cards. I hope my real customers don't run into this problem.
  5. Lastly, why didnt my original buyer account work? It is a genuine gmail account with the same fake (VISA). what if some of my customers are not able to use the service, and some are. It will be a very confusing situation. It should either work for everyone or not work for anyone - is less confusing situation. ;)
Thank you Google for a good product. Please fix these few minor issues.
Thank you Mihai for your wonderful email support.


Reply all
Reply to author
Forward
0 new messages