Jump to content
Happy Holidays! Limited Staff Responses: 1/20 - 1/31 ×

IAP Currency


Codest
 Share

Recommended Posts

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?

Link to comment
Share on other sites

  • 2 weeks later...

Hey, : 

 

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; 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...