# Configuring a second website, store, or store view

You can configure the Digital River Extension for the website from the Admin Panel interface. This allows administrators to offer different payment methods and currencies for each region.

The Base Conﬁguration locale ﬁeld is the only field that changes. Digital River will provide the locale needed to meet your language, payment, and currency requirements. Payments are also conﬁgurable via [Drop-in](https://docs.digitalriver.com/digital-river-api/payment-integrations-1/drop-in) by the website.

See [Set up multiple websites, stores, and store views in the Admin](https://devdocs.magento.com/guides/v2.3/config-guide/multi-site/ms_websites.html) for additional information.

## Localization and translations

You can modify all content displayed via the Digital River Extension by adding an `/i18n` directory to the *DrPay* folder. By default the extension supports the following languages: \[en, es, it, fr, sv, da, ﬁ, cs, pl, hu, de, nl, pt] `/app/code/Digitalriver/DrPay/i18n`.&#x20;

<div align="left"><img src="https://1879583167-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuMZbk2cjWhdeZ51z%2F-MP6bE8GzdaqN3Jza8j0%2F-MP9jF7DhNZZynnJnuus%2F17SpreadsheetListing.png?alt=media&#x26;token=beeadbf0-f62e-499f-9d84-95deeabd46ca" alt=""></div>

After adding or updating the translation ﬁles, rerun the upgrade command:\
`$ php bin/magento setup:upgrade`

{% hint style="info" %}
**Important**: To ensure the Magento website or store view shows the translated text, update the locale option for that website or store view via the general Magento settings. Select **Stores**, then **Conﬁguration**, then **Genera**l, and then click **Locale Options**.
{% endhint %}

## Configure stores to use separate API keys

You can configure multiple stores from the Magento Admin Panel to use separate API keys. Use the following steps to do this:

1. From the Admin Panel, click **Stores**, click **Conﬁguration**, click **Digital River Settings**, and then click **General Settings**.
2. Select the website or store to configure from the drop-down **Scope** list on the Configuration page. You are selecting the specific website or store to configure with the settings to use separate API keys.
3. On the current Configuration page, uncheck **Use Website** or **Use default** next to the **Public Key** and **Secret Key** fields. By doing this, you can enter a unique Public Key and Secret Key, These will only be used by that selected store or website. The following example shows a configuration where this has been done:<br>

   <figure><img src="https://1879583167-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2EvCeJpoEQR97Ch47mMP%2Fuploads%2FalbzmeNAHE6h5nFSmAu7%2FAdobe%20Disable%20DR%20setting.png?alt=media&#x26;token=73073d23-9811-4c18-a876-2421628f745f" alt=""><figcaption></figcaption></figure>
4. Enter the unique Public and Secret keys to be used by that site.
5. Click **Save Config** and clear your browser's cache.<br>

{% hint style="warning" %}
**Important:** The Digital River extension will not process any orders for stores that have the Enabled setting set to Disabled.
{% endhint %}

## Enable or disable the Digital River extension

Complete the following steps to enable or disable the Digital River extension:

1. From the Administration page, click **STORES** from the left side menu.
2. Click **Configuration** under the Settings section.
3. Click **General Settings** under DIGITAL RIVER SETTINGS.
4. Do one of the following:
   * Toggle Enabled to **Yes** to enable the DR extension.
   * Toggle Enabled to **No** to disable the DR extension.

**Note:** if you have enabled the extension, you must provide the Public Key and Secret Key to save the setting.

You can choose to enable or disable the DR extension for different scopes. The setting is inherited from Default to Website to Store View. For example:

<div align="left"><figure><img src="https://1879583167-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2EvCeJpoEQR97Ch47mMP%2Fuploads%2FpXwKr7c31HdxyCSmYyls%2Fimage.png?alt=media&#x26;token=368d9bf2-86c9-4899-a086-4256733fb6e9" alt=""><figcaption></figcaption></figure></div>

To inherit the setting, check the checkbox at Website/Store View scope.
