Quantcast
Channel: Topic Tag: zip | WordPress.org
Viewing all articles
Browse latest Browse all 1073

Add option to hide zip/postal code in stripe card details

$
0
0

Could you please add a feature to hide the ZIP/Postal Code in card details?

We have tried to hide the option in one of our contact forms that accepts Stripe payment. But we weren’t able to find a way to hide this using any hooks or event listeners in the Contact form. So, as a solution we have updated the Stripe main index.js file and added the script to remove the zip/postal code.

Updated code: i.create(“card”) to i.create(“card”, {hidePostalCode: true})

The issue is resolved. We know the plugin file update is not a proper method, so we request you to add an option for it.

Thanks.


Viewing all articles
Browse latest Browse all 1073

Trending Articles