Skip to main content
Solved

Expo RevenueCat using TestFlight - The receipt is not valid


Forum|alt.badge.img+1

I have integrated into our React Native Expo app RevenueCat, following all the guides step by step.

I publish the app to TestFlight today and I can see the purchase popup and product information correctly. 

After purchasing the product I see a message saying: “You’re all set, your purchase was successfull.”

And just after that message we are doing an alert with the value of “productIdentifier” property.

const {customerInfo, productIdentifier} = await Purchases.purchasePackage(expertAdvicePackage);
    Alert.alert(JSON.stringify(productIdentifier));

The alert shows this:

 

We already checked bundle id and app shared secret and everything matches exactly as in the AppStore. 

This is killing me because I can’t pass this point and need to move this into production asap.

 

Appreciate any help or advice.

 

Kind regards,

 

Best answer by Miguel Carranza

Hi Alejandro,

 

This is weird, I can only think two scenarios for this happening:

  • wrong API key in the app (unlikely if you are able to fetch offerings)
  • wrong shared secret in the dashboard (most likely scenario)

I would triple check the shared secret, and if it’s correct, it might be worth to create a support ticket providing more details about your app.

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

9 replies

Miguel Carranza
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 84 replies
  • Answer
  • October 21, 2022

Hi Alejandro,

 

This is weird, I can only think two scenarios for this happening:

  • wrong API key in the app (unlikely if you are able to fetch offerings)
  • wrong shared secret in the dashboard (most likely scenario)

I would triple check the shared secret, and if it’s correct, it might be worth to create a support ticket providing more details about your app.


Forum|alt.badge.img+4
  • Member
  • 7 replies
  • October 29, 2022

Same problem here.

Did you found the problem?


Forum|alt.badge.img+3
  • Member
  • 7 replies
  • February 7, 2023

Did you found the problem?


Forum|alt.badge.img+4
  • Member
  • 7 replies
  • February 7, 2023

This is funny you are asking that today.

It was working until today, and I am getting same error. It makes me crazy...


Forum|alt.badge.img+3
  • Member
  • 7 replies
  • February 7, 2023
ThierryB wrote:

This is funny you are asking that today.

It was working until today, and I am getting same error. It makes me crazy...

It's frustrating. Everything was functioning correctly and upon further inspection, I found nothing wrong on my end. Can we please find a solution?


Forum|alt.badge.img+4
  • Member
  • 7 replies
  • February 7, 2023

I am creating a new project, starting from Scratch. Same thing…

Let me know if you find something


Forum|alt.badge.img+2
ThierryB wrote:

I am creating a new project, starting from Scratch. Same thing…

Let me know if you find something

Same problem since today !! it’s crazy everything was working great yesterday


Forum|alt.badge.img+3
  • Member
  • 7 replies
  • February 7, 2023

☹️☹️☹️☹️☹️


Forum|alt.badge.img+4
  • Member
  • 7 replies
  • February 8, 2023

The problem is from Apple.

App Store - Receipt Verification - Outage

https://developer.apple.com/system-status/


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