Skip to main content
Solved

Price different between Apple Connect and RevenueCat when fetching Offerings

  • March 5, 2022
  • 1 reply
  • 400 views

Forum|alt.badge.img+4

Current situation

My app is currently on IOS and Android. The IAP work correctly. Im under Flutter.

I used to purchase by requesting the product identifier (see below):

await Purchases.purchaseProduct(<product identifier>, type: PurchaseType.inapp);

 

Problem with new situation:

Now, I have several offering with multiple packages in RevenueCat.

So, I need to fetch the offering from RevenueCat when the app starts:

Offerings offerings = await Purchases.getOfferings();

 

Look at the Response, there is an error on the price shown by RevenueCat:

 

I end up with a different price sent by RevenueCat for the same product identifier :

 

  • Price on Apple Connect: 2.99 EUR (Tier 3)
  • Price on Smartphone in Production: 2.99 EUR
  • Price on Response from RevenueCat SDK: 3.49 EUR (ERROR)

The issue is only with IOS.

 

I checked Apple Connect, the price is correct (see below) :

 

I checked the purchase on Production smartphone, the price is correct (see below) :

 

The error is only on RevenueCat when I fetch the offering.

 

Is someone know the issue ?

Best answer by cody

Hey @krems!

To clarify, you’re seeing this behavior in sandbox but in production things are working as expected? This is a typical side effect of the sandbox environment - the prices don’t always match what is configured in App Store Connect, and it’s usually seems to happen with non-USD currencies. We grab this price directly from Apple so it’s unfortunately a side effect of their own API.

In general we recommend using the sandbox environment to test the purchase flow, while some of the details like price may not always be accurate. In production, you can expect details like price to be accurate as the environment isn’t as unstable.

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

1 reply

cody
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 497 replies
  • Answer
  • March 11, 2022

Hey @krems!

To clarify, you’re seeing this behavior in sandbox but in production things are working as expected? This is a typical side effect of the sandbox environment - the prices don’t always match what is configured in App Store Connect, and it’s usually seems to happen with non-USD currencies. We grab this price directly from Apple so it’s unfortunately a side effect of their own API.

In general we recommend using the sandbox environment to test the purchase flow, while some of the details like price may not always be accurate. In production, you can expect details like price to be accurate as the environment isn’t as unstable.


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