#makercab
1 messages · Page 1 of 1 (latest)
hmm, where does that error appear exactly? also is there a reason you're not using our official server libraries and making a raw request?
I'm using Stripe's plugin for Xano to execute this request.
I'm not aware of what Xano is or any plugin we have there, must be a third party
if there's some code you can share or more context on the error I might be able to help! I don't see a direct error on the req_xxx that you shared
Xano is a database and I'm using the official supported plugin. I'm also using a tool named Wized as a frontend.
In the first place I wanted to create a loop that add multiples items to the stripe checkout. Here's the code:
{{ const arr = r.19.d.map(obj => { return { price: obj.price, quantity: 1 }; }); arr; }}
And here's the rendered line_items:
"line_items": { "0": { "quantity": "1", "price": "price_1M9okiJ0iQ8UfbKK2RfLPU56" }, "1": { "quantity": "1", "price": "price_1M9oj5J0iQ8UfbKKizjnZHFX" }
It may be more a database error rather than a Stripe error, because the checkout session was successfully created right?
yes, the Stripe request was a successful