MIDs
Last updated
Last updated
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
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:
standard parameters
midsBilerId = the MIDs gateway id on which to transact
Import Click API returns a sessionId along with a list of alternate payment methods (services)
example: midsApms: [ { 'serviceName' => 'example_service', 'serviceCurrency' => 'USD' } ]
Present the payment methods on the checkout page
standard parameters
paySource = PREPAID
prepaidType = MIDS
forceMerchantId = the MIDs gateway id on which to transact (should be the same as midsBilerId on the Import Click APIn request)
custom_order_service = the name of the chosen payment method (this must match a serviceName from the Import Click API response)
custom_order_document_type = one of the following, based on the chosen service
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
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.
Call the on your checkout page with:
Once the shopper selects a method, call with:
Import Order will return a url. Follow the to allow the shopper to complete checkout.