[Closed] ProcessPurchase callback is not being called.

Step1. Press buy button on googlePlay message box
Step2. Disconnect internet connection before payment is done.
Step3. There are Internet disconnect message box instead of payment complete.
Step4. Restart app and try to buy same product and get a response like ‘Purchase canceled - Response: 7:Item Already Owned’. But ProcessPurchase callback is not being called automatically.

I think PlayStore has a receipt but client doesn’t have any info to call ProcessPurchase.

How can i solve this problem.
In Short, The situation like There are receipt in playStore but ProcessPurchase is not being called.

p.s) and i got a ’
‘No consumable with order GPA.3317…’
message when i try to finish transaction forcefully by using
storeController.products.all.

storeController.products.all.Each(x =>
{
if (x.definition.id == mProduct.definition.id)
{
storeController.ConfirmPendingPurchase(mProduct);
}
});

mProduct is what i trying to buy
and there are one product matched to it (the product store has a receipt).
storeController.ConfirmPendingPurchase(mProduct) is called
but i got a ’
‘No consumable with order GPA.3317…’

@theolovesyou

Try clearing the cache on the Google Play app. That should clear out the stuck transaction.

If that does not resolve the issue, would you provide some more details:

  • Which version of the Unity Editor are you using?
  • Which version of Unity IAP are you using?