Test Cards

Simulate KNET and card payments in the sandbox before you go live.

Use these test cards on the Sandbox payment page (https://sandbox.sadadpay.net/pay/{KEY}) to simulate successful and failed payments. No real money is charged.

🚧

Sandbox only

Test cards work only in the Sandbox environment. They are declined in Live.

🚧

Test gateways can be unstable

The bank test gateways are sometimes unavailable. This happens on the gateway side, not on SADAD Pay. If a test payment page does not load, wait a few minutes and try again.

How to run a test payment

  1. Create an invoice in Sandbox, from the merchant portal or with POST /api/Invoice/insert.
  2. Open the invoice payment link (https://sandbox.sadadpay.net/pay/{KEY}).
  3. Choose KNET or Card, and enter one of the test cards below.
  4. Complete the payment, then check the invoice status with GET /api/Invoice/getbyid.
The sandbox payment page. Choose a payment method, such as KNET, to continue to the test gateway.

The sandbox payment page. Choose a payment method, such as KNET, to continue to the test gateway.

After a successful test payment, the invoice shows as Paid with the transaction details.

After a successful test payment, the invoice shows as Paid with the transaction details.

KNET

CardCard numberExpiry datePINResult
KNET Test Card (KNET1)8888 8800 0000 000109/30Any 4 digitsApproved

🚧

KNET test gateway location

The KNET test gateway does not work from all countries. If the KNET page does not load, try again later or test with a credit card instead.

👍

Cardholder name

You can enter any name in the cardholder name field.

375

The KNET test page. Enter a KNET test card from the table above.

Credit and debit cards

BrandCard number3-D Secure enrolled
Mastercard5123 4500 0000 0008Yes
Mastercard2223 0000 0000 0007Yes
Mastercard5111 1111 1111 1118No
Mastercard2223 0000 0000 0023No
Visa4508 7500 1574 1019Yes
Visa4012 0000 3333 0026No
American Express3456 789012 34564Yes
American Express3714 496353 98431No
Diners Club3012 3400 0000 00Yes
Diners Club3625 9600 0000 12No
JCB3528 0000 0000 0007Yes
JCB3528 1111 0000 0001No
Discover6011 0031 7998 8686Yes
Discover6011 9632 8009 9774No
Maestro5000 0000 0000 0000 005Yes
Maestro5666 5555 4444 3333No
UATP1354 9235 4874 528No
UATP1354 2000 1569 134No

📘

Which brands can I accept?

Test cards are provided for all major brands. The brands your customers can actually pay with depend on the payment methods enabled on your SADAD Pay account. UATP cards do not use a CVV or 3-D Secure.

Simulate different results

The expiry date you enter decides the result of a card payment:

Expiry dateResult
01/39Approved
05/39Declined
04/27Expired card
08/28Timed out
01/37Acquirer system error
02/37Unspecified failure
05/37Unknown error

The CVV you enter decides the result of the CVV check:

CVVCVV (American Express)Result
1001000Match
1011010Not processed
1021020No match

👍

Quick success test

For a normal successful card payment, use expiry date 01/39 and CVV 100 (or 1000 for American Express).

After testing

When your test payments work as expected, follow the Go-Live Checklist and switch to your Live account. See Sandbox & Live Accounts.