Skip to main content

I’m testing my app for which I’ve configured a v1 paywall offering choice of subscriptions and a single lifetime price.

The paywall sheet is displaying fine but the offering variable is not translated.

I’m seeing offering panels like:

First {{ sub_offer_duration }} free, then $7.99/yr ($0.67/mo).

 

I will get around it for now just hard-coding in the values but it looks like a bug.

Using SDK via SPM ver 5.19.0

cheers

Andy 

Hi ​@Andy Dent,

Is this empty only for the lifetime price or for any product?

Best,


Hi ​@joan-cardona 

Is this empty only for the lifetime price or for any product?

Good question.

I’m only using that clause on the subscription products.

I just put the variable back to replace my literal text and now it is working!

First {{ sub_offer_duration }} free, then {{ total_price_and_per_month }}

Cancel any time.

 

So either there was a backend fix in the last few days or something about the original template text had a gremlin in it. I can’t see a difference.

 

Anyway happy Andy is finalising his RevenueCat integration to test and ship to store!!!!


Found it - template has a bug!

 

So I went back into the editor and tried adding another package, just because I like to debug things.

Just adding a subscription package, with the Preview Settings for Introductory offer values checked, shows the same problem I had before.

The text which the editor inserts when you add a new package has

First ({ sub_offer_duration }} free, then {{ total_price_and_per_month }}

so I looked more closely, copying that text out into my trusty BBEdit and putting my working copy underneath.

 

It helps to be using a bigger font - the template has paren brace instead of brace brace for the opening of the sub_offer_duration expression.

Ironically, when I started this thread, I must have typed it in by hand here instead of copying from the Paywall editor!

 

 

 


Reply