With regards to auto-renewed subscriptions and checking for receipt status, can the following store method
store.receiptDecrypted()
be used to validate the status of a auto-renewed subscription?
If so, I’m assuming you are no longer sending the receipt for valiation to your server and calling Apple’s verfiyReceipt end point. Is this correct?
And if you are using the above store.receiptDecrpted() method, how are you checking if a subscription is valid?
Any info would be greatly appreciated as the documentation around this method is limited.
Thank you.
vlads
June 15, 2021, 4:31pm
2
When apple IAP plugin is used with receipt addon receipt is cryptographically checked on the device. You can use it to verify purchases and subscriptions. I suggest trying it out with testflight. I also posted quite a bit about it here:
Hi @vlads ,
I’ve tested the new core code and have a few notes:
The app now receives full receipt in iOS13 - Great!
Our previous receipt validation code via Apple server now fails with code [“21002”] = “The data in the receipt-data property was malformed.” perhaps there is a difference compared to previous receipt data, but I couldn’t identify what. Not sure how to proceed in this track yet.
I then tried to switch to the plug-in. Some notes:
The plugin has some differences vs the cor…