Accessing country and currency
If you're using local pricing with a low-code checkout solution, learn how to access the country and currency selected by customers
Last updated
If you're using local pricing with a low-code checkout solution, learn how to access the country and currency selected by customers
Last updated
If you're using the with a , then allows you to access the user's selected country and currency
digitalRiverPricing
The digitalRiverPricing
object, which you can access after executes, exposes and .
digitalRiverPricing.getCountry()
Call digitalRiverPricing.getCountry(
) to retrieve the country currently selected in the .
The returned value is formatted as an .
digitalRiverPricing.getCurrency()
Call digitalRiverPricing.getCurrency()
to retrieve the currency that is currently selected in the .
The returned value is formatted as a three-letter alphabetic code that conforms to the standard.