Attribute is required e.g. {{price plan.amount}}

All of the code options I tried below give me the same error:

Attribute is required e.g. {{price plan.amount}}

{{price plan.amount}}
{{price plan.amount currency=plan.currency}}
{{price plan.amount
{{price plan.currency}}

The code below on the other hand works fine:

{{price currency="USD"}}

I’ve looked at the docs and tried every option that came to my mind:

I’m basically trying to get the currency symbol.

Could anyone explain me why I’m getting this error and how to get it solved?

1 Like