#acffaria91 - checkout
1 messages · Page 1 of 1 (latest)
This is the body of your request to create a checkout session:
line_items: {
0: {
price: "plan_EYKWW1XEyEd7Zq",
quantity: "1"
}
},
mode: "subscription",
customer: "cus_MBl3p7E9wKTlvK",
success_url: "undefined/subscricoes",
cancel_url: "undefined",
automatic_tax: {
enabled: "true"
}
}
You're passing invalid urls to success_url and cancel_url
They must be valid urls or the request won't succeed
they're valid, I'm using from my .env file my url
I didn't change them
do you think this might have something to do with some ejs module update?
I'm not sure, but something in your code is passing those invalid values. You can see the request shape on your dashboard here: https://dashboard.stripe.com/logs/req_DpGXYEKlAGhjiT
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Thank you, I'll look into it