krokedil / klarna-checkout-for-woocommerce

Klarna Checkout for WooCommerce plugin
15 stars 23 forks source link

Use first country available as billing country for subscriptions #577

Closed mntzrr closed 5 months ago

mntzrr commented 5 months ago

If the merchant set the default location to "No location by default", no billing country will be specified in the checkout page which affects customers whose billing country is not set in their account, and all guests.

Usually, if the store only serves one country, WooCommerce automatically selects that country. However, the billing country won't be set until the customer provides their billing address. Given that there is only one option available to the customer, we can assume that it will be the selected country.

This issue only affects subscriptions, since we need to check the billing country to determine whether subscriptions should be available.

https://app.clickup.com/t/86941jdcx