Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TypeUsage
invalidUse whenever the gateway processor submits an invalid request.
transaction_not_foundUse whenever the gateway processor does not recognize the transaction.
unsupportedUse whenever the gateway does not support the requested action (e.g. refund())
general

Use for all other cases.

Setting Errors

Code Block
languagephp
$this->Input->setErrors($this->getCommonError("unsupported"));