# Force Currency for Specific Payment Methods

Force currency for specific payment method options ensures that certain payment methods in an eCommerce store (like WooCommerce) only accept payments in a specified currency. This function can be useful when specific payment gateways only support particular currencies or when you want to guide users to pay in a specific currency for certain payment methods.

Each payment method in the store is associated with a specific currency. For example, if you're using PayPal, you can force payments to be made only in **USD**, while Stripe may handle payments in **EUR**.

### Step 1: Enable Force Currency for Specific Payment Method Function

After installing and activating the YayCurrency plugin, go to **YayCommerce > YayCurrency** in your WordPress dashboard.&#x20;

First of all, ensure that you have already selected your desired currencies in the **Manage Currency** tab.

<figure><img src="https://2217518750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_yR1oHovFi42XBPZIi%2Fuploads%2FdCoOZma23H2BrvSh0rf4%2Fforcecurrency1.png?alt=media&#x26;token=b49ae0be-7d26-4c46-8d51-9feb158fc377" alt=""><figcaption></figcaption></figure>

When you’ve done that, move to the **Checkout Options** tab to configure the settings. To enable this function, simply switch the toggle button next to it.

<figure><img src="https://2217518750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_yR1oHovFi42XBPZIi%2Fuploads%2FtcHlHHf38wTEfzK4PZRR%2Fforcecurrency3.png?alt=media&#x26;token=7fe8080e-74bc-4a16-9e9d-618fd9903936" alt=""><figcaption></figcaption></figure>

### Step 2: Set Currency for Each Specific Payment Method

Here, you can see a list of payment methods available in your store.&#x20;

For each payment method, select the desired currency from the dropdown input field. By doing this, you can force a specific currency for each payment method without needing any coding.

<figure><img src="https://2217518750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_yR1oHovFi42XBPZIi%2Fuploads%2FCutqUCphRvFz2QqxP7SB%2Fforcecurrency2.png?alt=media&#x26;token=bac471d2-ef1a-4622-b4a5-8a5e09322951" alt=""><figcaption></figcaption></figure>

### Step 3: Test the Configuration

Let's see how it works.

When selecting 'Direct Bank Transfer,' the payment currency should be US dollars (**USD**).&#x20;

For 'Check Payments' or 'Cash on Delivery,' the payment currency should be euros (**EUR**).

**Checkout page using blocks:**

<figure><img src="https://2217518750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_yR1oHovFi42XBPZIi%2Fuploads%2FhrwVBOaw4IkXQtJNY5Sy%2Fforcecurrency6.png?alt=media&#x26;token=dc9594c4-c261-42a9-ab85-533c6b68a69e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2217518750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_yR1oHovFi42XBPZIi%2Fuploads%2F2I1lbHXTBzZOFCRow8Fc%2Fforcecurrency5.png?alt=media&#x26;token=4d19bac5-58bd-4b46-9935-9ad948c84f98" alt=""><figcaption></figcaption></figure>

**Checkout page using shortcodes:**

<figure><img src="https://2217518750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_yR1oHovFi42XBPZIi%2Fuploads%2FEiwyUwzFYHkPIStT51tl%2Fforcecurrency4.png?alt=media&#x26;token=d7af1dc9-5d43-4f32-a806-70a72f9b4ab7" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**IMPORTANT**: The force currency for specific payment method option function is only supported in the **PRO** version of YayCurrency. Before proceeding with these steps, make sure you have the **PRO** version of the plugin. If you are using the **FREE** version, please upgrade to YayCurrency **PRO** to enable this feature.
{% endhint %}
