条纹嵌入形式:更改邮政编码占位符文本? [英] Stripe embed form: Change Zipcode placeholder text?

查看:59
本文介绍了条纹嵌入形式:更改邮政编码占位符文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道是否可以将邮政编码占位符文本更改为邮政编码"?试图从英国客户那里收款,但担心邮政编码"会让他们望而却步.

Does anyone know if it's possible to change the zipcode placeholder text to say "postcode" instead? Trying to take payments from uk customers and worried "zipcode" is putting them off.

推荐答案

由于嵌入了条形结帐窗口,因此目前不支持更改显示文本的方式.结帐窗口还适应用户所在的国家/地区.因此,正如评论中提到的,在美国可能会说邮政编码",但在英国可能会说邮政编码".如果要锁定语言以保留 f.ex Postcode",可以在结帐窗口的初始化中使用locale"参数.

Since the stripe checkout window is embedded it is currently no supported way that i know off to change the text displayed. The checkout window also adapts to which country the user is in. So as mentioned in comments it might say "Zip Code" in the US, but "Postcode" in the UK. If you want to lock the language to keep f.ex "Postcode" you can use the "locale" parameter in the initialization of the checkout window.

您可以在此处找到说明结帐窗口中可编辑哪些参数和数据的文档:https://stripe.com/docs/checkout#integration-custom

Here you can find the docs explaining which parameters and data is editable in the checkout window: https://stripe.com/docs/checkout#integration-custom

这篇关于条纹嵌入形式:更改邮政编码占位符文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆