rra*_*rag 9 javascript email checkout readonly stripe-payments
我正在使用https://stripe.com/docs/ payments/checkout 中所述的 stripe checkout
在服务器端,我创建一个新的 stripe 客户(如果还没有),并使用该客户 ID 创建结账会话。然后使用 stripe api 重定向到结账
stripe.redirectToCheckout({
// Make the id field from the Checkout Session creation API response
// available to this file, so you can provide it as parameter here
// instead of the {{CHECKOUT_SESSION_ID}} placeholder.
sessionId: '{{CHECKOUT_SESSION_ID}}'
}).then(function (result) {
// If `redirectToCheckout` fails due to a browser or network
// error, display the localized error message to your customer
// using `result.error.message`.
});
Run Code Online (Sandbox Code Playgroud)
在结帐页面(由条带托管)中,有一个已预先填充但可编辑的电子邮件字段。我已经让客户更改了该电子邮件地址。有没有办法使条纹结帐只读字段上的电子邮件地址?
我今天收到一封来自 stripe 的电子邮件
\n\n\n我们将禁止客户\xe2\x80\x99 覆盖其电子邮件地址\n从 10 月 26 日开始,\n在您将其电子邮件地址传递到结帐会话后,客户将无法再编辑其电子邮件地址。我们\xe2\x80\x99 进行此更改是为了\n防止意外为现有客户创建重复订阅,并\n防止在结帐期间对客户对象进行意外更新。
\n
这是它所有的荣耀
\n\n| 归档时间: |
|
| 查看次数: |
6629 次 |
| 最近记录: |