Skip to main content
Question

Variables work in editor, but empty in development build

  • January 13, 2026
  • 3 replies
  • 16 views

Forum|alt.badge.img

Using variables such as {{ product.relative_discount }} or {{ product.price_per_period }} seems to work in the paywall editor, however it does not work in development builds. I have attached two screenshots, one of the editor and one of my running dev build. As you can see, the percentage is missing from the dev build, as well as the price period. What am I doing wrong?

 

 

3 replies

Forum|alt.badge.img+8
  • RevenueCat Staff
  • January 15, 2026

Hi ​@vincentw, I ran your paywall locally with my own project and am able to get all the variables so it seems like this is an issue with your products or SDK version. Can you try upgrading to our most recent SDK 5.54.1 here to see if this helps? If it doesn’t then can you make sure your products look good in App Store Connect, that your prices and localizations are all correctly configured?


Forum|alt.badge.img
  • Author
  • New Member
  • January 15, 2026

Hi ​@vincentw, I ran your paywall locally with my own project and am able to get all the variables so it seems like this is an issue with your products or SDK version. Can you try upgrading to our most recent SDK 5.54.1 here to see if this helps? If it doesn’t then can you make sure your products look good in App Store Connect, that your prices and localizations are all correctly configured?

I just updated to 5.54.1, and that did not change anything. My products in App Store Connect look fine, is it an issue that they are still in “Ready to submit” status?


Forum|alt.badge.img
  • Author
  • New Member
  • January 20, 2026

Actually, i figured out what the issue was. I was a bit tired while setting up the subscription & IAP stuff, and instead of adding subscriptions in App Store Connect I accidentally added them as IAPs. After fixing that, all works well.