#vbwyrde
1 messages · Page 1 of 1 (latest)
Hi there, how can I help?
I have an asp.net stripe webhook issue... it was working fine until a few days ago. I needed to allow users to open more than one tab with in the same browser for my application. this caused a session bleed issue, so I was informed the fix, which works, is to change <sessionState cookieless="true" regenerateExpiredSessionId="true" ... however, this seems to be causing a stripe webhook error (302)
Any idea if this configuration prohibits webhooks from working with stripe?
The webhook handling happens in your backend, and I don't see a connection between it and browser tabs. Can you tell me more about it?
Perhaps you can start with the webhook error?
I don't really know myself. The application in debug mode (using stripe cli) appears to run through its routines without issues. But the webhook error seems to happen anyway. The only thing I can think of that changed is the cookieless aspect. So I'm trying to find out if that's a known issue. Apparently not, so maybe the issue is elsewhere.
The error I get is this:
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/(S(ln1fo1b0lbg5qce2njx1cj2d))/Stripe/StripeListener.aspx">here</a>.</h2>
</body></html>
302
Do you have the webhook event ID?
evt_1MMkITC4jhZrSehNlzbODoK6
I suspect that what may be happening is that the login occurs with a url that does not have the cookie guid... but once logged in the url attaches the guid and this causes, perhaps(?) the webhook to have an issue
OK. Your webhook endpoint is responding with HTTP 302 instead of 200.
yes I know
302 Found redirect status response code indicates that the resource requested has been temporarily moved to the URL given by the Location header.
yes, that I also know
Then you should check your server code and see why it returns 302 instead of 200.