When validating an IAP receipt (eg on iOS) ValidateIOSReceipt in the client API expects an integer in the smallest currency unit (eg 199), whereas the price returned with the receipt is a decimal number (eg $1.99). So it appears we need to perform a conversion to the minor currency unit. For most currencies this is simply a multiplication by 100, but some currencies have other ratios or no minor unit.
Do you have any best practices or suggestions on how to manage this? Handling the conversion for each currency (the exceptions) on the client side is of course a possibility. But this is probably something others have run into as well?
Cheers,
Sebastian
,