# 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.maibmerchants.md/e-commerce/plugins-and-solutions/gomag.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
