Hi,

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

Comments

glennnz created an issue. See original summary.

hodba’s picture

Status: Active » Closed (won't fix)

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