question

Jung Ho June avatar image
Jung Ho June asked

ue4 google validation ?

im currently working on ue4 playfab iap validation.

i can find receipt data from ue4 iap info

but there's no signature whrre is it?

or is it transaction identifier?

and i printed receipt data and it seems no problem

but error code says invalid receipt

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

·
Sarah Zhang avatar image
Sarah Zhang answered

According to the known case -- https://community.playfab.com/questions/45680/invalid-receipt-response-to-validate-google-play-p.html, you can get the data { "receiptData": "xxx", "signature": "xxxx" } through getting InAppPurchaseReceiptInfo.ValidationInfo. Then you need to decode the receiptData that be encoded in Base64 to allow you pass it as ReceiptJson. You can also refer to this answer -- https://community.playfab.com/answers/46085/view.html for the solution of CPP.

10 |1200

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

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.