Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "processout.js",
"version": "1.6.2",
"version": "1.6.3",
"description": "ProcessOut.js is a JavaScript library for ProcessOut's payment processing API.",
"scripts": {
"build:processout": "tsc -p src/processout && uglifyjs --compress --keep-fnames --ie8 dist/processout.js -o dist/processout.js",
Expand Down
25 changes: 23 additions & 2 deletions src/processout/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ module ProcessOut {
var schemes = {
"visa": ["4"],
"mastercard": ["22", "23", "24", "25", "26", "27", "51", "52", "53", "54", "55"],
"american-express": ["34", "37"],
"american-express": ["30", "31", "34", "35", "37"],
"union-pay": ["62"],
"diners-club": ["300", "301", "302", "303", "304", "305", "309", "36", "38", "39"],
"discover": ["6011", "62", "64", "65"],
Expand All @@ -662,7 +662,28 @@ module ProcessOut {
"naranja": ["377798", "377799", "402917", "402918", "527571", "527572", "589562"],
"cabal": ["589657", "600691", "603522", "6042", "6043", "636908"],
"argencard": ["501105"],
"carte bancaire": ["49707", "49783", "49771", "45950", "45334", "51336", "49836", "47722", "45721", "54515", "49732", "51345", "45626", "49774", "49734", "49738", "40220", "53253", "56125", "49835", "49715", "58171", "45619", "45954", "49793", "43782", "41506", "49773", "53710", "51338", "53102", "45940", "45627", "49766", "46978", "49720", "45611", "49902", "55700", "49796", "49733", "45930", "55961", "49792", "51348", "52945", "49708", "49726", "45610", "44995", "49739", "41507", "47717", "54985", "58170", "51327", "47260", "45335", "43951", "51365", "43950", "49746", "40100", "45629", "49731", "51810", "45332", "42011", "55420", "42346", "41993", "45333", "49723", "51361", "49719", "45929", "55426", "44244", "51330", "55981", "49752", "45621", "49764", "49755", "51321", "45615", "49765", "51375", "47802", "51372", "49742", "51377", "55886", "49837", "51623", "46983", "49716", "55391", "67759", "45613", "45568", "49758", "46609", "47480", "44841", "45958", "51320", "47729", "51319", "49722", "51317", "49745", "67117", "49797", "51313", "49714", "49704", "47726", "44996", "42012", "49791", "49749", "51341", "41503", "51325", "55980", "46657", "49711", "52948", "51371", "49717", "49838", "51314", "46703", "40355", "51324", "51350", "55892", "53103", "51353", "43783", "55496", "49839", "45612", "45620", "46547", "51316", "49763", "49721", "51379", "49728", "49770", "49776", "51521", "49909", "45616", "52954", "51312", "49901", "45939", "49712", "49775", "45720", "52166", "49735", "46982", "51337", "46361", "51374", "49788", "47961", "49785", "49741", "51385", "46986", "51364", "49795", "51992", "49703", "45937", "51323", "52931", "45617", "49760", "53119", "49709", "49724", "45566", "45623", "52922", "46969", "53506", "51360", "47427", "45560", "40593", "45628", "51357", "41505", "51315", "45337", "52942", "53610", "53611", "40594", "45624", "48651", "51366", "45567", "46896", "40657", "51750", "52933", "49756", "52943", "49790", "54953", "49761", "45056", "48373", "49906", "47809", "54284", "48369", "51332", "55399", "44855", "40223", "49777", "43787", "58175", "41509", "45614", "48160", "51301", "49754", "49753", "45054", "46980", "49737", "52920", "51356", "49713", "49706", "49725", "51390", "49779", "51370", "51318", "47268", "51354", "49750", "51386", "40221", "51367", "49744", "49730", "51373", "45771", "51736", "45745", "53411", "52371", "51300", "43953", "47718", "49748", "58177", "53711", "58176", "52886", "48362", "45330", "44245", "49740", "45622", "46625", "41717", "51302", "44997", "52944", "51369", "49747", "49772", "58178", "49768", "52941", "51363", "51362", "49781", "45618", "53234", "49789", "51326", "49799", "40209", "45331", "49702", "58173", "58174", "49743", "51352", "51311", "45625", "51335", "49905", "49786", "41628", "49798", "58179", "53801", "49767", "45339", "49769", "53250", "51328", "49782", "53410", "58172", "49778", "45051", "49736", "49718", "49900", "49903", "49784", "55397", "46321", "51376", "51331", "49710", "56124", "44853", "49759", "51351", "52949", "53532", "49904", "49787", "51322", "49762", "55888", "51620", "49794", "51355", "45932", "52946", "49780", "49757", "49729", "52947", "51310", "51329", "53502", "49751", "53255", "51378", "51303", "49727", "45933"],
"omannet": ["40380", "40402", "40570", "41046", "41329", "41637", "41924", "41929", "42268", "42282", "42637", "43241", "43308", "43323", "43382", "43594", "43742", "44716", "45659", "46001",
"46415", "46417", "46442", "46736", "47429", "48379", "48413", "48417", "48909", "51072", "52367", "52866", "53441", "53598", "53602", "53915", "53954", "54216", "54918", "55975", "51572",
"53422", "53918", "54913", "40754", "42261", "47382", "40474", "43935", "47245", "43663", "44747", "43347", "47971", "42147", "42136", "40277", "43909"],
"mada": ["40302", "40613", "40699", "40719", "40739", "40752", "40920", "41062", "41068", "41083", "41256", "41763", "41959", "42013", "42114", "42281", "42833", "42867", "43136", "43232",
"43410", "43995", "44053", "44064", "44079", "44246", "44556", "44639", "44640", "44667", "45503", "45570", "45786", "45799", "45845", "46222", "46854", "47449", "48301", "48478", "48609",
"48931", "50430", "51321", "52005", "52107", "52413", "52451", "52941", "52974", "53006", "53090", "53109", "53119", "53201", "53582", "53598", "53602", "53776", "54308", "54335", "54976",
"55418", "55856", "58526", "58884", "58885", "58898", "58900", "60490", "60514", "22402", "42689", "50696", "52166", "22337", "51613", "51507", "55561", "43126", "43573", "53973", "52494",
"49098", "40545", "49246", "44242", "42222", "45501", "40177", "40728", "45488", "44661"],
"carte bancaire": ["37745", "40158", "40209", "40210", "40223", "40355", "40357", "40575", "40593", "40594", "40657", "41384", "41481", "41505", "41506", "41507", "41628", "41653", "41657",
"41717", "42011", "42012", "42140", "42142", "42346", "43472", "43504", "43505", "43600", "43601", "43603", "43604", "43609", "43783", "43787", "43950", "43951", "43953", "43959", "43961", "43962",
"43967", "44244", "44245", "44661", "44841", "44995", "44996", "44997", "45051", "45054", "45056", "452", "45330", "45331", "45332",
"45333", "45334", "45335", "45336", "45337", "45338", "45339", "45566", "45567", "45568", "45610", "45611", "45612", "45613", "45614", "45615", "45616", "45617", "45618", "45619", "45620", "45621",
"45622", "45623", "45624", "45625", "45626", "45627", "45628", "45629", "45695", "45720", "45721", "45771", "45929", "45930", "45932", "45933", "45937", "45939", "45940", "45950", "45954", "45958",
"46099", "46321", "46547", "46609", "46625", "46657", "46703", "46969", "46978", "46986", "47410", "47717", "47718", "47722", "47726", "47729", "47802", "47809", "47961", "48109", "48362", "48369",
"48373", "48651", "49030", "49050", "49110", "49270", "49271", "49272", "49273", "49274", "49330", "49331", "49332", "49333", "49334", "49335", "49336", "49337", "49338", "49339", "49360", "49390",
"49391", "49392", "49393", "49394", "49395", "49396", "49397", "49398", "49399", "494", "495", "496", "497", "498", "499", "50163", "50176", "50438", "50447", "50452", "50497", "50758",
"50759", "513", "51521", "51736", "51764", "51810", "51992", "52371", "52742", "52922", "52931", "52941", "52942", "52943", "52944", "52945",
"52946", "52947", "52948", "52949", "52954", "53090", "53102", "53103", "53234", "53410", "53411", "53610", "53611", "53801", "54504", "54515", "54953", "54985", "55397", "55399", "55420", "55496",
"55700", "55886", "55888", "55892", "55961", "55980", "55981", "56014", "56040", "56041", "56071", "56078", "56120", "56121", "56122", "56123", "56124", "56125", "56126", "56127", "56128", "56129",
"58118", "58170", "58171", "58172", "58173", "58174", "58175", "58176", "58177", "58178", "58179", "58540", "58541", "58542", "58543", "58544", "58545", "58546", "58547", "58548", "58549", "58550",
"58551", "58552", "58553", "58554", "58555", "58556", "58557", "58558", "58559", "58863", "58865", "58927", "62724", "63901", "63902", "63903", "63904", "63907", "63908", "63909", "63910", "67090",
"67510", "67514", "67530", "92500", "92502", "92507"],
"bancontact": ["6703", "487104", "670305", "670330", "670319", "670300", "670342", "487109", "670397", "670375", "670310"]
};

Expand Down