Get the Currency Code: USD, EUR...

Hello!

Is there any way to get the currency code from any of the IAP’s listener for iOS?

I need the codes: USD, EUR, GBP etc, to send that info to MAT servers (www.mobileapptracking.com). We are trying to implement that plugin with Enterprise.

Hi @PromineoStudios,

In the event listener function defined in “store.loadProducts()”, did you try to read the property “event.products[i].priceLocale”?

http://docs.coronalabs.com/daily/api/library/store/loadProducts.html

Note that this property was added in a daily build since build #2511, so you’ll need to get a recent daily build to test this.

Take care,

Brent

Hi @PromineoStudios,

In the event listener function defined in “store.loadProducts()”, did you try to read the property “event.products[i].priceLocale”?

http://docs.coronalabs.com/daily/api/library/store/loadProducts.html

Note that this property was added in a daily build since build #2511, so you’ll need to get a recent daily build to test this.

Take care,

Brent