Skip to main content
Solved

Testing price localization?

  • 23 January 2022
  • 1 reply
  • 1053 views

Forum|alt.badge.img+4

I am based in the U.S. and recently a beta tester in Canada reported that he was seeing U.S. prices for IAP, but during checkout he saw completely different (probably Canadian) prices. For example, the US price was $24.99; during checkout he saw $34.99.

For IAP price strings, we use `Purchases.Package.localizedPriceString`.

Is it possible to test price localization? I tried changing region in Xcode run scheme; had no effect.

I had assumed `localizedPriceString` would just work, but perhaps I need to set the locale myself?

Is this a glitch associated with TestFlight?

Best answer by tina

Hey @Phil Mitchell 

For TestFlight testing, Apple uses the Apple ID in a sandbox environment. They isn’t a way to test price locals in TestFlight since you’ll need to change the App Store region for your Apple ID. The best way to test price localization is in debug mode by creating a new sandbox tester in App Store Connect. For reference:

 

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

1 reply

tina
RevenueCat Staff
Forum|alt.badge.img+10
  • RevenueCat Staff
  • 338 replies
  • Answer
  • January 24, 2022

Hey @Phil Mitchell 

For TestFlight testing, Apple uses the Apple ID in a sandbox environment. They isn’t a way to test price locals in TestFlight since you’ll need to change the App Store region for your Apple ID. The best way to test price localization is in debug mode by creating a new sandbox tester in App Store Connect. For reference:

 


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