# WooCommerce — Плагин для WordPress

**Инструкция по установке:**&#x20;

**1.** В корень с сайтом загрузить содержимое архива [***wc-linepay.zip***](https://linepay.fun/modules/wc-linepay.zip)&#x20;

**2.** Установить плагин стандартными средствами **WordPress**&#x20;

**3.** На WordPress включить платежный шлюз на странице с расширениями и указать требуемые данные (ID магазина, секретный ключ 1 и 2)&#x20;

**4.** В настройках магазина LinePay указать: - **URL Оповещения** в формате: <mark style="color:blue;">`https://domain.com/wp-content/plugins/wc-linepay/notify.php`</mark>

**URL Успешной и Неудачной оплаты** в формате:[`https://domain.com/`](https://domain.com/payment_callback.php?_xfProvider=LinePay)

**5.** Начните принимать платежи.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.linepay.fun/gotovye-moduli-cms/woocommerce-plagin-dlya-wordpress.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
