Since updating to the latest version 3.3.0, the GetPrice() method is returning product prices formatted in the currency for the shipping or billing address (not sure which yet!).
So, rather than £99.99, I'm getting [euro symbol]99.99 - but the price is still £99.99.
Always get price in GBP
Since updating to the latest version 3.3.0, the GetPrice() method is returning product prices formatted in the currency for the shipping or billing address (not sure which yet!).
So, rather than £99.99, I'm getting [euro symbol]99.99 - but the price is still £99.99.
How can I always get the price formatted as GBP?
Ah, OK - I think I've figured out via the settings in the TeaCommerce section.
Hey Gordon,
You should be able to set the currenty sessions currency vis the SetCurrentCurrency API https://docs.teacommerce.net/3.3.0/api/currency/#setcurrentcurrency
I believe it should default to the one setup in the Store settings, but you can set it explicitly using this API.
is working on a reply...