Module settings
-
Get the data that's required for integration:
- Register in the Yandex Pay console.
- Go to the console settings.
- In the Merchant API Yandex Pay keys, click Issue key. Save the key value.
- Copy and save the merchant ID from the Merchant ID section.
- Click Save.
-
Go to the AdvantShop admin panel.
-
In the left menu, open the Modules section.
-
On the Installed modules tab, select the Yandex Pay Checkout module.
-
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.
-
-
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:
-
In the module settings, go to the Delivery tab.
-
Click Add.
-
Select a delivery method from the list.
-
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.
-
Click Add.
To edit or delete delivery methods, click the "pencil" or "x" icon: