API/Autodoc/Classes/RuStorePaymentException.en.md


RuStorePaymentException

class_name RuStorePaymentException extends RuStoreError

Information about payment client errors.

Properties

var cause: RuStoreError = null
Error information.

class ApplicationSchemeWasNotProvided extends RuStorePaymentException:

The application scheme is not provided.

class EmptyPaymentTokenException extends RuStorePaymentException:

Error obtaining payment token.

class ProductPurchaseCancelled extends RuStorePaymentException:

The product purchase was cancelled (the user closed the payment sheet).

Properties

var productType: ERuStorePayProductType
Product type (optional parameter).
var purchaseId: RuStorePayPurchaseId = null
Purchase ID (optional parameter).
var purchaseType: ERuStorePayPurchaseType
Purchase type (optional parameter).

class ProductPurchaseException extends RuStorePaymentException:

Product purchase error (unable to set purchase status).

Properties

var invoiceId: RuStorePayInvoiceId = null
Invoice ID (optional parameter).
var orderId: RuStorePayOrderId = null
Unique payment identifier generated by the application (optional parameter).
If you specify this parameter in your system, you will receive it in the response when working with the API.
If you do not specify it, it will be generated automatically (uuid).
Maximum length is 150 characters.
var productId: RuStorePayProductId = null
Product identifier assigned to the product in the RuStore console (optional parameter).
var productType: ERuStorePayProductType
Product type (optional parameter).
var purchaseId: RuStorePayPurchaseId = null
Purchase ID (optional parameter).
var purchaseType: ERuStorePayPurchaseType
Purchase type (optional parameter).
var quantity: RuStorePayQuantity = null
Product quantity (optional parameter).
var sandbox: bool = false
Flag indicating a test payment in the sandbox.
If true — the purchase was made in test mode.

class RuStorePayClientAlreadyExist extends RuStorePaymentException:

SDK re-initialization error.

class RuStorePayClientNotCreated extends RuStorePaymentException:

Attempt to access SDK public interfaces before initialization.

class RuStorePayInvalidActivePurchase extends RuStorePaymentException:

A payment process for an unknown product type has been started.

class RuStorePayInvalidConsoleAppId extends RuStorePaymentException:

The required console_app_id_value parameter for SDK initialization is not set.

class RuStorePaySignatureException extends RuStorePaymentException:

Invalid response signature (occurs when attempting fraudulent actions).

class RuStorePaymentCommonException extends RuStorePaymentException:

Common SDK error.

class RuStorePaymentNetworkException extends RuStorePaymentException:

SDK network communication error.

Properties

var code = ""
Error code.
var id: String = ""
Error identifier.

class RuStoreInvalidCardBindingIdException extends RuStorePaymentException:

Error paying with a saved card.

Назад