Hi! Trying to get my Stripe integration to work with Xano. Currently I have a “POST” Rest API request to Xano.
Xano is expecting these inputs:
Following a tutorial, I managed to make it work by using this javascript code in “raw body”
The code that worked:
{ “success_url”: “https://www.domain.com/checkout_success”, “cancel_url”: “https://www.domain.com/checkout_failed”, “line_items”: [ { “price”: “price_4sdf4sgs”, “quantity”: “1” } ] }
My question is how do I use a URL that I have stored in a variable instead of hardcoding the success_url and cancel_url?
Is it using “parsed fields”? If I use “parsed fields” then what about the price and quantity, because those are not text fields?