如何在React中重复出现并将其与自定义结帐页面表示?
我正在从事一个项目,必须将条纹重复付款与自定义结帐页面集成在一起。
我尝试了多种方法,但没有任何作用。
我希望我在这里得到答案。
另外,请有人帮助我,如何在数据库中商店付款。
谢谢您的回答。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我正在从事一个项目,必须将条纹重复付款与自定义结帐页面集成在一起。
我尝试了多种方法,但没有任何作用。
我希望我在这里得到答案。
另外,请有人帮助我,如何在数据库中商店付款。
谢谢您的回答。
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
您可以使用Stripe进行Express和反应的重复付款。在高水平上您需要:
最新>最新的_invoice.payment_intent.client_secret
。您可以看到一个示例要将每月付款存储在数据库中,您可以使用 Stripe webhooks 听听
You can have recurring payments with Express and React using Stripe. At a high level you need to:
latest_invoice.payment_intent.client_secret
of the subscription. You can see an example here with Express.To store the monthly payments in your database, you can use Stripe webhooks to listen to the
invoice.paid
event