Checkout session metadata in Xano inputs absent from Stripe response
Options
![Fredk](https://us.v-cdn.net/6037124/uploads/userpics/YXEICG61ECYZ/nGH3D2K4EH56L.jpg)
Fredk
Member ✭
Hi,
Xano does get the metadata object of checkout session from my fronted:
Yet in Stripe logs the POST /v1/checkout/session does not return the metadata.
Seems like Xano does not send that object, since I don't see it in the request body returned by the Stripe log:
{
"success_url": "https://bonte.com/532933/Page17", "line_items": { "0": { "quantity": "1", "price": "price_1MXUtuJaJ66qam0rzUzMWjdw" }
},
"cancel_url": "https://bonte.com/532933/Page12",
"mode": "payment",
"payment_method_types": { "0": "card" }
}
Any tip? Do I need to setup a specific input type for metadata (currently an ‘object’)?
Best Answer
-
My bad, I had not published the very last version of my API, hence the absence of the metadata object values.
Fxed now.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback