Hide Country field in address

Created on 11 July 2023, 12 months ago
Updated 13 July 2023, 12 months 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 12 months 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.69.0 2024