From 9f19208c61fb3d14e285a5cc5c9b24446b83e5d7 Mon Sep 17 00:00:00 2001 From: gil Date: Fri, 25 Oct 2024 10:12:05 -0700 Subject: [PATCH] Have submit billingAddress override options billingAddress --- lib/recurly/alternative-payment-methods/gateways/adyen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/recurly/alternative-payment-methods/gateways/adyen.js b/lib/recurly/alternative-payment-methods/gateways/adyen.js index 3a40358e..7dfe32f8 100644 --- a/lib/recurly/alternative-payment-methods/gateways/adyen.js +++ b/lib/recurly/alternative-payment-methods/gateways/adyen.js @@ -96,7 +96,7 @@ class AdyenGateway extends Base { } async submitWebComponent (billingAddress) { - if (this.customerBillingAddress === undefined) { this.customerBillingAddress = billingAddress; } + if (billingAddress) { this.customerBillingAddress = billingAddress; } return this.webComponent.submit(); }