Skip to main content
Solved

Expo RevenueCat using TestFlight - The receipt is not valid

  • Oct 21, 2022 3:18 AM UTC
  • 9 replies
  • 760 views

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
This post has been closed for comments

9 replies

Miguel Carranza
RevenueCat Staff
Forum|alt.badge.img+6

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
  • Oct 29, 2022 6:47 PM UTC

Same problem here.

Did you found the problem?


Forum|alt.badge.img+3
  • Member
  • Feb 7, 2023 7:18 PM UTC

Did you found the problem?


Forum|alt.badge.img+4
  • Member
  • Feb 7, 2023 7:29 PM UTC

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
  • Feb 7, 2023 7:43 PM UTC

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
  • Feb 7, 2023 7:51 PM UTC

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

Let me know if you find something


Forum|alt.badge.img+2

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
  • Feb 7, 2023 8:08 PM UTC

☹️☹️☹️☹️☹️


Forum|alt.badge.img+4
  • Member
  • Feb 8, 2023 1:05 AM UTC

The problem is from Apple.

App Store - Receipt Verification - Outage

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