Error codes for Charge creation
To trigger errors in the process of creating charges and settling authorized charges the cvv 888 can be used in combination with a number of amounts.
For example: a successful authorization can be performed and then a specific amount can be used for the settlement that will result in an error.
The table below shows the amounts to be used with cvv 888 to trigger errors.
Amount | Error state | Error code |
---|---|---|
1000 | success | |
1001 | processing_error | acquirer_communication_error |
1002 | processing_error | acquirer_error |
1003 | processing_error | acquirer_integration_error |
1004 | processing_error | acquirer_authentication_error |
1005 | processing_error | acquirer_configuration_error |
1006 | processing_error | acquirer_rejected_error |
2001 | soft_declined | insufficient_funds |
2002 | soft_declined | settle_blocked |
3001 | hard_declined | credit_card_expired |
3002 | hard_declined | declined_by_acquirer |
3003 | hard_declined | credit_card_lost_or_stolen |
3004 | hard_declined | credit_card_suspected_fraud |
3005 | hard_declined | authorization_expired |
3006 | hard_declined | authorization_amount_exceeded |
3007 | hard_declined | authorization_voided |
1337 | hard_declined | sca_required (Error for non-SCA payments to mimic PSD2 behaviour) |
Explanation of the error states:
processing error: Every major card network has a category of chargeback reason codes called payment processing errors. Payment processing error chargebacks occur when a merchant has made a technical error when processing a payment, such as charging the wrong amount or processing a charge twice.
soft declined: Soft declines typically happen with debit card payments. They occur when the card issuer approves the payment, but the transaction fails at another step in the process. They are temporary authorization failures that may be successful after a retry attempt.
hard declined: A hard decline is when the issuing bank does not approve the payment. In other words, hard declines are permanent authorization failures and should not be retried. These failures may be caused by eg. a stolen card.