# Setup and Configuration

{% hint style="danger" %}

### <mark style="color:red;">Warning</mark>

Complete all steps below before activating payment method :

1. [<mark style="color:blue;">Get your configuration data</mark>](#step-1-get-your-configuration-data)
2. [<mark style="color:blue;">Configure your plugin</mark>](#step-2-configure-your-plugin)
3. [<mark style="color:blue;">Configure your payment processor</mark>](#step-3-configure-your-payment-processor)
4. [<mark style="color:blue;">Optional customizations</mark>](#step-4-optional-customizations)
   {% endhint %}

## Step 1 - Get your configuration data

Once your service is active and your plugin is installed and enabled, you can find configuration in the CoinbarPay Service Management Panel.\
\
For E-COM Plugin version you will get&#x20;

* <mark style="color:blue;">`SERVICE_CLIENT_ID`</mark> (STORE\_ID)\
  -This is your id reference, You can find this detail on your Business Manager.&#x20;
* <mark style="color:blue;">`APIKEY`</mark>\
  -This is you public apy key, this is the first part of a classic api key pair. Also called public key
* <mark style="color:blue;">`SECRETKEY`</mark>\
  \- Second part of api key pair, it is necessary to make correct call with server

## Step 2 - Configure your plugin

Configure your plugin filling the fields :

* <mark style="color:blue;">`SERVICE_CLIENT_ID`</mark>
* <mark style="color:blue;">`APIKEY`</mark>
* <mark style="color:blue;">`SECRETKEY`</mark>

<figure><img src="https://3385475742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBIXeXFNYclIzjdhHCw61%2Fuploads%2FTxO3fsWfx7sU2tu1VMSK%2Fimage.png?alt=media&#x26;token=dd52ac53-7d98-4799-a3f0-adb70394546f" alt=""><figcaption></figcaption></figure>

## Step 3 - Configure your payment processor

{% hint style="danger" %}

### <mark style="color:red;">Warning</mark>

This step is very important to let plugin works regulary
{% endhint %}

Copy <mark style="color:blue;">Back-end Callback URL</mark> from the Plugin Page, and paste it into the <mark style="color:blue;">`CALL_BACK_URL`</mark> in the CoinbarPay Management Panel.&#x20;

## Step 4 - Optional / Customizations

Here below you can see:&#x20;

* <mark style="color:blue;">**Method Title:**</mark> You can change the payment system title.
* <mark style="color:blue;">**Customer Message:**</mark> Any additional message that you want to show below CoinbarPay payment solution
* <mark style="color:blue;">**Make Text Box required:**</mark> you set up as mandatory the text field
* <mark style="color:blue;">**Hide Text box:**</mark> you can hide the text box for customer
* <mark style="color:blue;">**Order Status after the Checkout:**</mark> setup the best order status after checkout if this gateway is used

{% hint style="info" %}
We recommend keeping the variables "as-is"
{% endhint %}

<figure><img src="https://3385475742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBIXeXFNYclIzjdhHCw61%2Fuploads%2FxRUW8H2rRA7yuwnChce3%2Fimage.png?alt=media&#x26;token=ba94af68-708c-4fdb-bad4-79c6d2f088c8" alt=""><figcaption></figcaption></figure>
