I've implemented in-app billing and I'm running into an issue with it. Here is what I see.
- Place an order for an item
- Wait for a little while for the order to go through
- If the purchase is taking a while, the user hits the back button to cancel the purchase
- My app gets notified that the purchase was canceled and it confirms this
- The user and myself both get an email stating that the purchase was canceled
- When the user attempts to purchase the item again, the Market throws an error saying "You already have a pending order for this item."
- The response code is "Service Unavailable"
- Restore transactions yields no transactions
- You can't ever purchase this item with this account
I have found some information about this on the web. http://www.google.com/support/forum/p/Android+Market/thread?tid=375490c831e02ab5&hl=en http://code.google.com/p/marketbilling/issues/detail?id=39
I contacted Google and got an autobot response that they are looking into this.
However, I'm wondering if there is anything I could be doing to cause this.
Oh, and I've also made sure my PendingIntent is good. I have had successful orders.
Update: Here is my stock e-mail to customers that see this. It seems the Android Market has been getting better, as I get fewer and fewer of these now anyhow.
Hello,
This "pending order" error is unfortunately a bug in the Android Market that I cannot control.
To help them raise the priority of this issue, please contact Google at the following web form. http://www.google.com/support/androidmarket/bin/request.py?contact_type=market_phone_tablet
You can tell them to reference bug 5126349, which is their internal tracking number for this.
question from:https://stackoverflow.com/questions/7422676/android-in-app-billing-failure-saying-you-already-have-a-pending-order-for-thi