#sarumilli

1 messages · Page 1 of 1 (latest)

loud sirenBOT
twin goblet
#

Hello 👋
That is quite unusual
Can you share the code you're working with here?

compact spire
twin goblet
#

are you seeing any other requests to the same URL that might've succeeded?
if you look at the referrer this request seems to come from hooks.stripe.com vs the actual one should've been made by Stripe.js

compact spire
austere edge
#

Do you have a URL to a public test page that you can DM me that I can check this out on?

compact spire
#

Currently still in implementation phase.This is currently in local only

austere edge
#

Gotcha. So these payments are succeeding but no redirect is happening at all?

#

Are there any errors in the developer console?

#

Or is your code throwing/catching any other exceptions here?

compact spire
#

no .payment is successfull but it is not redirecting

#

I can see the alert statement as well.

austere edge
#

Alert statement?

compact spire
#

return_url
string
If you are handling next actions yourself, pass in a return_url. If the subsequent action is redirect_to_url, this URL will be used on the return path for the redirect.

#

what is redirect_to_url?

austere edge
#

The URL that your page should be sent to once the payment is complete.

#

Oh you are using confirmCardPayment, I don't think our Card element supports a return URL

#

Checking in to that

#

I don't think that that URL is relevant for most confirmations here, you may have to redirect the page itself if you want it to redirect.

#

Do you currently have code on your page for handling a next action if it is required?

compact spire
#

yaa next action is I need to redirct this url to confirmOrder page

#

depends up on response

#

ok is HandleCartAction will support return URL?

austere edge
#

HandleCartAction isn't a Stripe function so I am unsure what it may do here.

#

So that return_url is for scenarios where a user has to be redirect to Stripe or their bank temporarily, when the user is done with that, they will be redirected to your URL

#

For successful payments, you will need to redirect yourself with a standard redirect

compact spire
compact spire
austere edge
#

Checking in to this. I think it will be for certain banks' 3DS requirements

compact spire
#

confirmCardPayment will handle all 3Dsecure or we have any limitations

austere edge
#

If you don't pass handleActions=false, that confirmCardPayment call should handle next actions and display 3DS as appropriate

compact spire
#

I am just passing clientScreat only..

austere edge
#

So you shouldn't get a full page redirect here. Have you tested with one of our 3DS test cards yet?

compact spire
#

yes. We are getting the popup.

#

If we want to a full page redirect what change I have to do

austere edge
#

Then when the payment is confirmed, if 3DS is required, the payment intent will have a next_action of redirect_to_url and a URL to redirect to with your js code

compact spire
#

Thanks