question

agrachev avatar image
agrachev asked

Purchase validation problem on IOS,Inapps purchase validation problem on IOS

Hello there,

We've encountered a problem with Purchase Validation.

When user purchases inapp we send validation request once, but Playfab for some unknown reason validates it two times and first validation works fine, second fails because the receipt was already validated and the player receives only the second fail state and info do not update.

So player receives nothing after purchase, but the virtual currency that he had purchased is added and he can see it after restarting the game.

For some strange reason, everything works fine with the build for Android.

How can we prevent second validation of the receipt? or what we are doing wrong?

,

Hello there,

We've encountered a problem with Purchase Validation.

When user purchases inapp we send validation request once, but Playfab for some unknown reason validates it two times and first validation works fine, second fails because the receipt was already validated and the player receives only the second fail state and info do not update.

So player receives nothing after purchase, but the virtual currency that he had purchased is added and he can see it after restarting the game.

For some strange reason, everything works fine with the build for Android.

How can we prevent second validation of the receipt? or what we are doing wrong?

Here you can see my own playstream with two validation events for one receipt:

https://developer.playfab.com/en-us/16/players/EF737E60A9751A64/playstream

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

·
pfnathan avatar image
pfnathan answered

Can you share info on what exact catalog request was?. Basically, we need to know what product you are trying to verify and what IAP you are trying to initiate so we can try to repro and debug. Do you see this consistently on iOS IAP btw?

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.

agrachev avatar image agrachev commented ·

HI,

Yes, we got it constantly on different accounts and devices while purchasing any inapps.

Title:16

Our primary catalog: Alpha_5

Inapp: com.appsministry.inc.awesomeshooter.creditspack02

we are sending PlayFabClientAPI.ValidateIOSReceipt through PlayFabClientAPI

For some reasons we see double validation for each inapp purchse in IOS.

Right now our devs managed to overcome the problem with data updates, but we still have double validation problem. Most annoying that its only on IOS, android works fine.

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.