#IAP receipt in different format

1 messages · Page 1 of 1 (latest)

cinder crescent
#

Hi, I need to integrate with a 3rd party API that accepts the purchase receipt in the following format:
{ "Payload": "MIIUkQYJKoZIhvcNAQcC...(cropped)", "Store": "AppleAppStore", "TransactionID": "2000000466843430" }

I am assuming it's the receipt format used by UnityIAP? Since you don't use UnityIAP, I guess my only option is to build this json myself using the receipt and transaction id? I so, do you think I need to hardcode "AppleAppStore" or I can get it from your API somehow?

clear snow
#

"AppleAppStore" is a string added by UnityIAP and not from the native iOS framework afaik.

#

So, You need to hardcode it, unfortunately.