Pay SDK
Pay SDK is a new SDK for accepting payments from RuStore. We strive to make interaction with RuStore products as comfortable as possible, so in the new SDK, we have taken into account your feedback received during the use of the billingClient SDK.
Pay SDK Features
-
Convenient Integration and Quick Start
Minimal external dependencies and simple setup through
AndroidManifest.xml
allow for quick SDK integration in just a few steps. -
Flexible Payment for Any Product
You can use either single-stage payment (immediate charge) or two-stage payment (fund reservation and purchase confirmation), regardless of the product type. The choice is always yours and depends on your business case.
-
Handling a Large Assortment of Products
The SDK supports retrieving up to 1000 products in a single request.
-
Extended Capabilities for Working with Unauthorized Users
The SDK allows requesting a list of products and making payments without user authorization, which helps shorten the sales cycle and increase conversion.
-
Partial Order Payment with Coupons
The SDK supports the ability to partially pay for goods using coupons and bonuses. This helps implement effective promotional campaigns and loyalty programs.
-
Simple Purchase Processing and Accounting
All purchases (consumable and non-consumable) are returned by a single method, which significantly simplifies transaction accounting and reduces code complexity.
-
Clear SDK Responses
The data structure has become simpler and more informative — responses contain only the necessary information, making it easier to analyze data and integrate with your own analytics systems.
-
Transparent and Simple Error Handling
Handling cancellations and payment errors is unified through
OnFailureListener
. This reduces development time and eliminates errors in implementing payment processing scenarios.
Differences Between Pay SDK and billingClient SDK
Currently, Pay SDK includes several improvements that will not be available in billingClient SDK:
Feature | Pay SDK | billingClient SDK |
---|---|---|
Support for Popular Game Engines | ✅ | ✅ |
Use of Coupons for Partial Purchase Payment | ✅ | ❌ |
Request Product List Without Authorization | ✅ | ❌ |
Receipt of Payment | ✅ In messenger for authorized users | ✅ By email |
Paid Subscriptions | ⏳ Temporarily unavailable | ✅ |
Payment Methods via Cards and SBP | ✅ | ✅ |
Payment via SberPay and Mobile Phone Balance | ⏳ Temporarily unavailable | ✅ |
Server Notifications for Test Payments | ✅ | ❌ |
Transmission of Additional Purchase Information developerPayload via public API and in server notifications | ✅ | ❌ |
Temporary Limitations
Read about the differences and nuances of transitioning to Pay SDK in the article How to Transition to Pay SDK.
In upcoming releases, we will add:
- support for monetization through subscriptions;
- support for payments from mobile phone balance, via SberPay, T-Pay, etc. Currently, only card payments and SBP are supported.
If you have any questions or suggestions during integration, please send them to support@rustore.ru, specifying "Pay SDK" in the subject line.