Judopay Documentation

Sandbox Testing

Updates are released to our sandbox environment on a regular basis, continually test your app, to ensure your integration is working with the latest updates.

Note

Test all your required payment types in the sandbox environment before going live.

It is advised to generate:

  • Successful

  • Declined

  • Error results.

Test Cards

To test transactions, use the test cards in the Judopay Portal to process transactions in the sandbox environment.

The test cards will behave as valid cards and will only work in the sandbox.

View Test Cards

From the Judopay Portal:

To view Test Card Details:

view test card details

Step

Description

One.png

From the side menu, select Tools

Two.png

Select Generating transactions

Three.png

The Test Card Details screen appears.

Use these Test Card details to generate a successful transaction.

Four.png

Use these Test Card details to generate a declined transaction.

Tip

If you would like to test CheckCard or Google Pay in the Sandbox, please contact customer support.

Test Scenarios

Successful Payments

  • To generate a Successful Transaction use the test cards provided in the Judopay Portal

  • Capture and record the receipt ID for this transaction

  • To support repeat payments (one-click payments) capture the card tokenconsumer token | consumer reference

    Note

    All three fields need to be provided in a repeat payment for it to be successful.

  • Ensure all transactions reach your back-office

 

Declined Payments

  • To generate a Declined Payment status for Card Payments | Pre-Authorizations | Repeat Card Payments, use the Test Cards provided in the Judopay Portal

  • When testing for a Payment Declined status, process transactions with the following variables:

    • Incorrect CV2 (card security code) values

    • Incorrect/Invalid dates

    • Invalid card numbers

    • For repeat payments, use an incorrect match of card token and consumer reference

Payment Errors

  • To test an unexpected error occurring during a payment (an upstream error processing a transaction), ensure this is handled by your app or backend (depending on your integration).

  • One example of a test:

    • Pass an invalid Token and Secret.

    See how your app handles the error.

Test Card Details

Below are details of test card data that can be used when integrating with the Gateway.  

Note

Please note that ONLY these card details will work in test mode – real card numbers will NOT work.

Test Case

Card Result*

Card Enrolled for 3D Secure?

Description

1

Authorised

No

For cards that are not 3D Secure enrolled and will be authorised.

They still might be declined by the AVS/CV2 checks.

2

Declined

No

For cards that are not 3D Secure enrolled. They will always result in the authorisation being declined, even if they pass the AVS/CV2 checks.

3

Referred

No

For cards that are not 3D Secure enrolled. They will always result in the authorisation being referred, even if they pass the AVS/CV2 checks.

4

Authorised

Yes

For cards that are 3D Secure enrolled and will be authorised.

They still might be declined by the AVS/CV2 checks, or if the 3D Secure password is incorrect.

5

Declined

Yes

For cards that are 3D Secure enrolled. They will always result in the authorisation being declined, even if they pass the AVS/CV2 or 3D Secure checks.

6

Referred

Yes

For cards that are 3D Secure enrolled. They will always result in the authorisation being referred, even if they pass the AVS/CV2 or 3D Secure checks.

*This is the authorisation phase result – the ultimate result of whether the transaction is accepted or declined can still be influenced by the:

  • CV2 

  • Address data

  • 3D Secure 

result that is submitted with the transaction.

For example: Test Case 1: (based on your account’s AVS/CV2 policies), the transaction can still be declined if an incorrect CV2 is submitted.

Test Case 4: A decline can still be achieved if the 3D Secure result = failed in the ACS simulator.

Test Case - Card Abbreviation Keys:

Card Abbreviation

Card Type

VC

Visa

VD

Visa Debit (Delta)

MA

Maestro

MC

MasterCard

EL

Visa Electron

VP

Visa Purchasing (Corporate)

AM

American Express

JCB

JCB

Test Case 1

Authorisation Successful with no 3D Secure

Card Type

Card Name

Card Number

Expiry Date

Start Date

CV2

Address

Visa Credit

John Watson

4976 0000 0000 3436

12/20

01/07

452

32 Edward Street,

Camborne,

Cornwall

TR14 8PA

Visa Debit

James Jackson

4921 8100 0000 5462

12/20

01/07

441

11 St Kitts Close,

Torquay,

Devon

TQ2 7DQ

Mastercard

Luke Johns

5100 0000 0000 5460

12/20

01/07

524

22 Kelgate,

Mosborough,

South Yorkshire

S20 5EJ

Visa Electron

Patrick Smith

4508 7500 0000 5461

12/20

01/07

568

29 Normanton Road,

Basingstoke,

Hampshire

RG21 5QP

Solo

Kate Rider

6767 0000 0000 5462

12/20

01/07

741

17 Hilton Court,

Langshott,

Horley,

Surrey

RH6 9GS

Visa Purchasing

Geoff Lewis

4001 6580 3548 6204

12/20

01/07

234

18 Hartland Way,

Morden,

Surrey

SM4 5QN

Maestro

6759 0000 0000 5462

12/20

01/07

789

Amex

Jake Keaton

3400 0043 2128 428

12/20

01/07

3469

45 Christchurch Avenue,

London,

London

NW6 7BB

JCB

Sam Burton

3528 0080 3548 6208

12/15

01/07

135

32 Yarborough Road,

Grimsby,

South Humberside

DN34 4EH

Test Case 2

Authorisation Declined with no 3D Secure

Card Type

Card Name

Card Number

Expiry Date

Start Date

CV2

Address

Visa Credit

Ian Lee

4221690000004963

12/20

01/07

125

274 Lymington Avenue,

London,

London

N22 6JN

Visa Debit

Jack Lewis

4921810000009076

12/20

01/07

875

4 Wing Road,

Leighton Buzzard,

Bedfordshire

LU7 0JB

Maestro

Mandy Hunt

6759000000009076

12/20

01/07

671

39 Selwyn Crescent,

Radley,

Oxfordshire

OX14 3AL

Mastercard

Nick Podd

5100000000009074

12/20

01/07

915

288 Upholland Road,

Wigan,

Lancashire

WN5 7AJ

Electron

Paul Link

4508750000009075

12/20

01/07

025

20 Western Avenue,

Branksome Park,

Poole,

Dorset

BH13 7AN

Solo

Graham Andrews

6767000000009076

12/20

01/07

784

4 Baltimore Avenue,

Sunderland,

Tyne and Wear

SR5 4RG

Visa Purchasing

Jerry Gough

4001651503580749

12/20

01/07

089

22 Hillside Crescent,

Northwood,

Middlesex

HA6 1RP

Amex

Lee Chase

340000150358074

12/20

01/07

7654

334 St John’s Place,

Torquay,

Devon

TQ1 1BH

JCB

Richard MacDonald

3528001503580743

12/20

01/07

349

100 Dale Street,

London,

London

W4 2BL

Test Case 3

Authorisation Referred with no 3D Secure

Card Type

Card Name

Card Number

Expiry Date

Start Date

CV2

Address

Visa Credit

George Toole

4792840000009202

12/20

01/07

654

9 Udney Park Road,

Teddington,

Middlesex

TW11 9BB

Visa Debit

Peter Long

4921810000005850

12/20

01/07

217

54 Caxton Close,

Tiptree,

Colchester,

Essex

CO5 0HA

Maestro

Henry McBride

6759000000005850

12/20

01/07

458

11 Burnham Wood,

Fareham,

Hampshire

PO16 7UD

Mastercard

Susan Kitchen

5100000000005858

12/20

01/07

844

17 Suffolk Road,

North Harrow,

London

HA2 7QH

Electron

Richard Ross

4508750000005859

12/20

01/07

751

24 Willoughby Avenue,

Manchester,

Lancashire

M20 6AS

Solo

Mike Cooper

6767000000005850

12/20

01/07

988

3 Kemps Way,

Robertsbridge,

East Sussex

TN32 5PD

Visa Purchasing

William Nicolson

4001655504826456

12/20

01/07

454

32 Stainers Mead,

Motcombe,

Shaftesbury,

Dorset

SP7 9QF

Amex

Kim Hall

340000550482649

12/20

01/07

3674

671 Winchester Drive,

Chichester,

West Sussex

PO19 5DE

JCB

Patrick Williams

3528005504826450

12/20

01/07

454

678 Beauchamp Road,

Malvern Link,

Worcestershire

WR14 1RZ

Test Case 4

Authorisation Successful with 3D Secure

Card Type

Card Name

Card Number

Expiry Date

Start Date

CV2

Address

Visa Credit

Geoff Wayne

4976 3500 0000 6891

12/20

01/07

341

113 Glendower Road,

Birmingham,

West Midlands

B42 1SX

Visa Debit

James Marshall

4921 8100 0000 1909

12/20

01/07

642

109 Lister Lane,

Halifax,

West Yorkshire

HX1 5JZ

Maestro

Anthony Walker

6759 0000 0000 1909

12/20

01/07

784

100 Tachbrook Street,

Leamington Spa,

Warwickshire

CV31 2BH

Mastercard

Jon Robb

5100 0000 0000 1907

12/20

01/07

654

9 Mount Orchard,

Tenbury Wells,

Worcestershire

WR15 8DW

Electron

Timothy Taylor

4508 7500 0000 1908

12/20

01/07

159

79 Rectory Road,

Markfield,

Leicestershire

LE67 9WN

Visa Purchasing

Ray Sheen

4001 6506 1790 7186

12/20

01/07

534

34 Pinewood Close,

Bourne,

Lincolnshire

PE10 9RL

Amex

Mark Dalton

3400 0006 1790 712

12/20

01/07

5464

45 Tallis Road,

Churchdown,

Gloucester,

Gloucestershire

GL3 1LX

Maestro

Paul Taylor

6759 0000 0000 5462

12/20

01/07

789

7 Balmore Drive,

Reading,

Berkshire

RG4 8NL

JCB

Shirley Anderson

3528 0006 1790 7180

12/20

01/07

642

79 Portland Crescent,

Lower Feltham,

Middlesex

TW13 4RY

Test Case 5

Authorisation Declined with 3D Secure

Card Type

Card Name

Card Number

Expiry Date

Start Date

CV2

Address

Visa Credit

Kirsty Catlin

4282 7300 0000 2397

12/20

01/07

985

30 Princess Victoria Street,

Clifton,

Bristol,

Avon

BS8 4BZ

Visa Debit

Fiona Gates

4921810000008011

12/20

01/07

857

3 The Clays,

Market Lavington,

Wiltshire

SN10 4AY

Maestro

John Askwith

6759000000008011

12/20

01/07

078

28 Wilkins Close,

Upper Stratton,

Wiltshire

SN2 7XN

Mastercard

Graeme Brown

5100000000008019

12/20

01/07

871

46 Southfields,

Crayke,

York,

North Yorkshire

YO61 4TH

Electron

Victoria Bury

4508750000008010

12/20

01/07

656

15 Western Gales Way,

Normanton,

West Yorkshire

WF6 1UA

Visa Purchasing

James O’Hara

4001651463041773

12/20

01/07

664

141 Colemansmoor Lane,

Woodley,

Reading,

Berkshire

RG5 4BT

Amex

Damon Corrigan

340000146304174

12/20

01/07

2445

48 Wellesley Road,

Chiswick,

London,

London

W4 4BL

JCB

Philip Ramsey

3528001463041777

12/20

01/07

724

78 Lowcay Road,

Southsea,

Hampshire

PO5 2QA

Test Case 6

Authorisation Referred with 3D Secure

Card Type

Card Name

Card Number

Expiry Date

Start Date

CV2

Address

Visa Credit

Julie Bean

4104710000005315

12/20

01/07

487

84 Buckingham Road,

London,

London

NW10 4RR

Visa Debit

Nigel Munroe

4921810000000471

12/20

01/07

874

55 Wordsworth Drive,

Market Drayton,

Shropshire

TF9 1ND

Maestro

Alice Shouler

6759000000000471

12/20

01/07

679

76 Beddington Gardens,

Carshalton Beeches,

Surrey

SM5 3HQ

Mastercard

Harry Boot

5100000000000479

12/20

01/07

555

64 Green Park Road,

Southampton,

Hampshire

SO16 9AD

Electron

Philippa Waye

4508750000000470

12/20

01/07

784

100 Broad Street,

Birmingham,

West Midlands

B15 1AE

Visa Purchasing

Heston Gibbs

4001653139120510

12/20

01/07

289

45 Mardale Avenue,

Royton,

Lancashire

OL2 6UT

Amex

Hugh Lowe

340000041582957

12/20

01/07

2465

35 Manor Road,

Willington,

County Durham,

DL15 0QX

JCB

Annette Irons

3528003139120514

12/20

01/07

232

45 King's Road,

Chelsea,

London

SW3 5UZ