vads_ctx_mode

Description

Mandatory parameter.

Defines the context mode of the payment gateway.

Affects the choice of the certificate (test or production) to use for computing the signature.

The TEST certificate remains available even after the generation of the production certificate.

If you create a new merchant website (or have access to the acceptance testing environment), you can make tests without affecting the website that is currently in production.
Format string (enum)
Error code 11

Frequent errors:

  • The mode has not been sent to the payment gateway.
  • Do not use PROD for PRODUCTION in the code.
  • Do not enter the value in lower case (test or production). This field only accepts unabbreviated values written in capital letters.
Possible values TEST, PRODUCTION
Category Technical details.