How to implement auto-renewable subscription for InApp purchase?

1.5k Views Asked by At

I have implemented non-consumable subscription in InApp. It is working fine. It shows alert as You have already purchased blah blah but I think It is because i have test user account.

When i tried to implement Auto-renewable with the same method it goes to FailedTransaction method everytime. with the error Cannot connect to iTunes Store" UserInfo=0x11a190 {NSLocalizedDescription=Cannot connect to iTunes Store}

If there is any other method to do then please redirect me. I got the very good steps from this SO question but didn't get any code that how exactly it should be implemented.

1

There are 1 best solutions below

4
On

This will solve all your confusion towards autorenewable subscription https://github.com/MugunthKumar/MKStoreKit