我正在使用 formspree.io 条纹捐赠表格。工作正常,但金额是硬编码的,访问者无法更改。我需要能够提供自定义金额。Stripe 给了我自定义金额的 html,但现在我需要 js 代码,但我无法在 stripe doc 中找到代码。任何人都知道将绕过硬编码数量的 js 代码吗?
- 表单: https ://formspree.io/blog/custom-payment-stripe/
- 我的页面:https ://soundsirius.digitalpress.blog/donation/