Hide Country field in address

Created on 11 July 2023, over 1 year ago
Updated 13 July 2023, over 1 year ago

Hi,

Is it possible to hide the Country field? In my use case I will only need one country.

✨ Feature request
Status

Closed: won't fix

Version

1.0

Component

User interface

Created by

πŸ‡³πŸ‡ΏNew Zealand glennnz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @glennnz
  • Status changed to Closed: won't fix over 1 year ago
  • πŸ‡ΈπŸ‡ΎSyria hodba Dubai

    Actually, the fields of the billing and shipping address element are defined by Stripe and determined by the requirements of the payment methods. Unfortunately, we cannot control for most elements what fields to show or hide. I would advise you not to enable the address field of Stripe, and use the webform address element to collect it, then include it as a token in the Stripe paymentIntent configuration in the module.
    You can learn about customizing the paymentIntent element in this blog post

Production build 0.71.5 2024