• Resolved Steve D.

    (@sdowney2002)


    When checking out with a cart containing a virtual product that requires payment, I get the following error message on the checkout page:

    • You passed an empty string for ‘shipping_address_collection[allowed_countries][0]’. We assume empty values are an attempt to unset a parameter; however ‘shipping_address_collection[allowed_countries][0]’ cannot be unset. You should remove ‘shipping_address_collection[allowed_countries][0]’ from your request or supply a non-empty value.

    “Stripe Checkout” (hosted payment form) is the only option enabled. Plugin is in Stripe TEST mode.

    I can check out successfully if the cart contains a virtual product that does NOT require payment or if cart contains products that require shipping and payment.

    Can reproduce this error using the default Storefront theme and all plugins disabled except this one and WooCommerce.

    Running Woo 7.6 and WP 6.2.

    Link to plugin log file for this checkout attempt:
    redacted_log_file.pdf (dropbox.com)


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @sdowney2002,

    Greetings from WebToffee support.

    Thank you for taking the time and effort in explaining the issue in detail. It was very helpful.

    We will look into the issue.

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @sdowney2002,

    We have looked into the issue and made the necessary changes in the plugin to fix it. It will be available on the next release of the plugin.

    Thanks again for bringing it to our notice.

    Thread Starter Steve D.

    (@sdowney2002)

    Cool! I appreciate the quick response. Glad I could be of help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Stripe Checkout with virtual product’ is closed to new replies.