question

rknoesel avatar image
rknoesel asked

Receipt Validation false positives after upgrading to Google In-App Billing Library v4

We recently switch from v3 to v4 of the Google Play In-App Billing library. With v3, the receipt validation was working fine (revenue reported by PlayFab matched actual revenue). But with v4, PlayFab is now reporting about 10x of the actual revenue.

The number of calls to ValidateGooglePlayPurchase has not changed, but now a lot more invalid receipts are being successfully validated.

Is this a known issue? Do you have any suggestions?

Thanks!

apis
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

·
Seth Du avatar image
Seth Du answered

Have you checked this thread: PlayFab accepting pending payments - Playfab Community. May I ask do you have similar issues? Are those purchases in pending state.

The current workaround is to add additional verification steps before ValidateGooglePlayPurchase is called.

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.

rknoesel avatar image rknoesel commented ·

Thanks SethDu, that's exactly it. Somehow I failed to find that thread.

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.