#acffaria91-checkout-502
1 messages ยท Page 1 of 1 (latest)
Is this URL public? Can I access it?
Also, Are you seeing any errors in your stripe dashboard logs?
no errors since I can't access the payment page
try this link: https://www.ibasim.com/subscricoes/comprar/1
Sorry, I checked and I got this error on stripe
url_invalid - success_url
The success_url parameter must correspond to a valid URL.
Typically, this is a page on your website that informs your customer that their payment was successful.
Yup you got it.
the success url is : www.ibasim.com/subscricoes (and it works)
fwiw, I can't load www.ibasim.com or the other link you've provided so it is possible that there are issues with your server
you're in what country? I'm hosting in windows server and the people who set it up did some country restrictions
may that be the cause?
Yup
I'm in the US
And if we lift the country restrictions would the stripe checkout appear?
we had the old stripe checkout and it was working before
that's highly likely, yes
You could use this list
https://stripe.com/docs/ips
ok, I'll contact the people in charge, if that does not work I'll let you know! Thanks for your help
NP! Happy to help
Hi, sorry, I just checked it and the problem was that I needed to add http or https to the url
now "it works" but I get a different error
What error are you getting?
cannot GET /pay/cs_live_a1qSMrrSyafFVO9eRXQPPFLGvS3TzkChpoIVAAB7wCvdUO5pMwvx0hfPpM
we did (my website)/pay/cs_live_a1qSMrrSyafFVO9eRXQPPFLGvS3TzkChpoIVAAB7wCvdUO5pMwvx0hfPpM
are you sure you have correctly setup custom domains?
https://stripe.com/docs/payments/checkout/custom-domains
no, I was aware of this. I'm sorry, I'm new to stripe and since everything was working locally I assumed everything would be good also online
I'll give it a look, thank you
NP! ๐ Happy to help
this is just needed if I want to use a custom checkout domain? I'm happy with using the default
the thing is my log is 200 OK but the page never appeared
what url are you trying to access?
Can you share that?
I see it just fine
yes
I took it from logs
but after I press the button it appears as www.ibasim.com/pay/cs...
and not checkout.stripe.com/pay/...
Ah okay
Looks like a bug in your code that is responsible for the redirect.
do you have any idea of what it might be?
can you share you example code?
It is likely that your server is configured to redirect requests to the same domain
this is my server
sorry that's a lot of code
can you share just the part that handles the redirect?
You don't need to explicitly set https://checkout.stripe.com/ + session.url
session.url should have the domain already
yes, I had that before, but it only has /pay/cs/... even though on the logs it's the complete url
yeah I'm not sure why your server would trim it. You'd likely want to look into the middlewares if you have any
ok, I'll check it, thanks
NP! ๐ Happy to help