How to cancel non-consumable purchase in Sandbox

I need to cancel some non-consumable purchases in the sandbox environment to see if my app handles the cancellation_date field properly.

How do I do that?


Doing it through iTunes seems to work for the production environment only, since it does not recognize the user I have created for testing in the sandbox.

you can simulate it by inserting the field into the receipt yourself on the front end of your receipt decode handler.

Sorry, this is not enough for me.

What does the receipt look like if the customer gets refunded for a product and then purchases it again?

Can non-renewable subscriptions be cancelled? What does the receipt look like in this case?

>What does the receipt look like if the customer gets refunded for a product and then purchases it again?


(I speculate - I never saw this) There are two IAP receipts. One has a cancellation_date field in it the other does not.


>Can non-renewable subscriptions be cancelled?


(I speculate - I never saw this) Yes


>What does the receipt look like in this case?

ibid

Same speculations as mine.

But they're just speculations, that's why I want to see it in an actual receipt coming from Apple.

Hi any update on this how can I cancel my non renewable plan using StoreKit?

How to cancel non-consumable purchase in Sandbox
 
 
Q