diff --git a/src/app/payment/stripe-payment-proxy/stripe-payment-proxy.component.ts b/src/app/payment/stripe-payment-proxy/stripe-payment-proxy.component.ts index 6cf2bdbf..248ae5ec 100644 --- a/src/app/payment/stripe-payment-proxy/stripe-payment-proxy.component.ts +++ b/src/app/payment/stripe-payment-proxy/stripe-payment-proxy.component.ts @@ -100,6 +100,11 @@ export class StripePaymentProxyComponent implements OnChanges, OnDestroy { private configureSCA() { const options = {}; + + if(this.parameters['stripeConnectedAccount']) { + options['stripeAccount'] = this.parameters['stripeConnectedAccount']; + } + const stripeHandler = Stripe(this.parameters['stripe_p_key'], options); const card = stripeHandler.elements({locale: this.translate.currentLang}).create('card', {style: STRIPE_V3_STYLE});