patreek / marketbilling

Automatically exported from code.google.com/p/marketbilling
0 stars 0 forks source link

In-app billing broken when using carrier payment for the first time #30

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
STEPS TO REPRODUCE:
1. Use a carrier-billing-enabled device where you've never actually paid for 
any market purchase using carrier billing (I hit this with T-Mobile, FWIW)
2. Run an app with in-app billing, and try to purchase an in-app product
3. Choose carrier billing and hit OK

EXPECTED OUTPUT:
Payment is successful, and the app received the valid intents to proceed

ACTUAL OUTPUT:
User UX seems to suggest that payment went through, but it didn't really and 
the app received no broadcast intents (success nor failure). See notes for more.

AFFECTED ORDER IDS (IF RELEVANT):

OS VERSION:
2.3.4

MARKET/MYAPPS VERSION:
2.3.6

DEVICE:
Nexus One

OUTPUT FROM ADB BUGREPORT ATTACHED:
This happened on a non-development, user device.

NOTES:
I believe what's happening is that Android Market is unable to handle the user 
accepting the carrier ToS when using carrier billing for the first time. What 
happens is that Market directs you to accept carrier ToS. When you do, it 
brings you back to the Market purchase page. You re-select Carrier in the 
payment options and it brings up the "Authorizing..." dialog. That dialog 
disappears after a while and nothing really happens. User isn't charged, but to 
users it looks like a payment happened (didn't really). The app doesn't receive 
any intent broadcasts either.

Original issue reported on code.google.com by virajm...@gmail.com on 18 Jun 2011 at 12:05

GoogleCodeExporter commented 8 years ago
Btw, this worked correctly when tried again on the same device just a few 
minutes later, which is why I believe the carrier ToS was the root cause.

Original comment by virajm...@gmail.com on 18 Jun 2011 at 12:10