#Pixelwarp
1 messages · Page 1 of 1 (latest)
Just shows this https://i-am-the.devil.gg/TZUpyA0W
I am not that familiar with Insomnia. Is it trying to render Checkout within an iframe? That might be the issue if so as Checkout does not support that at the moment
I'll check real quick
Well i can't find where it renders it
Data from the server get's returned
(stripe api)
Not a iframe
it's a webview tag
And then theres a embedded iframe...
Ah yeah that would cause that I believe. Unfortunately I don't think there will be a way to test these sessions there then, you will need to navigate to the page in a browser otherwise
Yeah well the thing is i need to pass in a Authorization header, but i can't do that in the browser.
Can you tell me more about what you are trying to do here?
So basically this is what i am going for:
/payments/createCheckout > https://checkout.stripe.com/c/pay/cs_test_.../ > /payments/success (validates and adds item to user's library)
/payments/success doesn't work without a Authorization header passed in
But Authorization header also messes with the stripe api routes
Thank you for the clarification. Is the Authorization header something that most browsers will provide when redirecting after Checkout?
No, It's a custom token on my end.
So basically the createCheckout route gets the Authorization header which then passes it to stripe and then stripe thinks it's a stripe token
which it isn't
Oh I see. So something like Insomnia is needed to make custom HTTP requests that pass that header, but Insomnia itself can't be the thing to render checkout here because of the iframe incompatibility.