Skip to main content
Solved

Stuck at "This product is already active for the user."

  • 17 November 2021
  • 3 replies
  • 829 views

Forum|alt.badge.img+1

Hi there, I am facing issue after making purchase with Play Store. After click on buy button, Play Store gives error “This product is already active for the user.” when i am already subscribed and after that i am refreshing purchaserInfo with await getPurchaserInfo() and getting empty entitlement and all data. Not getting data that i am already subscribed. Purchase history is also getting empty.

Please help me.

Thank you in advance.

Best answer by ryan

Ah I see! If you’re getting a Play Store credentials is invalid error you’ll need to resolve that first in order for purchases to be registered in RevenueCat. 

More info on this error here: https://docs.revenuecat.com/docs/errors#---invalid_credentials

Our guide on configuring play store credentials walks through the setup: https://docs.revenuecat.com/docs/creating-play-service-credentials

You can search though the community and see how some other developers have resolved this as well which could help: https://community.revenuecat.com/search?q=invalid%20credentials

View original
Did this post help you find an answer to your question?

3 replies

ryan
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 391 replies
  • November 18, 2021

Hey @Meetmighty!

Sounds like that customer may need to restore purchases to gain access. Does the RevenueCat purchase method return any error? The “This product is already active for the user.” is a message from Google, not RevenueCat. If you’re able to trigger the .restoreTransactions() method in the RevenueCat SDK is should re-sync their purchase history with RevenueCat. 

If the Restore Behavior you have configured is set to “Block restores”, then you would need to make sure you’re setting the same App User ID in the SDK that originally purchased the subscription.


Forum|alt.badge.img+1
  • Author
  • New Member
  • 1 reply
  • November 18, 2021

Hello, Thanks for the reply.

We already tried calling await restoreTransactions() and getting error in that also. “The error is Play Store credential is invalid”.

We are able to making a subscription and also showing in the Play Store subsriptions but not getting data in await getPurchaserInfo().


ryan
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 391 replies
  • Answer
  • November 19, 2021

Ah I see! If you’re getting a Play Store credentials is invalid error you’ll need to resolve that first in order for purchases to be registered in RevenueCat. 

More info on this error here: https://docs.revenuecat.com/docs/errors#---invalid_credentials

Our guide on configuring play store credentials walks through the setup: https://docs.revenuecat.com/docs/creating-play-service-credentials

You can search though the community and see how some other developers have resolved this as well which could help: https://community.revenuecat.com/search?q=invalid%20credentials


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