jnbt / candy_check

Check and verify in-app receipts
MIT License
125 stars 71 forks source link

Abillity to check if Subscription Cancelled? (IOS) #69

Open NemyaNation opened 2 years ago

NemyaNation commented 2 years ago

This isn't working anymore

.valid? => https://www.rubydoc.info/github/jnbt/candy_check/master/CandyCheck%2FAppStore%2FReceipt:valid%3F


Any tips on how I can check to see if a renewable subscription has been cancelled or not?

Freddy03h commented 2 years ago

I've got the same question, it seems that cancellation_date on iOS is only there when user revoke or refund the transaction : https://developer.apple.com/documentation/appstorereceipts/cancellation_date_ms

I don't think there is a way to know when the user cancel the auto-renewal subscription, but there is auto_renew_status to know if the user turned off automatic renewal : https://developer.apple.com/documentation/appstorereceipts/auto_renew_status