# Service Configuration

When you have activated the CoinbarPay payment service for your account through the CoinbarPay Dashboard, it's essential to configure your shop's parameters to ensure a smooth and secure payment experience for your customers.&#x20;

{% hint style="info" %}
This topic will guide you through configuring your shop's <mark style="color:blue;">`WEB_URL_CALLBACK`</mark> and <mark style="color:blue;">`BE_URL_CALLBACK`</mark>, which are vital links in providing a seamless transaction experience with minimal disruptions.
{% endhint %}

### <mark style="color:blue;">`WEB_URL_CALLBACK`</mark>

The web\_url\_callback is the URL to which your customers will be redirected after they complete a payment through the CoinbarPay Web Gateway. This callback URL is typically a page on your website that displays a payment confirmation or a summary of the transaction.

To configure your <mark style="color:blue;">`WEB_URL_CALLBACK`</mark>:

1. Log in to your CoinbarPay Dashboard.
2. Navigate to the "Service Configuration" section.
3. Locate the "Web URL Callback" field and enter the desired URL, ensuring it is a valid and accessible link on your website.
4. Save your changes.

CoinbarPay will now automatically redirect your customers to this configured URL once a payment has been completed.

### <mark style="color:blue;">`BE_URL_CALLBACK`</mark>

The <mark style="color:blue;">`BE_URL_CALLBACK`</mark> is a server-side URL that CoinbarPay uses to send payment status updates and notifications securely.&#x20;

{% hint style="warning" %}

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

This callback ensures your backend systems are informed in real-time about any updates or changes related to a payment transaction.
{% endhint %}

To configure your be\_url\_callback:

1. Log in to your CoinbarPay Dashboard.
2. Navigate to the "Service Configuration" section.
3. Locate the "Backend URL Callback" field and enter the desired URL, ensuring it is a valid endpoint on your server.
4. Save your changes.

Upon successful configuration, CoinbarPay will send secure HTTP requests to this URL whenever there are updates or changes in payment status.

It is essential to properly handle these requests on your server-side and implement necessary actions, such as updating your database records, sending confirmation emails, or generating reports.

{% hint style="warning" %}

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

Ensure that both the <mark style="color:blue;">`WEB_URL_CALLBACK`</mark>and<mark style="color:blue;">`BE_URL_CALLBACK`</mark> are secure (HTTPS) and valids URLs, owned by You or Your Company, to avoid exposing sensitive customer or transaction data.&#x20;
{% endhint %}
