Skip to content

Instantly share code, notes, and snippets.

@vijinho
Created February 24, 2016 09:13
Show Gist options
  • Save vijinho/cc2b0c360157273776f3 to your computer and use it in GitHub Desktop.
Save vijinho/cc2b0c360157273776f3 to your computer and use it in GitHub Desktop.
test payment card numbers
<?php
$cards = [
'MasterCard0' => '5555555555554444',
'MasterCard1' => '5105105105105100',
'Visa0' => '4111111111111111',
'Visa1' => '4012888888881881',
'Visa2' => '4929000005559',
'Visa3' => '4929000000014',
'Visa4' => '4929000000022',
'Visa5' => '4222222222222',
'Visa6' => '4003830171874018',
'Visa7' => '4242424242424242',
'Visa8' => '4444333322221111',
'Visa9' => '4911830000000',
'Visa10' => '4917610000000000',
'Visa11' => '4242424242424242',
'Visa12' => '4000056655665556',
'VisaCorporate0' => '4484000000002',
'VisaDebit0' => '4462000000000003',
'VisaDebit1' => '4462030000000000',
'VisaDebit2' => '4917610000000000003',
'VisaElectron0' => '4917300000000008',
'VisaElectron1' => '4917300800000000',
'MasterCard2' => '5404000000000001',
'MasterCard3' => '5404000000000043',
'MasterCard4' => '5404000000000084',
'MasterCard5' => '5404000000000068',
'MasterCard5' => '5105105105105100',
'MasterCard7' => '5555555555554444',
'MasterCard8' => '5496198584584769',
'MasterCard9' => '5439750001500222',
'MasterCard10' => '5439750001500347',
'MasterCardDebit0' => '5573470000000001',
'Maestro0' => '6759000000005',
'Maestro1' => '6759411100000008',
'Maestro2' => '6799990100000000019',
'Maestro3' => '6759649826438453'
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment