From e6965dac80fe937bfd3a7189fc98ce24f63c9c65 Mon Sep 17 00:00:00 2001 From: nymkappa <1612910616@pm.me> Date: Thu, 23 Jan 2025 18:00:27 +0900 Subject: [PATCH] [accelerator] fix sca card on file --- .../accelerate-checkout/accelerate-checkout.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts index f15faccf7..2a4d681d9 100644 --- a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts +++ b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts @@ -757,9 +757,9 @@ export class AccelerateCheckout implements OnInit, OnDestroy { billing: { givenName: assumedGivenName, familyName: assumedFamilyName, - addressLines: [cardOnFile.card.billing.addressLine1], - city: cardOnFile.card.billing.locality, - state: cardOnFile.card.billing.administrativeDistrictLevel1, + addressLines: [cardOnFile.card.billing.addressLine1 ?? ''], + city: cardOnFile.card.billing.locality ?? '', + state: cardOnFile.card.billing.administrativeDistrictLevel1 ?? '', countyCode: cardOnFile.card.billing.country, } }