How to test Billing Retry subscriptions case in Sanbox or Xcode Environment?

We have a case to show users a message that their subscription was in Billing Retry.

But we were unable to test it in Sandbox Environment. In the Sandbox environment, we were enabled interrupted purchase after initial purchase but that's not working as expected.

In Xcode environment tried interrupted purchase and fail transactions with error. But Nothing works for renewal transactions. These all are working as expected only for the Initial purchase.

Please provide a proper way to test the Billing Retry case.

Answered by App Store Commerce Engineer in 683226022

The ability to test a subscriber entering or exiting the Billing Retry state is not currently supported in Sandbox. We appreciate the feedback as this is helpful in prioritizing as we continue to rollout updates to Sandbox. For more info on supported testing scenarios, see https://developer.apple.com/documentation/storekit/original_api_for_in-app_purchase/testing_at_all_stages_of_development_with_xcode_and_sandbox

Accepted Answer

The ability to test a subscriber entering or exiting the Billing Retry state is not currently supported in Sandbox. We appreciate the feedback as this is helpful in prioritizing as we continue to rollout updates to Sandbox. For more info on supported testing scenarios, see https://developer.apple.com/documentation/storekit/original_api_for_in-app_purchase/testing_at_all_stages_of_development_with_xcode_and_sandbox

How to test Billing Retry subscriptions case in Sanbox or Xcode Environment?
 
 
Q