Creating an immediate payment
- Use all the fields presented in the table below to create 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.
It is recommended not to leave the field empty.
enum - POSTFINANCE to call the Postfinance Card payment button.
- POSTFINANCE_EFIN to call the Postfinance e-finance payment button.
vads_site_id Shop ID n8 E.g.: 12345678 vads_ctx_mode Mode of interaction with the payment gateway enum TEST orPRODUCTION 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 (cents for euro) n..12 E.g.: 4525 for EUR 45.25 vads_currency Numeric currency code to be used for the payment, in compliance with the ISO 4217 standard (numeric code). n3 E.g.: 978 for euro (EUR) 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 0 vads_validation_mode Validation mode n1 0 (Automatic) - Add optional fields depending on your requirements (see the Using additional features chapter of the Hosted Payment Page Implementation Guide available in our online document archive).
- Compute the value of the signature field using all the fields of your form that start with vads_ (see the Computing the signature chapter of the Hosted Payment Page Implementation Guide available in our online document archive).