Testing and troubleshooting
This page will cover some general information that can help you test and troubleshoot your integrations with Cashflows.
Integration account
You need different credentials for the integration and production environments, to create an integration account for testing purposes contact implementations@cashflows.com.
Integration environments
To test integrations before going live, we have integration environments available you can use to simulate different payment scenarios:
Cashflows Gateway API - https://secure-int.cashflows.com/gateway/
Payments API - https://integration.cashflows.com/payments/
Remote Auth API - https://secure-int.cashflows.com/gateway/remote_auth
Test cards
If you are testing card payments, you need to use a valid card number. Here are some test card numbers that you can use:
|
Card Type |
CVC |
Expiry date |
---|---|---|---|
|
Visa - Credit |
123 |
Any future date within 10 years |
|
Visa - Credit |
123 |
Any future date within 10 years |
|
Visa - Credit |
123 |
Any future date within 10 years |
|
Visa - Credit |
123 |
Any future date within 10 years |
|
Visa - Credit |
123 |
Any future date within 10 years |
|
Visa - Debit |
123 |
Any future date within 10 years |
|
Visa - Debit |
123 |
Any future date within 10 years |
|
Mastercard - Credit |
123 |
Any future date within 10 years |
|
Mastercard - Credit |
123 |
Any future date within 10 years |
|
Mastercard - Credit |
123 |
Any future date within 10 years |
|
Mastercard - Debit |
123 |
Any future date within 10 years |
|
Mastercard - Debit |
123 |
Any future date within 10 years |
|
American Express - Credit |
1234 |
Any future date within 10 years |
Specify transaction result
You can use specific values as the cardHolderName
to trigger specific results for the test transaction:
|
Response |
---|---|
|
Success response |
|
Challenge response |
|
Decoupled challenge |
|
Not authenticated |
|
Not authenticated (with proof of authentication) |
|
Failed for technical reasons |
|
Rejected by issuer |
Left blank |
Failed response |
Error codes and warning messages
This section covers potential error code or messages and warnings you may receive from Cashflows services.
Error codes
Error |
Description |
---|---|
|
Cannot recur on a non recurring parent. |
|
The total capture amount exceeds original authorised amount. |
|
Payment has been refused. |
|
Refund has been refused. |
|
Credit payment has been refused. |
|
Capture has an invalid status. |
|
Unable to refund this payment. |
|
Unable to perform credit payment. |
|
Payment has an invalid status. |
|
Refund has an invalid status. |
|
Card payments without 3D Secure are not allowed. |
|
No payment method selected. |
|
The supplied order reference is not unique. |
|
Payment has already been fully refunded. |
|
Payment job is already final. |
|
Payment job can not be cancelled. |
|
Error while communicating. |
|
Payment method not allowed. |
|
The payment method rejected the request. |
|
Invalid amount for payment method. |
|
The validation for recipient detail fields failed. |
|
The total refund amount exceeds original paid amount. |
|
3DSecure Authentication Failed - Payment cannot proceed. |
|
3DSecure Authentication Unavailable - Payment cannot proceed. |
|
3DSecure Authentication Unavailable - Payment cannot proceed. |
|
Invalid customer reference provided. |
|
Direct card payments are not allowed. |
|
Too many attempts. |
|
It is not allowed to set parent frame domains for embedding the payment page. |
|
Unable to create paymentjob without payment methods available. |
Warning messages
Warning |
Description |
---|---|
|
Payment has an unexpected status. |
|
The maximum number of stored tokens for a customer has been reached. |
|
Supplied payment page reference does not exists. |
Contact and Support
If you need additional support please contact one of the below teams. Phone lines are open Monday to Friday between 09:00 and 17:00 UTC.
Application and account setup
For information relating to your application or technical implementation, please use the contact details below:
Application progress - 0330 128 9855
Implementations - 0330 128 9855
Account support
To assist you in your day-to-day running of your account, please use the contact details below:
Customer support - 0330 128 9855
Technical support - 0330 128 9855