j3k0 / cordova-plugin-purchase

In-App Purchase for Cordova on iOS, Android and Windows
https://purchase.cordova.fovea.cc
1.3k stars 537 forks source link

No receipt in iOS after purchase, only Transaction id #191

Closed butlimous closed 9 years ago

butlimous commented 9 years ago

I have successfully configured and tested the plugin for android. I use my own validation service so I need to get the receipt data to submit to my validation service. Android returns these data which includes the receipt, signature, and transaction id. I then send these data my validation to verify and reward the user.

In iOS however, calling product.transaction returns only transaction id(s). The response should contain signature, purchase_info, pod, environment, and signing-status. Is anyone else facing this?

Thanks Regards Michael

butlimous commented 9 years ago

Receipt data is available through the validator not when "Approved" state fires.

Alphatiger commented 9 years ago

i am facing the same problem, don't know the steps of setting up a validator for IOS, can you please help me out. Right now after a purchase i am getting only transaction ID, Please guid me.