question

MoonHeonYoung avatar image
MoonHeonYoung asked

Receipt verification question

https://docs.microsoft.com/en-us/gaming/playfab/features/commerce/economy/getting-started-with-unity-iap-android

https://blog.playfab.com/blog/show-me-money-receipt-validation-ios-and-android

I have read all of the above documents.

1. My country's unit of goods is KW. Is there any way to set RM to KW according to the document?

2. Is it okay to just enter the RM settings in the catalog as KW numbers?

(100 RM> 1000 RM, i.e. 1 {replace2}gt; 1000KW)

3. Does the VTD $0.00 next to the country of playerTab mean the total price of the items purchased with RM?

4. The above document contains AndroidIAPExample.cs code.

// NOTE: this code does not account for purchases that were pending and are

// delivered on application start.

// Production code should account for such case:

// More:https://docs.unity3d.com/ScriptReference/Purchasing.PurchaseProcessingResult.Pending.html

What is the meaning of the above comment???

When I enter the link, it says there is no link.

Where should I view the information? What is pending??

* Can you give an example of the code considering pending? It is not well understood.

I'm going to use the code above in production, is there a problem?

5. The document date is 2018. Can I use the document and code as it is?

thanks always for great support

6.As a tester account, I tested and paid for as much as $100.

It appears as a normal payment in Game Manager.

so After the test is over, I want to delete these test payment records.

How do I delete it from gamemanager? (not needed anymore)

(And PlayFab can't differentiate between test payment and normal payment?)

7.I set the price of the product to 2200RM, which is displayed as 19.74$ after purchase. Are taxes applied? Why isn't it listed as 22$?

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.

Rick Chen avatar image Rick Chen ♦ commented ·

https://blog.playfab.com/blog/show-me-money-receipt-validation-ios-and-android

This document is outdated, please follow the first document you referred instead.

As there are too many questions, I will answer your questions one by one.

1. My country's unit of goods is KW. Is there any way to set RM to KW according to the document?

No, RM stands for "Real Money", which is defined as USD in the system and there is no way to set the RM to KW currently. please check out this thread for more details:

https://community.playfab.com/questions/18656/retrieve-local-currency-price-when-querying-store.html

For the rest questions, I will provide answers later. Thank you for your patience.

0 Likes 0 ·

1 Answer

·
Rick Chen avatar image
Rick Chen answered

2. Is it okay to just enter the RM settings in the catalog as KW numbers?

No, Please check the previous answer.

3. Does the VTD $0.00 next to the country of playerTab mean the total price of the items purchased with RM?

Yes. The VTD stands for a player’s Value-to-Date, it is the sum of the player's purchases made with real-money currencies. Please check this document for more detail: Getting a player's Value-to-Date (VTD)

4 and 5. Is the AndroidIAPExample.cs code from the document working?

It is supposed to work, even though some of the comments are outdated. It is hard for me to do the test for you. If you encounter any issues when using this code, please let us know.

6. PlayFab can't differentiate between test payment and normal payment? How do I delete a test payment from gamemanager?

No, currently there is no such feature that differentiate between test payment and normal payment or delete payment from Game Manager. You could post a feature request if you would like this feature.

7. I set the price of the product to 2200RM, which is displayed as 19.74$ after purchase. Are taxes applied? Why isn't it listed as 22$?

Could you please provide your title id and the player’s id who has made the purchase for us to diagnose?

2 comments
10 |1200

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

MoonHeonYoung avatar image MoonHeonYoung commented ·

thanks !

7. my title id 54CE and playerId

C823BD9867ED0969

this player purchased 2200RM product, but displayed 19.61$

0 Likes 0 ·
Rick Chen avatar image Rick Chen ♦ MoonHeonYoung commented ·

I have inspected your title and the real money purchase. The transaction total of the purchase was 2200000 KRW unit, which was equal to 1961 USD cent, there was no issue with that. Please note that the price isn't a required input for Google receipt validation, if you don't provide a price, we use the one you have set as the RM for the purchased item. Please refer to this thread: https://community.playfab.com/questions/45414/rm-currency-does-not-make-sense.html.

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.