#acffaria91-checkout-502

1 messages ยท Page 1 of 1 (latest)

neat pike
#

Hello ๐Ÿ‘‹

#

Are you seeing any errors in your developer console on the browser?

abstract dock
#

Hi

#

No, just some images missing

neat pike
#

Is this URL public? Can I access it?

#

Also, Are you seeing any errors in your stripe dashboard logs?

abstract dock
#

no errors since I can't access the payment page

#

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.

neat pike
#

Yup you got it.

abstract dock
neat pike
#

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

abstract dock
#

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?

neat pike
#

Yup
I'm in the US

abstract dock
#

And if we lift the country restrictions would the stripe checkout appear?

#

we had the old stripe checkout and it was working before

neat pike
#

that's highly likely, yes

abstract dock
#

ok, I'll contact the people in charge, if that does not work I'll let you know! Thanks for your help

neat pike
#

NP! Happy to help

abstract dock
#

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

neat pike
#

What error are you getting?

abstract dock
#

cannot GET /pay/cs_live_a1qSMrrSyafFVO9eRXQPPFLGvS3TzkChpoIVAAB7wCvdUO5pMwvx0hfPpM

#

we did (my website)/pay/cs_live_a1qSMrrSyafFVO9eRXQPPFLGvS3TzkChpoIVAAB7wCvdUO5pMwvx0hfPpM

neat pike
abstract dock
#

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

neat pike
#

NP! ๐Ÿ™‚ Happy to help

abstract dock
#

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

neat pike
#

what url are you trying to access?
Can you share that?

neat pike
#

I see it just fine

abstract dock
#

yes

#

I took it from logs

neat pike
#

Ah okay
Looks like a bug in your code that is responsible for the redirect.

abstract dock
#

do you have any idea of what it might be?

neat pike
#

can you share you example code?
It is likely that your server is configured to redirect requests to the same domain

abstract dock
neat pike
#

sorry that's a lot of code
can you share just the part that handles the redirect?

abstract dock
#

of course, sorry

neat pike
#

You don't need to explicitly set https://checkout.stripe.com/ + session.url
session.url should have the domain already

abstract dock
#

yes, I had that before, but it only has /pay/cs/... even though on the logs it's the complete url

neat pike
#

yeah I'm not sure why your server would trim it. You'd likely want to look into the middlewares if you have any

abstract dock
#

ok, I'll check it, thanks

neat pike
#

NP! ๐Ÿ™‚ Happy to help