Creating an immediate payment
A payment is considered as immediate payment if:
- the amount is debited once,
- the capture delay at the bank is 0 days.
An authorization request for the total amount is sent. The payment is captured at the bank as soon as possible.
- Use all the fields presented in the table below to build your payment form.
Field name Description Format Value vads_payment_cards Allows to force the card type to be used. It is recommended to provide a different payment button for each payment method on the merchant website.
enum - PRV_BDP to call the HOA PRIVATIVE card payment button.
- PRV_BDT to call the Tiare card payment button.
- PRV_OPT to call the MARARA payment button.
- PRV_SOC to call the Banque SOCREDO payment button.
- PRV_SMART_CARD to call the BRED Smart Card payment button.
vads_site_id Shop ID n8 E.g.: 12345678 vads_ctx_mode Mode of interaction with the payment gateway enum TESTorPRODUCTION vads_trans_id Transaction number. Must be unique within the same day (from 00:00:00 UTC to 23:59:59 UTC).
Warning: this field is not case sensitive.
an6 E.g.: xrT15p vads_trans_date Date and time of the payment form in UTC format n14 Respect the YYYYMMDDHHMMSS format
E.g.: 20200101130025vads_amount Payment amount in the smallest currency unit n..12 E.g.: 4525 for 4525 XPF vads_currency Numeric currency code to be used for the payment, in compliance with the ISO 4217 standard (numeric code). n3 E.g.: 953 for CFP Franc (XPF) vads_action_mode Acquisition mode for payment method data enum INTERACTIVE vads_page_action Action to perform enum PAYMENT vads_version Version of the exchange protocol with the payment gateway enum V2 vads_payment_config Payment type enum SINGLE vads_capture_delay Capture delay n..3 vads_validation_mode Validation mode n1 0(automatic) or1(manual) - Add optional fields according to your requirements (see chapter Using additional features.
- Compute the value of the fieldsignatureusing all the fields of your form beginning withvads_(see chapter Computing the signature).