IAP Currency

SOLVED
Highlighted
Codest
Explorer

IAP Currency

Hello, I'm currently implementing IAP and have a question about the process.

With Request(IAPurchaseListener listener, string pchPrice) do I need to change pchPrice based on the users currency that I recieve in IsReady()? As an example, if I want an IAP item to be 0.99 USD, if the user currency is GBP I would need to change pchPrice to 0.75?

Vive Staff
Solution

Re: IAP Currency

Hey, @Codest

 

Sorry for not getting back to you earlier. 

 

Q:

With Request(IAPurchaseListener listener, string pchPrice) do I need to change pchPrice based on the users currency that I recieve in IsReady()?

A:

Yes, you are right. Please change the price based on the currency you receive in the callback of IsReady(). 

Example: 

if (currency == USD) 

    pchPrice = 1;

else if (currency == TWD)

    pchPrice = 30;