SagePay Test Card Details

This is post is now quite old and the the information it contains may be out of date or innacurate.

If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub

If you are testing out your SagePay integration, you need to be able to input some test card details that the system will accept.

Here they are:

or testing transactions on the Protx test server, use the following card numbers.

NB: there are NO dummy cards to use on the Live server. Actual Live bank cards must be used.

Card TypeProtx Card NameCard NumberIssue Number
Visa DeltaDELTA4462000000000003n/a
Visa Electron UK DebitUKE4917300000000008n/a
UK MaestroMAESTRO564182000000000501
International MaestroMAESTRO300000000000000004n/a
American ExpressAMEX374200000000004n/a
Japan Credit Bureau (JCB)JCB3569990000000009n/a
Diners ClubDC36000000000008n/a

You’ll also need to supply an Expiry Date in the future and the following values for CV2, Billing Address Numbers and Billing Post Code Numbers. These are the only values which will return as Matched. Any other values will return a Not Matched.

CV2: 123 Billing Address: 88 Billing PostCode: 412

Tags: testsagepaycarddetailsintegrationcreditdebit