Module settings

  1. Get the data that's required for integration:

    1. Register in the Yandex Pay console.
    2. Go to the console settings.
    3. In the Merchant API Yandex Pay keys, click Issue key. Save the key value.
    4. Copy and save the merchant ID from the Merchant ID section.
    5. Click Save.
  2. Go to the AdvantShop admin panel.

  3. In the left menu, open the Modules section.

  4. On the Installed modules tab, select the Yandex Pay Checkout module.

  5. Configure the main settings on the General tab:

    • Callback URL: A technical address for integration. Specify it in the Yandex Pay console settings in the Callback URL section.

    • Test mode: Used for debugging and testing integration. To work in normal mode, disable this option.

    • Merchant ID: The merchant ID obtained at step 1.4.

    • API key: The key obtained at step 1.3.

    • Button color: The appearance of the button on the client's side.

    • Button width in the product card, Button width in the cart, Button width in the order: Sets the button width.

      • Automatically: The width is set automatically, but does not exceed 280 px.
      • Fit the container: The button fits the width of the parent block.

      image

  6. In the top-right corner, click Save.

Delivery settings

In this section, you can specify the delivery methods used when the user pays via Yandex Pay. The methods take into account all the set restrictions, such as by city, country, or product category. Pickup points are shown on Yandex Maps, and the delivery cost is calculated using integrated services.

Note

The city, country, and region restriction doesn't work for delivery methods with pickup options. There's no such restriction for methods that use courier delivery.

To add a delivery method:

  1. In the module settings, go to the Delivery tab.

  2. Click Add.

  3. Select a delivery method from the list.

  4. Specify the available payment methods:

    • Card: The user pays by a card that's linked to a Yandex account.
    • Split: The user pays in installments using the Yandex Split service.
    • Cash on delivery: The user pays in cash on receipt of the order.
    • Card on delivery: The user pays by card on receipt of the order.
  5. Click Add.

To edit or delete delivery methods, click the "pencil" or "x" icon:

image