question

Jon avatar image
Jon asked

RM currency does not make sense?

I assume that RM is USD. From the examples and other forum posts it seems to be so.

For receipt validation we pass in currency and currency code - how will that be converted and used for validation? For example, if euros is used to pay, will play fab validation convert that to USD and compare it with the items RM cost?

How will playfab validate the product price matches the receipt for non-USD currency?

Thanks

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

Yes, RM stands for "Real Money", which is defined as USD in the system currently.

The only relationship RM configured in your game has to receipt validation is in the Google receipt flow. Since the price isn't a required input (a legacy holdover from when it was first added - once we caught it, we couldn't change it to required, since that would break titles not sending it). In that flow, if you don't provide a price, we use the one you have set as the RM for the purchased item. Otherwise, it's coming from your validation call, since it's not in the receipts we get from the platform providers, and we have no other way to know for sure what the price is, since the platform could be giving the player a discounted price (which would make the configured RM incorrect).

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Jon avatar image Jon commented ·

Thanks Brendan. So if we always supply the currency code + price when validating the receipt then there is no need to set RM within the playfab catalog.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.