#Peter Silie

1 messages · Page 1 of 1 (latest)

vocal ridgeBOT
signal plover
#

Hi there

#

Payment Element will already require Postal Code when it is relevant for the Payment Method Type

#

You don't have to do anything specific to make that happen

toxic thistle
#

I'm only accepting Credit card.

#

Can I force the Element to ask for the ZIP-Code?

signal plover
#

It will already do that

#

Are you seeing that not be the case?

toxic thistle
#

No, it not there.

signal plover
#

Ah yeah that is because the country that is set is Germany where the issuers don't care about postal code for billing details so we optimize and don't collect it via Payment Element.

toxic thistle
#

Ok, I'll take a look. 👀

#

Isn't that the correct syntax?

#

Because nothing happents

signal plover
#

Yeah that looks good.

#

You are still seeing postal code?

toxic thistle
#

I can disable it but I want the oposite. I wan't to enable it foe all countrys.

signal plover
#

Yeah that's not possible like I said. Instead you would disable it and then build your own form to collect it.

#

Instead of collecting it via Payment Element

toxic thistle
#

Ok, but a customized form is way more complex I think

#

Do you know where to find the Docs for Custom forms?