question

Christoph Bruger avatar image
Christoph Bruger asked

Purchase value way too high

I have some weird purchases in my game and I don't know how that was even possible. Is this legit (hardly since there's no 999$ pack)? Can it be cheated? Either way it completely ruins the KPIs.


Test payments are fine, so the player must have done something special (or it's a bug in the backend).
The 99999 is the placeholder price of the bundle.


One thing I noticed is that it says Client instead of Catalog (which test and verified real payments do), right under the RM price.

Bad accounts:

https://developer.playfab.com/en-US/FEE85/players/FC423704C549A920/overview

https://developer.playfab.com/en-US/FEE85/players/E2A3F9193BF41AE3/overview

https://developer.playfab.com/en-US/FEE85/players/C0073A7E90B9F550/overview

https://developer.playfab.com/en-US/FEE85/players/37547E0AD056538E/overview

Good account (as reference):

https://developer.playfab.com/en-US/FEE85/players/40F5009DDC9DC53B/overview

I since then removed the RM price from the bundle you receive from the ValidateGooglePlayPurchase call, in hopes it's just a bug there. At least the bug/cheat hasn't occurred since then so far.

I also replaced the shop RM prices with the Dollar prices, even if the client overwrites them anyway (but those placeholder shop prices didn't show up anyway since they were a few orders of magnitude lower).

Question remains: How can someone spend $999, why does it show as a client action and how can I prevent it?

support
rm.png (6.0 KiB)
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

In the ValidateGooglePlayPurchase call, the PurchasePrice isn't required. If you don't pass one in, we use the RM value you have in your catalog as the price for the item. The problem is that the actual purchase price isn't in the receipt. And since the price the player pays could vary based on sale pricing, the best way to get it tracked is to get it from the client.

3 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.

Christoph Bruger avatar image Christoph Bruger commented ·

Ah, ok. I thought you do receipt validation for the revenue KPIs.

1 Like 1 ·
Christoph Bruger avatar image Christoph Bruger commented ·

That leaves the question why passing a PurchasePrice sometimes doesn't work (I always send at least 0.01 as a value).

0 Likes 0 ·
Citrus Yan avatar image Citrus Yan Christoph Bruger commented ·

Hi, @Christoph Bruger Are there any error messages when calling ValidateGooglePlayPurchase?

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.