Skip to content

Commit

Permalink
fix(addon-commerce): treat US Diners as Mastercard internationally (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
waterplea committed Dec 11, 2023
1 parent 33525f6 commit 58b04a6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion projects/addon-commerce/utils/get-payment-system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export const TUI_BIN_TABLE: ReadonlyArray<
[`maestro`, 5893],
[`rupay`, 508],
[`maestro`, 50],
[`dinersclub`, 54],
[`mastercard`, 51, 55],
[`maestro`, 56],
[`maestro`, 58],
Expand Down
4 changes: 0 additions & 4 deletions projects/addon-commerce/utils/test/get-payment-system.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,6 @@ describe(`getPaymentSystem`, () => {
it(`36`, () => {
expect(tuiGetPaymentSystem(`36`)).toBe(`dinersclub`);
});

it(`54`, () => {
expect(tuiGetPaymentSystem(`54`)).toBe(`dinersclub`);
});
});

describe(`Discover`, () => {
Expand Down

0 comments on commit 58b04a6

Please sign in to comment.