voltrue2 / in-app-purchase

A Node.js module for in-App-Purchase for iOS, Android, Amazon and Windows.
http://iap.gracenode.org
Other
1.06k stars 289 forks source link

How do you get the Receipt Info for In app purchases #346

Closed famictech2000 closed 3 years ago

famictech2000 commented 3 years ago

{ data: '{ "orderId":"GPA.xxxx-xxxx-xxxx-xxxx", "packageName":"aaa.bbb.ccc", "productId":"aaa.bbb.ccc.sub", "purchaseTime":1498002890901, "purchaseState":0, "developerPayload":"xxxxxx", "purchaseToken":"edgcacfhmkpekcilnihgdjkb.AO-J1OxnZr_-c4xGioV-wbb9YI4w7gtRzY87CRLsa6CrHuP_nF97WNzHaBjbqCyZeYYf_sZByLD1DKxkMOFlpIsiOJnSeHxu5XIwa303DbJwFQ7Lo-sM6dgY4-4DCEqk61C9qgUx0GsLaOMZJF0zMC0mRS9K8Z2P3-uSDQpUv0qorTGt7xQC42s", "autoRenewing":true }', signature: 'xxxxxx' }

how do you get the following from the app when the user makes a purchase?!