Integration scenarios
 About the scenarios
Yandex.Checkout supports several payment scenarios. They differ in respect to where the user selects the payment method and enter information for payment.
ScenarioPayment method selectionPayment data entry
Smart paymentOn Yandex.Checkout’s sideOn Yandex.Checkout’s side
Direct integration of payment methodsOn your sideOn your side or on Yandex.Checkout’s side (depends on the payment method and your store’s settings)
Card payment form on your websiteOn your side (via web SDK)On your side (via web SDK)
Payments in the mobile appOn your side (via mobile SDK)On your side (via mobile SDK)
 Smart payment
The most simple scenario. You only need to redirect the user to the Yandex.Checkout page where they’ll select one of the available payment methods and securely enter information for payment.
Example of implementation:
  1. The user proceeds to checkout on your side (for example, by clicking a button).
  2. You create a Smart payment and redirect the user to the Yandex.Checkout’s page.
  3. The user selects the payment method and enters information for payment on Yandex.Checkout’s side.
  4. Yandex.Checkout implements the required payment confirmation scenario (for example, redirects the user to Internet banking).
More about Smart payment
 Direct integration of payment methods
Yandex.Checkout can accept payments made via various methods, for example, via bank cards, from e-wallets (e.g. Yandex.Money or QIWI Wallet), via invoicing in Internet banking (e.g. Sberbank Online).
In Smart payment, all payment methods available to your store are displayed on the Yandex.Money’s page. When you use direct integration, the user selects the payment method on your side in your interface. Depending on the payment method and store’s settings you can also implement payment data collection, for example, by asking the user’s login in Internet banking.
Example of implementation:
  1. The user selects the payment method, enters information for payment and proceeds to checkout on your side.
  2. You create the payment with the selected method and implement the required payment confirmation scenario.
Direct integration of payment methods
 Card payment form on your website
If you want to accept bank card payments, you can embed a payment form to your website using Yandex.Checkout’s web SDK. The SDK will ensure the security of bank card data entry.
Example of implementation:
  1. The user selects the payment method, enters information for payment and proceeds to checkout on your side.
  2. You receive a token with payment details via mobile SDK.
  3. You create the payment using the received payment token and implement the required payment confirmation scenario.
Using web SDK
 Payments in the mobile app
Embed the payment form to your iOS or Android mobile app using Yandex.Checkout’s mobile SDK. The SDK will ensure the security of bank card data entry.
Example of implementation:
  1. The user selects the payment method, enters information for payment and proceeds to checkout on your side.
  2. You receive a token with payment details via mobile SDK.
  3. You create the payment using the received payment token and implement the required payment confirmation scenario.
Using mobile SDK
 See also
Payment by 54-FZDeclined paymentsNotificationsTesting