Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

How can i get the iOS base64 encoded receipt data from Unity IAP

$
0
0
From this quesiont http://forum.unity3d.com/threads/iap-receipt-is-not-base64-encoded.376756/ I'm using Unity 5.3 built-in IAP service, and testing it on iOS. When purchasing success, I can get receipt from UnityEngine.Purchasing.Product.receipt . It looks like this: {"Store":"AppleAppStore","TransactionID":"1000000186798000","Payload":"MIIT4AYJKoZIhvcNAQcCoIIT0TCC..."} From doc: http://docs.unity3d.com/Manual/UnityIAPPurchaseReceipts.html "Payload" should be base64 encoded on iOS > 7.0, but it's not, I tried to decode it, it's ASN.1 encoded. Why it's not base64 encoded, where am I wrong? I have the same question now! I'm using the https://github.com/nomad/venice to verify the order, the plugin need the Base64 encoded receipt data. how can i get the Base64 encoded data from payload?

Viewing all articles
Browse latest Browse all 4709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>