From a0f8b0f83e76ddf98f82fb28aa9b12d5240489b6 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Tue, 17 Apr 2018 19:20:52 +0200 Subject: [PATCH] Add fields seen on ATOS payment page (#588) --- src/services/autofill.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/autofill.service.ts b/src/services/autofill.service.ts index 7a242a5ffae..2b1c972fe8b 100644 --- a/src/services/autofill.service.ts +++ b/src/services/autofill.service.ts @@ -450,7 +450,7 @@ export default class AutofillService implements AutofillServiceInterface { 'card-exp-mo', 'cc-exp-mo', 'card-expiration-month', 'expiration-month', 'cc-mm', 'cc-m', 'card-mm', 'card-m', 'card-exp-mm', 'cc-exp-mm', 'exp-mm', 'exp-m', 'expire-month', 'expire-mo', 'card-expire-month', 'card-expire-mo', 'mois-validite', - 'mois-expiration', 'm-validite', 'm-expiration'])) { + 'mois-expiration', 'm-validite', 'm-expiration', 'expirydatefield-month'])) { fillFields.expMonth = f; } else if (!fillFields.expYear && this.isFieldMatch(f[attr], ['exp-year', 'cc-exp-year', 'cc-year', 'card-year', 'cc-yr', 'card-yr', 'exp-yr', @@ -458,7 +458,7 @@ export default class AutofillService implements AutofillServiceInterface { 'cc-yy', 'cc-y', 'card-yy', 'card-y', 'card-exp-yy', 'cc-exp-yy', 'exp-yy', 'exp-y', 'cc-yyyy', 'card-yyyy', 'card-exp-yyyy', 'cc-exp-yyyy', 'expire-year', 'expire-yr', 'card-expire-year', 'card-expire-yr', 'an-validite', 'an-expiration', 'annee-validite', - 'annee-expiration'])) { + 'annee-expiration', 'expirydatefield-year'])) { fillFields.expYear = f; } else if (!fillFields.code && this.isFieldMatch(f[attr], ['cvv', 'cvc', 'cvv2', 'cc-csc', 'cc-cvv', 'card-csc', 'card-cvv', 'cvd', 'cid', 'cvc2', 'cnv',