#eoghanobrien
1 messages · Page 1 of 1 (latest)
Hello eoghanobrien, we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
• eoghan-checkout-csp, 4 hours ago, 14 messages
Are you using stripe.redirectToCheckout anywhere in your code? if not, it's a Server-side Checkout Session creation and redirect
Not using stripe.redirectToCheckout
I'm wondering why/if the redirect must happen on the server-side specifically
it works in most situations that I've seen to just use window.location.href to redirect
I see, so you want do a client-side redirect? Sure it also works
We've been seeing errors like this with a couple of "enterprise" customers with browsers locked down with limited permission policies. Ever seen that before? That's the core reason for asking about the redirect
They're hitting that browser issue when redirected to the hosted stripe checkout page on a custom domain
The message says content is blocked. Did the site owner add your domain and stripe domains (https://stripe.com/docs/ips) to their allow list?
Just read through that, who exactly is the site owner in this case (assuming we are), our customers are seeing the screenshot above on the hosted custom domain for stripe checkout only
they never see that on our site
My guess is your customer's network has policy to allow only certain domain, can you ask your customer to access your website in a different network (i.e., phone tegethering) and see if they are getting the same error?
We have done that but that's not always an option, their IT admins often ask them not to use company cards outside the network, on another browser, another computer etc
So you are saying they only see the error when accessing your website in their office network?
I believe so, at least from the few that have reach out to our support team
OK, then it's clear that it's their network problem, and you should reach out to their IT admins.
Add your domain and stripe domains (https://stripe.com/docs/ips) to their network allow list
has this come up before or is this a shot in the dark, the customer is already frustrated, we don't want to make things worse.
I have no insights on how your customer configure their network, and I'd suggest you to work with their IT admin to conclude a solution.
we have many thousands of customers, you're suggesting we need to work with every IT admin of every customer affected by this issue?
I'm afraid that I can't be much of help if your customer's network policy is blocking your and Stripe domains.
okay, should we be asking customers to allow only the first list of domains under the heading Stripe domains (https://stripe.com/docs/ips#stripe-domains)
in the context of Stripe Checkout
Yes, and also make sure their DNS config allows stripe domains to be resolved to the following IP addresses https://stripe.com/docs/ips#ip-addresses
okay, thank you. we'll give it a shot