Is it possible to imitate / imitate some unusual situations when testing in-app purchases?

I want to check our purchase code in the application and would like to check all possible situations. However, it seems difficult / impossible to verify some of the rarer cases that sometimes happen.

I know that with iOS6 I can simulate a bad network connection, but there must be other situations that can cause a crash. For instance,

  • If the user must confirm his payment method (for example, because he uses a new credit card or buys it on the device for the first time). As far as I know, there is no way to test this situation in the Sandbox environment.

  • Transaction failure inside the application (I think it could be simulated using poor network modeling)

  • Invalid application store:

    3.1. the in-app purchase may not be available in the custom app store or,

    3.2. user needs to switch application storage

I would really appreciate if anyone had any reliable methods to test some of these scenarios (and any others that I haven't written above). It seems that some of them are not checked until you are in a production environment.

Literature:

+4
source share

All Articles