SDK update history In-app payments and subscriptions for Kotlin/Java
SDK 9.0.1
- Optimized the payment drawer's behavior in horizontal orientation for keyboard interactions.
- Improved the payment scenario by removing additional authorization requests if the user is already authenticated on the payment menu.
SDK 8.0.0
- Mandatory user authentication in RuStore for processing payments and retrieving the product list has been removed. For more details, see here.
- A new method for checking the user's authentication status in RuStore — getAuthorizationStatus — has been added.
- Some functions have been marked as
deprecated.
SDK 7.0.0
- Retrieving products list without authorization.
- Deleted
deprecatedmethods. - Internal SDK update.
SDK 6.1.0
- Added payment with no authorization on devices without RuStore installation. Please, read more here.
SDK 6.0.0
-
Added an option to accept payments without RuStore installation on the user's device. Please, read more here.
-
Added the
sandboxfield in thePaymentResultpurchase models -
Removed the
descriptionfield from thePurchasemodel.
SDK 5.1.1
Internal SDK update
SDK 5.0.1
Internal SDK update
SDK 5.0.0
Added new purchase status PAUSED for subscriptions Internal SDK update.
SDK 4.0.0
Internal SDK update
SDK 3.2.0
Internal SDK update
SDK 3.1.0
- Added payment testing functionality (sandbox).
- Internal SDK update.
SDK 3.0.0
- Updated functionality on the new dark theme color scheme.
- Bugfixes.
SDK 2.2.0
- Added theme change functionality (light and dark).
- SDK library was stabilized.
- Fixed restoring error after paying with deeplink.
SDK 2.1.2
Fixed errors related to RuStore not being installed on the user's device.
SDK 2.1.1
Security updates.
SDK 2.1.0
-
Response models changed for:
- retrieving products list;
- retrieving purchases list;
- purchasing product;
- purchase confirmation;
- purchase cancellation.
-
Payment dialog design improved.
SDK 1.1.1
Fixed the await() method for Task API.
SDK 1.1.0
- Payment with Tinkoff Pay.
- Option to save card during making payment.
- Payment dialog design and behavior improved.
- Unnecessary dependencies and user permissions removed.
- The
PurchaseResultmodel now contains a new field:invoiceId.
SDK 1.0.0
- Moving from singleton to instance creation:
RuStoreBillingClient.init()replaced byRuStoreBillingClientFactory.create(). - Singleton methods (
init,products,purchases,getSingleton) are marked as deprecated and will be removed in next versions. - The
checkPurchasesAvailability()method became static — now you can check payments availability without creating aRuStoreBillingClientinstance.
SDK 0.1.8
- Added the
RuStoreBillingClient.purchases.getPurchaseInfo("purchaseId")method that returns purchase information. - Fixed
Intent Redirection vulnerabilitywhich blocked an app from being published to Google Play.
SDK 0.1.7
Internal SDK update
SDK 0.1.6
Added the subscriptionToken field in the Purchase entity for server validation.
SDK 0.1.5
- Switched to using Russian official digital certificates.
- Fixed button displaying for SBP payments while switching to offer and back.
- The
traceId: Stringfield in theResponseWithCodeinterface was replaced by themeta: RequestMetafield containingtraceId.
SDK 0.1.4
- Added links to offer for SBP and paying from a cellular account.
- Added additional disclaimer for scenarios when purchase confirmation takes more than 15 seconds.
- Fixed errors with OTP codes and SMS sending.
- Fixed
orderIdgeneration for account on the RuStore side — isorderIdis passed topurchaseProduct()asnull. - Added display of a blocking error in scenarios when a bank app doesn't support SBP deeplink.
- Added
PurchaseResult.subscriptionTokenthat allows purchase validation on the server side.
SDK 0.1.3
- Added option to by phone number in
purchaseProduct(). - Initialization parameter
externalPaymentLoggerwas replaced byexternalPaymentLoggerFactory— it is a factory in which one has to implementExternalPaymentLogger.
SDK 0.1.2
- Added fast payment system (SBP).
- Added the deeplinkScheme parameter in the
initmethod. - Removed the
deeplinkPrefixparameter in theinitmethod. - Fixed data loss error that occurred in the card data entry form after hiding the app.
SDK 0.1.1
-
Removed the
languageparameter from the following methods:- retrieving products list —
getProducts; - retrieving purchases list —
getPurchases; - confirming purchase —
confirmPurchase; - purchase cancellation —
deletePurchase. Added theRuStoreBillingClient.isInitializedfield that returns the library initialization status.
- retrieving products list —
SDK 1.0.0
-
Changed parameters in
init. -
Added purchases availability check — method
checkPurchasesAvailability. -
In all methods the
languageparameter is now optional. -
The Suspend methods are replaced with task API in the following methods:
- retrieving products list —
getProducts; - retrieving purchases list —
getPurchases; - purchasing product —
purchaseProduct; - confirming purchase —
confirmPurchase; - purchase cancellation —
deletePurchase.
- retrieving products list —
-
In the
purchaseProductmethods thecontextparameter was removed. -
The
resultObserverwas removed — now the purchase result is returned inpurchaseProduct. -
The
onFailparameter was removed from theresolveForBillingmethod.
SDK 0.0.9
Optional parameters ExternalPaymentLogger and debugLogs were added to the init function.