我正在使用stripe中的custom checkout flow将在线支付添加到我的网站,该网站使用服务器端点创建PaymentIntent,如下所示: app.post("/create-payment-intent", async (req, res) => { // Create a PaymentIntent with the order amount: "usd" res.send({
我正在使用中找到的Stripe快速启动代码,我已经将问题缩小到了checkout.js中的"items“数组,没有被识别或没有正确构造,或者create.php文件中的任何内容。people from directly manipulating the amount on the client}$paymentIntentclientSecret) { }
const { paymentIntent } = awai