Server Notifications for test payments (Sandbox)
Use Sandbox server notifications to verify your Pay SDK integration in your app before enabling real payments.
Access Control
Management of test payment notifications is available to users with the following roles:
- App Owner
- Administrator
- Release Manager
Configuring Test Notifications
To start receiving test notifications:
-
Open the RuStore Console and navigate to your application.
-
In the left menu, select Monetization → Server Notifications.
-
In the For test payments card, click Connect.
-
In the dialog that appears, enter your server’s notification URL for test payments. The address must start with
https://.
Example of a valid URL:
https://sandbox.notification-server.my-company.ru
We recommend using a separate URL for test notifications to prevent mixing them with real payment notifications.
Decryption Key
After saving the URL, you’ll receive a decryption key (AES-256). Copy and store it securely, as it’s displayed only once.
Be sure to copy the key and keep it in a safe place. You won’t be able to view it again.
Rotating the Decryption Key
If you need to rotate the key:
-
Click Update next to the Decryption Key field.
-
Confirm in the dialog that appears.
-
Copy and securely store the new key. The previous key will be invalidated.
Testing Notifications
Once the URL and key are configured, you can test:
- Click Check in the Test notification row.
- RuStore will send a test notification to your server.
- The result appears in the RuStore Console:
- ✅ Server accepted the test notification — verification succeeded..
- ❌ **Delivery error (e.g., 429 Unauthorized) — your server returned an error.
Test notifications do not have delivery guarantees and are not retried. Ensure your server responds correctly and accepts the notifications.
Enabling Test Notifications
Once verification succeeds, toggle Notify on test payments on.
RuStore will then send notifications for test payment status changes.
Disabling Test Notifications
To disable notifications:
- Open the RuStore Console and go to Monetization → Server Notifications.
- Toggle Send notifications off.
Notifications will not queue or retry while disabled. Re-enabling will resume with new events only.
Changing the Server URL
If your notification URL changes:
- Open the RuStore Console and go to Monetization → Server Notifications.
- Toggle Send notifications off.
- Click Edit next to the URL and enter the new address.
- Re-run the connection test..
- Toggle Send notifications back on.
The new URL takes effect immediately; the decryption key remains unchanged.