#manjitsingh_81367

1 messages · Page 1 of 1 (latest)

fast sealBOT
obtuse barn
#

👋 happy to help

#

would you mind elaborating please?

burnt vale
#

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

obtuse barn
#

would you mind sharing some examples?

burnt vale
#

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

obtuse barn
#

I need some checkout session IDs

burnt vale
#

ok, session id which shows payment unpaid?

obtuse barn
#

yes

burnt vale
#

cs_live_a198VzJjELsSw76Q0N7nTKGFIkYd1HQOSp2MjEl05ziaFEgDxdvb0nBh0h

#

this is from couple of days ago

obtuse barn
#

taking a look

#

the payment on that Checkou Session succeeded

burnt vale
#

how about this

#

cs_live_a1Dh5HoX6qcjOLyi0Yqbn6CnXOBp9aQAkbF1eN1g31JUhrHhz685MZSsEh

#

OR cs_live_a1LffrYp9a2FjtGxPQY4c3QKxZtXX1TkP7Y7A4ujYLI09HdsysyfgP35Yp

#

cs_live_a1Zm4w3MTO2e1jv0JG2mCn5D5b8iHOvXIA1crMxgs0oht1Vzx8xRhwbkKV

#

these are some which were showing open couple of days ago

obtuse barn
burnt vale
#

i ahve not checked latest status

obtuse barn
#

meaning that it was never completed by the Customer

obtuse barn
#

I'm not sure I understand what the issue is here

burnt vale
#

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

obtuse barn
#

when it succeeds you mean?

#

this is part of your own Apps logic

#

it has nothing to do with Stripe

burnt vale
#

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

obtuse barn
#

this means that the Customer didn't complete the Checkout Session

#

this is just user-behavior and not a bug in the coding

burnt vale
#

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

obtuse barn
#

I'm not sure I understand what you're saying

burnt vale
#

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.

obtuse barn
#

what does that have to do with your own Website Cookies

#

I'm really failing to understand the issue

#

would you mind taking a video recording and showing me exactly what's happening?