anjlab / android-inapp-billing-v3

A lightweight implementation of Android In-app Billing Version 3
Other
2.19k stars 532 forks source link

General: User paid for same item ID twice, things got weird #338

Open ffolkes opened 6 years ago

ffolkes commented 6 years ago

A user paid successfully for an IAP, then somehow paid again on the same account with a declined source, and now the first (successful) payment is being ignored. I think the problem is that when the 2nd payment (since both were for the same item ID) failed, it somehow "overwrote" the old, successful one. Or maybe both the failed and the successful are being stored in an array at some point and only the most recent (aka failed) one is being returned.

autonomousapps commented 6 years ago

Do you think this is a problem with this library in particular, or in-app billing in general?

Code samples and a test case would be very useful.