duccong / marketbilling

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

Purchase state change notification never stops #47

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
STEPS TO REPRODUCE:
1. Simply buy an Unmanaged product from Market Billing Activity and complete 
purchase as normal

DESCRIPTION: I am verifying the purchase by using a web server and doing the 
verification there. The problem is that the purchase state change notifications 
never stops, no matter the result of the transaction. That is, I receive 
purchase state change notifications every minute and my history log is 
inserting same data multiple times in database. However nonceId is different in 
all cases. Currently this system is live and we have added a check for 
Notification Id to prevent duplicate inserts. 

Data from Android Market if this helps
Notification Id: 5208408212518637552
NonceId: -6490045795011800000
.....

Notification Id: 5208408212518637552
NonceId: 1559277072484564427
.....

Application purchase was successful. I would also like to add that application 
is deployed for all countries (primary USA) and purchase was made in India. Not 
sure if that is triggering multiple notification. Purchases made in USA works 
fine. 

EXPECTED OUTPUT: Purchase is completed successfully. Application unlocks with 
single purchase notification

ACTUAL OUTPUT:

AFFECTED ORDER IDS (IF RELEVANT):

OS VERSION:

MARKET/MYAPPS VERSION:

DEVICE:

OUTPUT FROM ADB BUGREPORT ATTACHED:
(Note: The output from "adb bugreport" is required for all bug reports.)

NOTES:

Original issue reported on code.google.com by simaq...@gmail.com on 22 Sep 2011 at 4:56