Skip to main content
Question

Getting error Apple In-App Purchase Key is invalid or not present

  • November 4, 2024
  • 4 replies
  • 148 views

Forum|alt.badge.img

I’m moving RevenueCat 4.x to 5.x and I’ve created my account and integrated my existing app to it.

Even though on the dashboard, the `In-App Purchase Configuration` section prompts that I have valid permission, I still can’t purchase when testing it on sandbox environment and receive this error “Apple In-App Purchase Key is invalid or not present”


Could someone tell me what’s wrong here?

This post has been closed for comments

4 replies

Forum|alt.badge.img+3
  • RevenueCat Staff
  • 44 replies
  • November 4, 2024

Hi @anhlq-supp that is strange and unexpected. Would you mind first checking that you’re using the correct RevenueCat’s Public API key? You can find this on the same page where you uploaded your key under the section Public API key. 


Forum|alt.badge.img
  • Author
  • New Member
  • 2 replies
  • November 4, 2024

@Greenie Cheng you’re right I’m using the wrong Public API Key. Even though, when I change my old key in the project to the new key in the section, it returns this error.

There is an issue with your configuration. Check the underlying error for more details. There are no products registered in the RevenueCat dashboard for your offerings. If you don\'t want to use the offerings system, you can safely ignore this message. To configure offerings and their products, follow the instructions in https://rev.cat/how-to-configure-offerings.\nMore information: https://rev.cat/why-are-offerings-empty

 

My project already has a valid Public API Key, how can I reuse it? Or how can I update to the new one?


Forum|alt.badge.img
  • Author
  • New Member
  • 2 replies
  • November 5, 2024

Update:
I’ve successfully configured everything following this guide .The problem is my app was linked with another account previously and I lost it.


Forum|alt.badge.img+3
  • RevenueCat Staff
  • 44 replies
  • November 5, 2024

Great to hear! Let us know if there’s any other issue! @anhlq-supp 

 


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