diff --git a/view/frontend/web/js/view/payment/method-renderer/pmclain_stripe.js b/view/frontend/web/js/view/payment/method-renderer/pmclain_stripe.js index ed343bf..7ad3b1a 100755 --- a/view/frontend/web/js/view/payment/method-renderer/pmclain_stripe.js +++ b/view/frontend/web/js/view/payment/method-renderer/pmclain_stripe.js @@ -308,6 +308,10 @@ define( ownerData.owner.address.state = billingAddress.regionCode; } + if (stripeData.address_state == null){ + stripeData.address_state = ''; + } + return ownerData; }, @@ -332,8 +336,12 @@ define( stripeData.address_state = billingAddress.regionCode; } + if (stripeData.address_state == null){ + stripeData.address_state = ''; + } + return stripeData; } }); } -); \ No newline at end of file +);