Testing
Cashier Customer Support Team is able to set up PSP/APM testing payment providers, named "Phantom", and put it in the default cascading rule.
Merchants will then be able to test their integration by simulating different scenarios pre-programmed in testing payment providers.
Card Payment
Testing provider name: Phantom PSP.
Once testing provider is configured by Cashier Customer Support Team, Merchant can deposit through this PSP using fake credit card details and test the deposit flow from end to end. https://www.freeformatter.com/credit-card-number-generator-validator.html
Non-3D flow
Use specific deposit amounts to get desired status of transaction automatically.
| Amount | Received status |
|---|---|
| <= 600 | Success |
| 600 < 1000 | Failed |
| >= 1000 & Even | Success |
| >= 1000 & Odd | Failed |
3DS flow
- Initiate a card payment using any valid card data and any amount.
- Pending status will be returned with 3D secure form for any request. Status will be changed after submitting form.
- Payment will be successful in case of valid OTP password: 31281.
- Status failed will be returned for invalid OTP password (any other than 31281).

Alternative Payment Method(APM) flow
To test Alternative Payment Method (APM) flow, Merchants can use the PhantomAPM testing provider. Different deposit amounts are used to test different scenarios, listed in the table below.
| Amount | Received status |
|---|---|
| <= 100 | Success |
| 100 < x <= 200 | Failed |
| 310 <= x <= 330 | Partial . Simulate Fiat APM provider |
| 331 <= x <= 350 | Partial. Simulate Crypto APM provider |
| 400 <= x <= 450 | Partial. Received amount less than original on 5 major units. Same for converted. Need to choose Success on Provider’s Deposit page |
| 451 <= x <= 500 | Partial. Received amount more than original on 5 major units. Same for converted. Need to choose Success on Provider’s Deposit page |
| Any | Pending (Provider’s Deposit page is shown. Can be simulated Success/Failed status) |
Error codes
To get specific errors for testing card payments, please use the amounts from the table below.
| Amount | Error code |
|---|---|
1001 | REQUEST_IS_NOT_VALID |
1003 | FIELD_VALUE_IS_NOT_VALID |
1005 | FIELD_VALUE_IS_MISSING |
1007 | AUTH_DATA_IS_NOT_VALID |
1009 | CURRENCY_IS_NOT_SUPPORTED |
1011 | DAILY_TRANSACTION_AMOUNT_LIMIT_EXCEEDED |
1013 | DAILY_TRANSACTION_COUNT_LIMIT_EXCEEDED |
1015 | WEEKLY_TRANSACTION_AMOUNT_LIMIT_EXCEEDED |
1017 | WEEKLY_TRANSACTION_COUNT_LIMIT_EXCEEDED |
1019 | MONTHLY_TRANSACTION_AMOUNT_LIMIT_EXCEEDED |
1021 | MONTHLY_TRANSACTION_COUNT_LIMIT_EXCEEDED |
1023 | SINGLE_TRANSACTION_AMOUNT_EXCEEDED |
1025 | SINGLE_TRANSACTION_AMOUNT_TOO_SMALL |
1027 | DAILY_TRANSACTION_AMOUNT_BY_CARD_EXCEEDED |
1029 | WEEKLY_TRANSACTION_AMOUNT_BY_CARD_EXCEEDED |
1031 | MONTHLY_TRANSACTION_AMOUNT_BY_CARD_EXCEEDED |
1033 | DAILY_TRANSACTION_COUNT_BY_CARD_EXCEEDED |
1035 | WEEKLY_TRANSACTION_COUNT_BY_CARD_EXCEEDED |
1037 | MONTHLY_TRANSACTION_COUNT_BY_CARD_EXCEEDED |
1039 | DAILY_TRANSACTION_AMOUNT_BY_EMAIL_EXCEEDED |
1041 | WEEKLY_TRANSACTION_AMOUNT_BY_EMAIL_EXCEEDED |
1043 | MONTHLY_TRANSACTION_AMOUNT_BY_EMAIL_EXCEEDED |
1045 | DAILY_TRANSACTION_COUNT_BY_EMAIL_EXCEEDED |
1047 | WEEKLY_TRANSACTION_COUNT_BY_EMAIL_EXCEEDED |
1049 | MONTHLY_TRANSACTION_COUNT_BY_EMAIL_EXCEEDED |
1051 | CARD_NUMBER_INVALID |
1053 | CARD_IS_NOT_SUPPORTED |
1055 | CVC_CHECK_FAILED |
1057 | 3D_SECURE_FAILED |
1059 | CARD_EXPIRED |
1061 | FRAUD_ERROR |
1063 | RISKY_TRANSACTION |
1065 | INVALID_CREDENTIALS |
1067 | INVALID_TOKEN |
1069 | INTERNAL_ERROR |
1071 | USER_TIMEOUT |
1073 | COUNTRY_IS_NOT_SUPPORTED |
1075 | CARD_BIN_IS_NOT_SUPPORTED |
1077 | DEPOSIT_AMOUNT_IS_NOT_IN_RANGE |
1079 | WRONG_RECURRING_ID |
1081 | INVALID_ISSUER |
1083 | CARD_AMOUNT_BY_CUSTOMER_REACHED |
1085 | DAILY_DECLINES_BY_CARD_REACHED |
1087 | INSUFFICIENT_FUNDS |
1089 | TRANSACTION_IS_NOT_PERMITTED_BY_CARD |
1091 | USER_IP_BLACKLISTED |
1093 | BLOCKED_DUE_TO_PREVIOUS_FRAUD |
1095 | INVALID_CARD_DATA |
1097 | CASHIER_IP_ADDRESS_BLACKLISTED |
| Amount | Error code | Message |
|---|---|---|
1001 | REQUEST_IS_NOT_VALID | Request is not valid |
1003 | FIELD_VALUE_IS_NOT_VALID | Field value is not valid |
1005 | FIELD_VALUE_IS_MISSING | Field value is missing |
1007 | AUTH_DATA_IS_NOT_VALID | Auth data is not valid |
1009 | CURRENCY_IS_NOT_SUPPORTED | Currency is not supported |
1011 | DAILY_TRANSACTION_AMOUNT_LIMIT_EXCEEDED | Daily transaction amount limit exceeded |
1013 | DAILY_TRANSACTION_COUNT_LIMIT_EXCEEDED | Daily transaction count limit exceeded |
1015 | WEEKLY_TRANSACTION_AMOUNT_LIMIT_EXCEEDED | Weekly transaction amount limit exceeded |
1017 | WEEKLY_TRANSACTION_COUNT_LIMIT_EXCEEDED | Weekly transaction count limit exceeded |
1019 | MONTHLY_TRANSACTION_AMOUNT_LIMIT_EXCEEDED | Monthly transaction amount limit exceeded |
1021 | MONTHLY_TRANSACTION_COUNT_LIMIT_EXCEEDED | Monthly transaction count limit exceeded |
1023 | SINGLE_TRANSACTION_AMOUNT_EXCEEDED | Single transaction amount exceeded |
1025 | SINGLE_TRANSACTION_AMOUNT_TOO_SMALL | Single transaction amount too small |
1027 | DAILY_TRANSACTION_AMOUNT_BY_CARD_EXCEEDED | Daily transaction amount by card exceeded |
1029 | WEEKLY_TRANSACTION_AMOUNT_BY_CARD_EXCEEDED | Weekly transaction amount by card exceeded |
1031 | MONTHLY_TRANSACTION_AMOUNT_BY_CARD_EXCEEDED | Monthly transaction amount by card exceeded |
1033 | DAILY_TRANSACTION_COUNT_BY_CARD_EXCEEDED | Daily transaction count by card exceeded |
1035 | WEEKLY_TRANSACTION_COUNT_BY_CARD_EXCEEDED | Weekly transaction count by card exceeded |
1037 | MONTHLY_TRANSACTION_COUNT_BY_CARD_EXCEEDED | Monthly transaction count by card exceeded |
1039 | DAILY_TRANSACTION_AMOUNT_BY_EMAIL_EXCEEDED | Daily transaction amount by email exceeded |
1041 | WEEKLY_TRANSACTION_AMOUNT_BY_EMAIL_EXCEEDED | Weekly transaction amount by email exceeded |
1043 | MONTHLY_TRANSACTION_AMOUNT_BY_EMAIL_EXCEEDED | Monthly transaction amount by email exceeded |
1045 | DAILY_TRANSACTION_COUNT_BY_EMAIL_EXCEEDED | Daily transaction count by email exceeded |
1047 | WEEKLY_TRANSACTION_COUNT_BY_EMAIL_EXCEEDED | Weekly transaction count by email exceeded |
1049 | MONTHLY_TRANSACTION_COUNT_BY_EMAIL_EXCEEDED | Monthly transaction count by email exceeded |
1051 | CARD_NUMBER_INVALID | Card number invalid |
1053 | CARD_IS_NOT_SUPPORTED | Card is not supported |
1055 | CVC_CHECK_FAILED | Cvc check failed |
1057 | 3D_SECURE_FAILED | 3d secure failed |
1059 | CARD_EXPIRED | Card expired |
1061 | FRAUD_ERROR | Fraud error |
1063 | RISKY_TRANSACTION | Risky transaction |
1065 | INVALID_CREDENTIALS | Invalid credentials |
1067 | INVALID_TOKEN | Invalid token |
1069 | INTERNAL_ERROR | Internal error |
1071 | USER_TIMEOUT | User timeout |
1073 | COUNTRY_IS_NOT_SUPPORTED | Country is not supported |
1075 | CARD_BIN_IS_NOT_SUPPORTED | Card bin is not supported |
1077 | DEPOSIT_AMOUNT_IS_NOT_IN_RANGE | Deposit amount is not in range |
1079 | WRONG_RECURRING_ID | Wrong recurring id |
1081 | INVALID_ISSUER | Invalid issuer |
1083 | CARD_AMOUNT_BY_CUSTOMER_REACHED | Card amount by customer reached |
1085 | DAILY_DECLINES_BY_CARD_REACHED | Daily declines by card reached |
1087 | INSUFFICIENT_FUNDS | Insufficient funds |
1089 | TRANSACTION_IS_NOT_PERMITTED_BY_CARD | Transaction is not permitted by card |
1091 | USER_IP_BLACKLISTED | User ip blacklisted |
1093 | BLOCKED_DUE_TO_PREVIOUS_FRAUD | Blocked due to previous fraud |
1095 | INVALID_CARD_DATA | Invalid card data |
1097 | CASHIER_IP_ADDRESS_BLACKLISTED | Cashier ip address blacklisted |
1099 | 1001 | Card expired |
1101 | 1003 | Card number is invalid |
1103 | 1004 | Cardholder name is invalid |
1105 | 1005 | Card not verified |
1107 | 1006 | Account not verified |
1109 | 1007 | Card is unusable |
1111 | 1008 | Coupon is unusable |
1113 | 2001 | Technical issue occurred |
1115 | 3001 | Risk error |
1117 | 4001 | Payment limitation |
1119 | 4002 | Currency not supported |
1121 | 4003 | Authentication failed |
1123 | 4004 | Country not supported |
1125 | 4005 | IP is restricted |
1127 | 9001 | Transaction completion error |
1129 | 9002 | Account creation error |
1131 | 10000 | Undefined error |
Refund transaction
| Amount | Received status |
|---|---|
300 | Pending |
| Even | Success |
| Odd | Failed |