From b5d26ddabdc31f1f32ee6c719d7b649f84dd6204 Mon Sep 17 00:00:00 2001 From: harshrsys <67738151+harshrsys@users.noreply.github.com> Date: Thu, 16 Jul 2020 14:27:16 +0530 Subject: [PATCH] fix: save bic for concardis direct debit payment method (#323) --- .../payment-concardis-directdebit.component.spec.ts | 1 + .../payment-concardis-directdebit.component.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/app/pages/checkout-payment/payment-concardis-directdebit/payment-concardis-directdebit.component.spec.ts b/src/app/pages/checkout-payment/payment-concardis-directdebit/payment-concardis-directdebit.component.spec.ts index a57aaa3955..a2697bf2e9 100644 --- a/src/app/pages/checkout-payment/payment-concardis-directdebit/payment-concardis-directdebit.component.spec.ts +++ b/src/app/pages/checkout-payment/payment-concardis-directdebit/payment-concardis-directdebit.component.spec.ts @@ -65,6 +65,7 @@ describe('Payment Concardis Directdebit Component', () => { attributes: { accountHolder: 'Klaus Klausen', iban: '123456789', + bic: 'BYLADEM1SKB', mandateReference: 'ref', mandate: { mandateReference: 'ref', diff --git a/src/app/pages/checkout-payment/payment-concardis-directdebit/payment-concardis-directdebit.component.ts b/src/app/pages/checkout-payment/payment-concardis-directdebit/payment-concardis-directdebit.component.ts index 4d4f83f9eb..64722555b1 100644 --- a/src/app/pages/checkout-payment/payment-concardis-directdebit/payment-concardis-directdebit.component.ts +++ b/src/app/pages/checkout-payment/payment-concardis-directdebit/payment-concardis-directdebit.component.ts @@ -108,6 +108,7 @@ export class PaymentConcardisDirectdebitComponent extends PaymentConcardisCompon attributes: { accountHolder: string; iban: string; + bic: string; mandateReference: string; mandate: { mandateReference: string; @@ -170,6 +171,7 @@ export class PaymentConcardisDirectdebitComponent extends PaymentConcardisCompon { name: 'paymentInstrumentId', value: result.paymentInstrumentId }, { name: 'accountHolder', value: result.attributes.accountHolder }, { name: 'IBAN', value: result.attributes.iban }, + { name: 'BIC', value: result.attributes.bic }, { name: 'mandateReference', value: result.attributes.mandate.mandateReference }, { name: 'mandateText', value: result.attributes.mandate.mandateText }, { name: 'mandateCreatedDateTime', value: result.attributes.mandate.createdDateTime },