Test payments
Background
You can now test payments for subscriptions and in-app billing in your apps. The test purchase is carried out as a regular payment, though using test bank cards.
Functionality
The Test Payments function provides the following options:
/developers/developer-account/user-roles/
- Test mode control via RuStore Console.
- Testing of payment scenarios in your app, which is carried out in an isolated test environment using special test cards and without affecting the release app version.
- View test payments history in RuStore Console.
Technical specifications
- You can perform testing before publishing an app version to all users.
- In test mode, you can purchase the same products and subscriptions that were added to the release app version. At that, it is not necessary to publish them.
- You can test the purchase of non-consumable items repeatedly (for example, access to the full app version or a skin in a game). To do that, you can return the payment via RuStore Console, and then make a purchase again in the application.
- In test mode, special parameters are applied to subscriptions. They are independent of and do not affect the settings you select for the release app version. These technical features are designed to simplify and speed up testing.
The parameters in the table below are the same for all subscriptions in test mode.
Parameter | Value |
---|---|
Maximum number of subscription charges. After completing the specified number of debits, the subscription is automatically closed | 12 |
Period between subscription charges | 10 mins |
Frequency of resetting the free and starting period (purchase of subscriptions with a free and starting period). After the reset, you will again be able to purchase a subscription for free or at the initial price. This way you can test payment for a subscription several times under special conditions. | Once in 3 hours |
Restrictions
- The application owner is the only user who can test payments. He has exclusive access to the Test Payments section. Options to add other testers are now under development.
- Testing of a paid app purchase is not available in RuStore.
- Information about test payments and subscriptions is not accessible through the public API.
- The RuStore app does not display the history of test purchases and test subscriptions. This means that test subscriptions cannot be canceled or renewed.
- You can pay for test purchases using test bank cards only.
- To test payments, at least the first app version must be moderated.