#manjitsingh_81367
1 messages · Page 1 of 1 (latest)
so i am using stripe checkout and when i create stripe session, i define Success and cancel URls for that session. However one i started using a live key, for some of card stripe after showing gree correct icon send user back to website login page. When get status of the transaction from session id, it shows unpaid and open. It doesn't happen on every card and doesn't happen on every machine. However if i use live key of stripe from other account, it works well with all cards. C# code for creating stripe session is same
would you mind sharing some examples?
so problem is that i am not able to replicat ethis issue on my local system or even on my machine, but end consumer is facing this problem. I am new to stripe so just looking for some guidence
i can share some code of how i am reating session
I need some checkout session IDs
ok, session id which shows payment unpaid?
yes
cs_live_a198VzJjELsSw76Q0N7nTKGFIkYd1HQOSp2MjEl05ziaFEgDxdvb0nBh0h
this is from couple of days ago
how about this
cs_live_a1Dh5HoX6qcjOLyi0Yqbn6CnXOBp9aQAkbF1eN1g31JUhrHhz685MZSsEh
OR cs_live_a1LffrYp9a2FjtGxPQY4c3QKxZtXX1TkP7Y7A4ujYLI09HdsysyfgP35Yp
cs_live_a1Zm4w3MTO2e1jv0JG2mCn5D5b8iHOvXIA1crMxgs0oht1Vzx8xRhwbkKV
these are some which were showing open couple of days ago
this Checkout Session expired
i ahve not checked latest status
meaning that it was never completed by the Customer
same for this one
this one was successful
I'm not sure I understand what the issue is here
so what we see is that stripe button turns green after filling card details and submit button click, but after that it doesn't redirect to successurl i defined, it just redirect to login page of my application
SuccessUrl = URL + "&{CHECKOUT_SESSION_ID}",
i have define successURL with a certain page of my application + checkoutsessionid
when it succeeds you mean?
this is part of your own Apps logic
it has nothing to do with Stripe
yes, when it succeed, it works correctly. It send to correct page
when it doesn't redirect correctly, then i check transaction and it is still pending
and this happening with particular live keys of stripe
this means that the Customer didn't complete the Checkout Session
this is just user-behavior and not a bug in the coding
can local temp files on system affect this, because customer actually fill correct details and submit button actually turn green and after that it just send user out of website
i check session id and it is open and unpaid
do you mean there can be an issue on success url causing thisbecause i have error logging and nothing shows up
I'm not sure I understand what you're saying
Browser Cookie Policies:
Stripe Checkout relies on browser cookies to maintain the session. If the browser is configured to block third-party cookies or if there are restrictions on cross-origin cookies, it can affect the session persistence. Ensure that your application and Stripe Checkout are configured to work with the browser's cookie policies.