If you are integrating your shop with Square, you will need to have some test bank card numbers at hand.
With test bank cards listed below, you can easily generate dummy orders in a sandbox environment (also called the test environment) and pass the integration testing.
Here is the full list of Square test credit card numbers:
|Visa||4111 1111 1111 1111||Any||111|
|Mastercard||5105 1051 0510 5100||Any||111|
|American Express||3400 000000 00009||Any||1111|
|Discover||6011 0000 0000 0004||Any||111|
|Diners Club||3000 000000 0004||Any||111|
|JCB||3569 9900 1009 5841||Any||111|
|China UnionPay||6222 9888 1234 0000||Any||123|
|Square Gift Card||7783 3200 0000 0000||Any|
Note: You can set card expiry date to any future month and year. In case you try to enter expiry date that is due, you will not be able to proceed with the test order as the system will consider the payment card to be expired.
Good luck with the integration testing!
If you found this post helpful, I'd appreciate it if you would share it.
Author: Drasko Georgijev
I'm a financial technology professional with 15+ years of experience in payment cards, eCommerce, card machines transaction processing and switching.
From time to time, I'm sharing some helpful tips, tactics, and news about Digital Commerce and Fintech.
So don't forget to share this post and subscribe to my mailing list.
Got questions? Ping me on LinkedIn.