I implemented in app purchase in my app.
I tested it in sandbox environment. Its working as expected.
I launched the app. Even in production the purchase part is happening as expected.
User is able to unlock the content. I am storing the unlock content id in User Defualts.
But after sometime the amount is being credited back to the user's account. And as I have set the the unlock content ID in user defaults, user is able to use the unlock content.
So in effect I am getting nothing out of it. User is able to unlock the content and money is also refunded to his credit card.
Can anyone please tell me what might be the problem.
In sandbox environment its working all fine.