Creating a deferred paymentPayPal
In order to use this feature, ask your PayPal account manager to check whether the ORDER mode is enabled for your MID. |
- 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 PAYPAL_SB;PAYPALto directly call the PayPal payment button in test mode or in production mode. 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 Code of the currency used for the payment. 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 Delay before capture in the bank, the value must be greater than 0 n..3 E.g.: 3 vads_validation_mode Specifies the validation mode of the transaction (manually by the merchant, or automatically by the payment gateway). n1 0 or 1 or absent or empty - Add the optional fields described in the following chapters according to your requirements.
- Compute the value of the signature field using all the fields of your form that start with vads_ (see chapter Computing the signature of the Implementation Guide Hosted Payment Page available on our website).