Connecting payment on the website through MAIB is carried out in several stages:
1. Connect test keys:
- receive a letter from the client with the company’s test data (below is a list of this data; they are always the same)
add a new integration to the admin (/admin/service_credentials/maibintegration/add/):
- selected for which site
- Check the Active box
- keys are copied from the letter:
- Project ID = projectId: 9B9C19AE-DC32-4128-9249-16412CCD7E6B
- Project Secret = projectSecret: efb8506c-0afb-4430-8e33-5b0336a18ccf
- Signature key = signatureKey: 4fa8f893-7f39-4f13-b5c2-34e6629b84dc
- data on the page is saved and the site cache is cleared
The website opens and a test order is created with the payment method MAIB
- when you go to the bank page, the test card data is indicated (data below)
- Cardholder: Test Test
- Card number: 5102180060101124
- Exp. date: 06/28
- payment for the order is completed
- a list of orders opens in the admin and then the completed order
- The order status is set to “Confirmed” and saved: this starts the payment approval process
- The order is reopened and the status is changed to Canceled
- copy the cost of the order for payment and go to the very bottom of the page
In the (green) field Amount for return, enter the full amount of the order as written in the description next to it and click on Return: this starts the refund process
After refreshing the page, open the order again and copy the code from the Transaction number field
- by mail, select Reply all for the letter and send a request to the bank to verify the payment and indicate the transaction number
- the letter must contain: [email protected], [email protected], [email protected], [email protected]
2. Design a website according to bank requirements:
The website must contain certain data that the bank requests:
- add icons to the footer: MAIB, Mastercard, VISA
- create and fill out the Terms and Privacy Policy page; the text of the page is attached to the documents; only need to be filled in with customer data
3. Connect keys for production:
- After launching the site for sales, write a letter to the bank with a notification and ask to send an account to set up keys for sales (all representatives of the bank are indicated)
A link to maibmerchat- bank account is sent to the client’s email
This link is requested from the client to indicate the necessary data and payment settings
When you first click on the link, you are asked to create a password: either the client tells you what password to specify, or a random one is created and then sent to the client
An account is opened, “Detalii project” is selected and the following data is added:
- Denumire platform - ECOM
- IP - 194.156.67.157
- Callback URL - https://admin.ecom.md/general/v2/order/maib_confirm/
- OK URL -
- Fail URL - https://{domain.md}/{lang}
Data on the page is saved
- The project is activated - the "Activeaza" button
- 3 additional fields with keys appear
The keys are copied and added to the integration admin:
- Project ID
- Project Secret
- Signature key
Data is saved in the admin
Online payment system connected successfully!!!
Files:
- attachfile_ maib.png (2.48KB)
- attachfile_ mastercard.png (1.61KB)
- attachfile_ Ro- Terms and Conditions.docx (11.2KB)
- attachfile_ Ru-Terms and Conditions .docx (12.4KB)
- attachfile_ visa.png (1.65KB)
Was the article helpful?
Yes, thank you! Unfortunately no