From c1f827069d20f209ca68fd3b3727bbfcc2cf5d5c Mon Sep 17 00:00:00 2001 From: xnick Date: Wed, 15 Nov 2023 20:09:59 +0200 Subject: [PATCH] [PM-969] Fix card number not being populated for Greek provider Eurobank. (#4648) * Fix card number not being populated for Greek provider Eurobank. They use the identifier `card.pan` for the card number, both in the `name` attr and the `id`. * Replace the dot with a dash so that it can be removed in isFieldMatch. --------- Co-authored-by: Jonathan Prusik --- apps/browser/src/autofill/services/autofill-constants.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/browser/src/autofill/services/autofill-constants.ts b/apps/browser/src/autofill/services/autofill-constants.ts index ca73faad88..72bb4acbc4 100644 --- a/apps/browser/src/autofill/services/autofill-constants.ts +++ b/apps/browser/src/autofill/services/autofill-constants.ts @@ -110,6 +110,7 @@ export class CreditCardAutoFillConstants { "carte-credit", "num-carte", "cb-num", + "card-pan", ]; static readonly CardNumberFieldNameValues: string[] = [