MIDs

STEP 1

Obtain AccountId and ApiKey from your MIDs account

STEP 2

Go to Gateways > Gateway Integrations

Activate the MIDs gateway tile. Enter all the information from Step 1.

Service = Enter the payment service associated with credit cards. For example, payment_card_usd_hpp. This will get overwritten for alternate payment methods (see below).

STEP 3

If using 3DS then verify the checkout page follows these instructions

Basic 3DS Instructions

Alternate Payment Methods

MIDs supports alternate (non-card) payment methods. The available methods are on your MIDs account. Fetch the list of methods from MIDs, present the choice on your checkout page, and process the sale.

Follow these steps:

  1. Call the Import Click API on your checkout page with:

    1. standard parameters

    2. midsBilerId = the MIDs gateway id on which to transact

  2. Import Click API returns a sessionId along with a list of alternate payment methods (services)

    1. example: midsApms: [ { 'serviceName' => 'example_service', 'serviceCurrency' => 'USD' } ]

  3. Present the payment methods on the checkout page

  4. Once the shopper selects a method, call Import Order API with:

    1. standard parameters

    2. paySource = PREPAID

    3. prepaidType = MIDS

    4. forceMerchantId = the MIDs gateway id on which to transact (should be the same as midsBilerId on the Import Click APIn request)

    5. custom_order_service = the name of the chosen payment method (this must match a serviceName from the Import Click API response)

    6. custom_order_document_type = one of the following, based on the chosen service

      1. DNI|CUIT|CUIL|CPF|CNIC|CNPJ|RUT|RUN|ID|CC|NIT|CE|PASS|PPT|KTP|NIK|CURP|RFC|IFE|RUC|CPP|PSN|PCN|POC|RIC|NID|CI|CIP|CIC|CRP|CRC|DL|DPI|DUI|TDI|HC|UID|CIE|RD|RIF|NRIC|CNP|RNC|RC|RRN|TCKK

    7. custom_order_document_id = the value of the document type, entered by shopper on the checkout page. For example, if document_type is PASS then document_id is the passport number.

  5. Import Order will return a url. Follow the standard 3DS workflow to allow the shopper to complete checkout.

Last updated