Solved

Testing price localization?

  • 23 January 2022
  • 1 reply
  • 768 views

Badge +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?

icon

Best answer by tina 24 January 2022, 19:31

View original

1 reply

Userlevel 5
Badge +10

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