> For the complete documentation index, see [llms.txt](https://docs.maibmerchants.md/e-commerce/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.maibmerchants.md/e-commerce/plugins-and-solutions/gomag.md).

# Gomag

You can familiarize yourself with the integration steps and website requirements [here](/e-commerce/integration-steps-and-requirements.md).

To test the integration, you will need access to a Test Project (*Project ID / Project Secret / Signature Key*). For this, please submit a request to the email address: <ecom@maib.md>.

To process real payments, you must have the e-commerce contract signed and complete at least one successful transaction using the Test Project data and test [card details](#user-content-fn-1)[^1].

After signing the contract, you will receive access to the **maibmerchants** platform and be able to activate the Production Project.

### Project activation in maibmerchants

<div data-full-width="true"><figure><img src="/files/45X5fM0kfSUm5rXfUdrx" alt=""><figcaption><p>1</p></figcaption></figure> <figure><img src="/files/Jcy3UIafU1nFu08Qtsq9" alt=""><figcaption><p>2</p></figcaption></figure> <figure><img src="/files/pa5XsPmCqt9AXPMM9nve" alt=""><figcaption><p>3</p></figcaption></figure></div>

To activate the Project, please fill in all fields and click the "Activate" button.

**Domain** - website domain (e.g.: *shop.gomag.ro* or *domain.md*)

**Platform** - select **Gomag**

**Callback URL** - enter the link from the Callback URL field in the **maib** payment method settings on the Gomag platform.

**Ok URL** - Enter the link from the Ok URL/Fail URL field in the **maib** payment method settings on the Gomag platform.

**Fail URL** - Enter the link from the Ok URL/Fail URL field in the maib payment method settings on the Gomag platform.

Upon successful project activation, the *Project Secret* and *Signature Key* will become available, which need to be copied into the corresponding fields of the maib payment method settings in Gomag.

### Settings on the Gomag platform

<div data-full-width="true"><figure><img src="/files/gFTTQh46sFje6dIlzbhc" alt=""><figcaption><p>1</p></figcaption></figure> <figure><img src="/files/8KKrXgeDOAVym1iPy4yP" alt=""><figcaption><p>2</p></figcaption></figure> <figure><img src="/files/zFkXKucuXm4mjRq4rhfZ" alt=""><figcaption><p>3</p></figcaption></figure> <figure><img src="/files/cK784X9rfzoq1ePwqwAg" alt=""><figcaption><p>4</p></figcaption></figure></div>

Log in to your **Gomag** account and navigate to:

Settings -> Payment -> Alternative Payment Solutions -> **maib**

Make the necessary configurations, save, and activate the payment method:

**Callback URL** - Copy this link into the corresponding field of your project on the maibmerchants platform.

**Ok URL/Fail URL** - Copy this link into the respective fields of your project on the maibmerchants platform (Ok URL and Fail URL).

**Project ID** - Project ID on the maibmerchants platform.

**Project Secret** - Project Secret key on the maibmerchants platform. It is available upon project activation.

**Signature Key** - Signature key of the project on the maibmerchants platform. It is available upon project activation.

**Currency** - Select the currency for processing payments on the website (MDL/EUR/USD). It must match the currency of the project on the maibmerchants platform and in the e-commerce agreement.

**Additional Settings**

After activating the maib payment method, you need to perform some additional settings:

Settings -> Payment -> Active Payment Options -> **maib**

**Title** - The name of the maib payment method that the buyer will see during checkout. Add the following text: Online Payment.

**Description** - The description of the maib payment method that the buyer will see during checkout. Add the following text: Visa / Mastercard / Apple Pay / Google Pay or upload the image below.

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

[^1]: Card holder: Test Test

    Card number: 5102180060101124

    Exp. date: 06/28

    CVV: 760
