Skip to main content
Question

PurchaseInvalidError - Android


Forum|alt.badge.img+1

Hello,

I am testing in app subscriptions in my app. Actually it’s been working really fine till today. I cancel and restart muy subscription many times to test the features. Today when i try to subscribe to app i have this message below;

PurchasesError(code=PurchaseInvalidError, underlyingErrorMessage=Error updating purchases. DebugMessage: Expired Product details. Please fetch product details again and use it to retry the call.. ErrorCode: DEVELOPER_ERROR., message='One or more of the arguments provided are invalid.')

 

I am fetching product informations correctly (like price ...etc). What should i do?

6 replies

Michael Fogel
Forum|alt.badge.img+6
  • Dedicated Contributor
  • 382 replies
  • April 21, 2023

Hey @ugursnr ,

 

The error that you are seeing usually indicates one of the provided arguments for the purchase was invalid, including the payment method.

The problems that will trigger this on Android:

To resolve this, we recommend that you ensure the device payment method is valid and all arguments passed in are correct.


Forum|alt.badge.img+3
  • New Member
  • 1 reply
  • December 15, 2023

I'm getting the same problem but I'm on sandbox, so what should I do?


Forum|alt.badge.img
  • Member
  • 5 replies
  • January 6, 2025
bkr-b1c91c wrote:

I'm getting the same problem but I'm on sandbox, so what should I do?

Same issue. have you found the solution ?


Forum|alt.badge.img+8
  • RevenueCat Staff
  • 430 replies
  • January 6, 2025

Hi ​@alvish0407, I found a similar case where a developer had added their test user to the closed test track in Google Play Console, but hadn't added them as a license tester. Could that be the case here as well? I recommend making sure everything in your configuration and your testing setup is correct by double-checking our guide here: www.revenuecat.com/docs/test-and-launch/sandbox/google-play-store#create-a-test-user-and-configure-licensing-testing 


Forum|alt.badge.img
  • Member
  • 5 replies
  • January 7, 2025

Hello ​@Haley Pace,

Thank you for your response. I have verified that the email address has consistently been present in the license tester. I have been using this email address for the past two months.

I suspect that the issue may be related to the “Multiple users” feature on my Moto phone. I had been experimenting with this feature to create new users, but I eventually disabled it, leaving only one user active. However, after disabling the feature, I was able to confirm that I am still logged in using the same email address on my device account as before, both on my phone and on the Google Play Store.


Forum|alt.badge.img
  • Member
  • 5 replies
  • January 8, 2025
alvish0407 wrote:

Hello ​@Haley Pace,

Thank you for your response. I have verified that the email address has consistently been present in the license tester. I have been using this email address for the past two months.

I suspect that the issue may be related to the “Multiple users” feature on my Moto phone. I had been experimenting with this feature to create new users, but I eventually disabled it, leaving only one user active. However, after disabling the feature, I was able to confirm that I am still logged in using the same email address on my device account as before, both on my phone and on the Google Play Store.

Logging out of the Play Store and then re-logging in resolved the issue.


Reply


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