#dingkai031

1 messages ยท Page 1 of 1 (latest)

spice turretBOT
spark temple
#

I'm afraid it's not possible to have extra step between confirmPayment and redirection

toxic veldt
#

I see, thanks

spark temple
#

No problem! Happy to help ๐Ÿ˜„

toxic veldt
#

Hi, I would like to ask another question. Should I open another thread or continue discuss in here?

foggy cosmos
#

๐Ÿ‘‹ Taking over here and sure, what's your question

toxic veldt
#

when returnUrl called in confirmPayment of Stripe element, I notice that in the header, cookie.. there's a __stripe_sid and __stripe_mid. Does stripe has a way to validate these id?

foggy cosmos
toxic veldt
#

ah I see, but is there a way. to validate these ids?
I have a flow that look like this :

  1. When stripe elements confirm a successful payment
  2. It will return to a url, let's call it status.php
  3. in there I want to check, is the one that request is from stripe or not.

Since I see in the header there's __stripe_sid, I would like to use it to validate the request.

toxic veldt
#

um hello?

foggy cosmos
#

Hey sorry!

#

I don't think it's a good idea. There is no guarantee we will continue to use those Cookie. It's simply for the purpose of tracking on our side

#

To check if the request from Stripe you probably can look at referer (!?)