Skip to main content

Pay SDK

Pay SDK is RuStore’s new SDK for accepting payments. We want interacting with RuStore products to be as smooth as possible, so in the new SDK we incorporated your feedback gathered while using the billingClient SDK.

Pay SDK capabilities

  • Easy integration and fast start

    Minimal external dependencies and simple setup via AndroidManifest.xml let you integrate the SDK in just a few steps.

  • Flexible payment flows for any product

    You can use either a single-stage payment (charge immediately) or a two-stage flow (authorization hold with later capture), regardless of product type. The choice is yours and depends on your business case.

  • Work with a large product catalog

    The SDK supports fetching up to 1,000 products in a single request.

  • Extended support for unauthenticated users

    The SDK allows requesting product lists and taking payments without user authorization, helping shorten the sales cycle and increase conversion.

  • Partial order payment with coupons

    The SDK supports partially paying for a product using coupons and bonuses. This helps you run effective promo campaigns and loyalty programs.

  • Simple purchase handling and accounting

    All purchases (consumable and non-consumable) are returned by a single method, which simplifies transaction accounting and reduces the amount of code.

  • Clear SDK responses

    The data structures are simpler and more informative — responses contain only what you need, making it easier to analyze data and integrate with your analytics systems.

  • Straightforward, unified error handling

    Cancellations and payment errors are handled uniformly via OnFailureListener, reducing development time and avoiding implementation mistakes.

Differences between Pay SDK and billingClient SDK

At the moment, Pay SDK includes a number of improvements that will not be available in billingClient SDK:

img

Learn more:

Temporary limitations

For details on differences and migration specifics, see How to migrate to Pay SDK.

Coming in upcoming releases:

  • Support for payments from mobile balance, via T-Pay, and more. Currently, only card payments, SBP, and SberPay are supported.

In this section