Skip to main content

When I try to sync purchases on one of my devices, I get the following error:

Error syncing purchases StoreTransaction(orderId=null, productIds=[plus_upgrade], type=INAPP, purchaseTime=1641997886514, purchaseToken=<redacted>, purchaseState=UNSPECIFIED_STATE, isAutoRenewing=null, signature=<redacted>, originalJson={"productId":"plus_upgrade","purchaseToken":"<redacted>","purchaseTime":1641997886514,"quantity":1,"developerPayload":null}, presentedOfferingIdentifier=null, storeUserID=null, purchaseType=GOOGLE_RESTORED_PURCHASE, marketplace=null, subscriptionOptionId=null, replacementMode=null). Error: PurchasesError(code=UnknownBackendError, underlyingErrorMessage=Backend Code: 7651 - The payment for this non-subscription product is not complete., message='There was an unknown backend error.')

On the Play Console, I see that this in-app purchase has been refunded and it has a proper order ID.

Any idea?

If this refund happened due to an incomplete payment, we may not have detected it: https://www.revenuecat.com/docs/subscription-guidance/refunds#google-play

 

You don’t have to handle this error, but you could try using our refund/revoke Google transaction endpoint to see if that resolves the error?


Here are the details of this order on Google Play, you can see it does have an order ID (whereas the StoreTransaction logged by your SDK doesn’t).

The documentation for your revoke/refund endpoint for in-app purchases says it cannot be sued for purchases made more than 365 days ago: https://www.revenuecat.com/docs/api-v1#tag/transactions/operation/refund-a-google-subscription


Reply