Connecting payment integration via MAIB


Connecting payment on the website through MAIB is carried out in several stages:

1. Connect test keys:

  1. receive a letter from the client with the company’s test data (below is a list of this data; they are always the same)
  2. add a new integration to the admin (/admin/service_credentials/maibintegration/add/):

    1. selected for which site
    2. Check the Active box
    3. keys are copied from the letter:
      1. Project ID = projectId: 9B9C19AE-DC32-4128-9249-16412CCD7E6B
      2. Project Secret = projectSecret: efb8506c-0afb-4430-8e33-5b0336a18ccf
      3. Signature key = signatureKey: 4fa8f893-7f39-4f13-b5c2-34e6629b84dc
    4. data on the page is saved and the site cache is cleared
  3. The website opens and a test order is created with the payment method MAIB

  4. when you go to the bank page, the test card data is indicated (data below)
    1. Cardholder: Test Test
    2. Card number: 5102180060101124
    3. Exp. date: 06/28
  5. payment for the order is completed
  6. a list of orders opens in the admin and then the completed order
  7. The order status is set to “Confirmed” and saved: this starts the payment approval process
  8. The order is reopened and the status is changed to Canceled
  9. copy the cost of the order for payment and go to the very bottom of the page
  10. 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

  11. After refreshing the page, open the order again and copy the code from the Transaction number field

  12. by mail, select Reply all for the letter and send a request to the bank to verify the payment and indicate the transaction number
  13. 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:

  1. add icons to the footer: MAIB, Mastercard, VISA
  2. 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:

  1. 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)
  2. A link to maibmerchat- bank account is sent to the client’s email

  3. This link is requested from the client to indicate the necessary data and payment settings

  4. 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

  5. An account is opened, “Detalii project” is selected and the following data is added:

    1. Denumire platform - ECOM
    2. IP - 194.156.67.157
    3. Callback URL - https://admin.ecom.md/general/v2/order/maib_confirm/
    4. OK URL -
    5. Fail URL - https://{domain.md}/{lang}
  6. Data on the page is saved

  7. The project is activated - the "Activeaza" button
  8. 3 additional fields with keys appear
  9. The keys are copied and added to the integration admin:

    1. Project ID
    2. Project Secret
    3. Signature key
  10. Data is saved in the admin

Online payment system connected successfully!!!

Files:


Was the article helpful?

Yes, thank you! Unfortunately no

article.helpfulQuestion