From 2eb14a14ae473c4a91a357341af7784bc36e1274 Mon Sep 17 00:00:00 2001 From: Joe Reiff Date: Thu, 26 Jan 2023 14:24:17 -0500 Subject: [PATCH] Add Canadian Institution Numbers Adds two additional valid Canadian Institution Numbers: 618, 842 https://en.wikipedia.org/wiki/Routing_number_(Canada) CER-403 5439 tests, 77066 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed 756 files inspected, no offenses detected --- CHANGELOG | 1 + lib/active_merchant/billing/check.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index c6924c1960e..3375c5950ab 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -59,6 +59,7 @@ * Stripe PI: use MultiResponse in create_setup_intent [jcreiff] #4683 * Credorax: Correct NTID logic for MIT transactions [aenand] #4686 * Adyen: Add support for `skip_mpi_data` flag [rachelkirk] #4654 +* Add Canadian Institution Numbers [jcreiff] #4687 == Version 1.127.0 (September 20th, 2022) * BraintreeBlue: Add venmo profile_id [molbrown] #4512 diff --git a/lib/active_merchant/billing/check.rb b/lib/active_merchant/billing/check.rb index ca4d0171bd7..940ab14e57b 100644 --- a/lib/active_merchant/billing/check.rb +++ b/lib/active_merchant/billing/check.rb @@ -20,7 +20,7 @@ class Check < Model 309 310 315 320 338 340 509 540 608 614 623 809 815 819 828 829 837 839 865 879 889 899 241 242 248 250 265 275 277 290 294 301 303 307 311 314 321 323 327 328 330 332 334 335 342 343 346 352 355 361 362 366 370 372 - 376 378 807 853 890 + 376 378 807 853 890 618 842 ) def name