I can't seem to figure out how to validate the receipt externally.
{
"data": {},
"signature": ""
}
function purchaseCompleted(e) {
if (e.success && e.purchase) {
alert('Purchase completed successfully');
Ti.API.info(JSON.stringify(e.purchase);
///result is:
{
"receipt": {
"bubbleParent": true,
"developerPayload": "P4yl04d",
"productId": "subscriptiontrails",
"packageName": "com.eagledevelopers.appname",
"type": "subs",
"purchaseState": 0,
"apiName": "Ti.Proxy",
"token": "hidden",
"signature": "hidden",
"purchaseTime": 1460235642406,
"orderId": ""
}
}
I'm using this node module to validate and they have a web tool for testing on the fly. I can't get either to work.
I've tried removing bubbleParent, apiName, and moving signature. No combo works.