adingbox / marketbilling

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

RESTORE_TRANSACTIONS does not work when user is in country that does not support in-app purchases #52

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This is not so much a bug, more an enhancement request. But its inconsistency 
with LVL should be addressed...

STEPS TO REPRODUCE:
1. Insert Chinese SIM card (on bootup, re-enter credentials and accept EULA)
2. Run Dungeons sample program
3. Make RESTORE_TRANSACTIONS request

DESIRED OUTPUT: Returns the existing in-app purchases

ACTUAL OUTPUT: RESULT_BILLING_UNAVAILABLE

MARKET/MYAPPS VERSION: 3.3.11

NOTES:

When a user makes a successful in-app purchase, they should not be later 
blocked from that purchase should they happen to be on holiday in a non-paid 
app country (e.g. using Chinese sim card in China). LVL handles this in the 
desired way (you can validate your license with a Chinese sim card) but in-app 
billing does not.

This is a clear inconsistency between the too licensing systems.

Suggestion:

Add CHECK_RESTORE_TRANSACTIONS_SUPPORTED which would return positively whenever 
there is no technical barrier to fetching the billing information (i.e. 
ignoring sim card country).

Modify RESTORE_TRANSACTIONS so that it returns billing information whenever 
technically possible (i.e. ignoring sim card country)

Original issue reported on code.google.com by mjc1...@gmail.com on 6 Nov 2011 at 3:34