# Woocommerce

<div align="left"><figure><img src="/files/b8plxi8KZGn9KcykSjmf" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
**NOTE :** iyzico woocommerce module was developed and tested on a bare woocommerce (without plugin) installation. Be sure to take this warning into consideration when installing.
{% endhint %}

It is completely free to download and start using the iyzico-woocommerce module, developed by our team and available on github.com/iyzico/iyzipay-woocommerce page, from the wordpress store <https://wordpress.org/plugins/iyzico-woocommerce/>.

{% embed url="<https://www.youtube.com/watch?t=1s&v=_BjALWaLuZU>" %}

### How to Integrate?

1. After logging in to your WordPress admin panel, click the "Add New" button in the "Plugins" section and type iyzico-woocommerce in the "Search Plugins" section.
2. Click the "Install" button on the iyzico add-on that appears. Thus, the iyzico add-on will be installed on your system.
3. In your WordPress administration panel, go to Plugins > Installed Plugins menu.
4. Find and activate the iyzico WooCommerce plugin.
5. Go to Woocommerce > Settings > Payment menu and click on the "iyzico" link.
6. Check the "Enable payment with iyzico" box.
7. Fill in the required fields for the title and description. Select the payment page as "Responsive" or "PopUp" from the Form Class setting. It indicates the style of the responsive and pop-up payment form. You can choose any of them. After this stage, you will be asked to enter your iyzico Api and security keys.
8. Log in to your iyzico Control Panel. You will enter the menu with your API Key and Secret Key values from the Settings tab at the top right. Copy these values into the relevant fields on your admin page in WooCommerce.
9. For sorting, enter the order number you want to be seen among the payment options.
10. After pressing the save button, you can start using iyzico.

### <mark style="color:blue;">**Webhooks**</mark>

{% hint style="info" %}
**NOTE :** By using the iyzico webhooks structure, you can ensure that orders are transmitted correctly to the woocommerce panel in case of internet or browser-related problems that your customers may experience after payment.
{% endhint %}

To activate the webhooks structure in Woocommerce, you need to follow the steps below.

#### Webhooks Setup

1. Complete the installation of the iyzico woocommerce plugin on your WordPress site.
2. Click on Payments in the Woocommerce>Settings section and select iyzico Checkout.
3. You can see the webhook URL address created specifically for you, just below the Secret Key field.
4. Copy your webhook URL address.
5. After logging in to the iyzico member merchant panel (<https://merchant.iyzipay.com/>), click Settings>Company Settings from the left menu.
6. On the page that opens, paste your webhook URL address into the URL field in the Workplace Notifications section.
7. Enable the “Send payment notifications” option in the Merchant Notifications section.
8. Click Save.


---

# 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.iyzico.com/en/platforms/woocommerce.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.
