> 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="https://2209855812-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPDIM0OxcpQbz9TdR5jZJ%2Fuploads%2FMHqOfci5bcaXYQ1bET6R%2F1.PNG?alt=media&amp;token=ece8f00c-ed76-47c6-8fac-6190a324b972" alt=""><figcaption><p>1</p></figcaption></figure> <figure><img src="https://2209855812-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPDIM0OxcpQbz9TdR5jZJ%2Fuploads%2F2lWjb5YHEQKp73D5378p%2F2.PNG?alt=media&amp;token=3166a0d1-6d40-48c8-bd29-5c2177f8d39c" alt=""><figcaption><p>2</p></figcaption></figure> <figure><img src="https://2209855812-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPDIM0OxcpQbz9TdR5jZJ%2Fuploads%2FncubKCxHRj7AUA76ogGk%2F3.PNG?alt=media&amp;token=d368bd86-b3c4-48f6-ae46-9f1ca27e0f32" 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="https://2209855812-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPDIM0OxcpQbz9TdR5jZJ%2Fuploads%2FAAt7DOVvW1I62DMNAGjz%2F1.PNG?alt=media&amp;token=82967edb-c4c5-4502-bef6-5b5eb3d7b391" alt=""><figcaption><p>1</p></figcaption></figure> <figure><img src="https://2209855812-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPDIM0OxcpQbz9TdR5jZJ%2Fuploads%2FWCF15bKRa6bfMrUDpwOp%2F2.PNG?alt=media&amp;token=ef791db4-2e9c-4ff6-83f1-ff84d889ec1d" alt=""><figcaption><p>2</p></figcaption></figure> <figure><img src="https://2209855812-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPDIM0OxcpQbz9TdR5jZJ%2Fuploads%2FRH7uwGdiYP40zuwIVsMT%2F3.PNG?alt=media&amp;token=70c203e6-24a3-46c9-ac8b-81efd7279325" alt=""><figcaption><p>3</p></figcaption></figure> <figure><img src="https://2209855812-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPDIM0OxcpQbz9TdR5jZJ%2Fuploads%2FZeTCqJAlDxUxfWzPFveE%2F4.PNG?alt=media&amp;token=a377e737-af0a-4cb6-87a3-c41946f0dec0" 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="https://2209855812-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPDIM0OxcpQbz9TdR5jZJ%2Fuploads%2FlLVvRewRwem0mLIv1iM9%2Fmaib_method.png?alt=media&amp;token=e632020c-bebe-4d5f-aa15-48cb7aab67e0" alt=""><figcaption></figcaption></figure></div>

[^1]: Card holder: Test Test

    Card number: 5102180060101124

    Exp. date: 06/28

    CVV: 760
