Skip to main content
Question

Error syncing incomplete purchase

  • September 23, 2024
  • 2 replies
  • 83 views

Forum|alt.badge.img+6

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?

This post has been closed for comments

2 replies

Ryan Glanz
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 384 replies
  • September 25, 2024

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?


  • New Member
  • 3 replies
  • September 25, 2024

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings