Quantcast
Viewing all articles
Browse latest Browse all 8068

How decode purchase-info from storekit?

hi all, how to decode the purchase-info from receipt of StoreKit?

i have this

Ti.API.info('RICEVUTA: '+ evt.receipt);
 
the output is:
 
RICEVUTA: {
[INFO] :    "signature" = "AiYkvtB8Sz9fh1XePMV+OQ2mqWIrbqYtU+emI8h6d/suPDscbdNjR3jHAiSg17tGUUK5H/sLo8jMhcUZ9axf4p5F4Zy/wSs7bhOVeZ ECC ECC";
[INFO] :    "purchase-info" = "ewoJIm9y AiYkvtB8Sz9fh1XePMVAiYkvtB8Sz9fh1XePMV ECC ECC ECC ECC";
[INFO] :    "environment" = "Sandbox";
[INFO] :    "pod" = "100";
[INFO] :    "signing-status" = "0";
[INFO] :   }
 
 
but i i try to read evt.receipt.purchase-info (or evt.receipt.pod) i have errors...
i wasn't able to access to the purchase-info property....

Viewing all articles
Browse latest Browse all 8068

Trending Articles