#dowabes219
1 messages · Page 1 of 1 (latest)
I will create pastebin note
The error seems pretty descriptive though
https://dashboard.stripe.com/test/logs/req_ZIxZDvdV1WaMcP
code: "url_invalid",
doc_url: "https://stripe.com/docs/error-codes/url-invalid",
message: "Not a valid URL",
param: "return_url",```
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
why I get the error?
Because you're passing an invalid return_url
return_url: "/success.html",
Look at the request body
https://dashboard.stripe.com/test/logs/req_ZIxZDvdV1WaMcP
You need to provide complete URL including the domain
so it should start with http or https + the domain name then the path
something like, https://example.com/success.html