#kdawg-success-page

1 messages · Page 1 of 1 (latest)

final flax
#

Hi there! What integration flow are you using?

charred cradle
#

Custom payment flow

final flax
#

With Payment Element?

charred cradle
#

yes

final flax
#

However, this will only be true if you are only accepting paymentmethods that don't require a redirect

#

Like just cards

charred cradle
#

my issue is that redirects are not working as expected, i have an spa and i've got this setup for return_url

  confirmParams: {
        return_url: "http://localhost:5000/#/SuccessPage", 
      },

but on payment success it redirects to :

http://localhost:5000/?payment_intent=pi_3KhyxJL95wp*******E6J4dA&payment_intent_client_secret=pi_3KhyxJL95wp*******E6J4dA_secret_g1oeAP9NtJO0E4d9NC1rjcJwb&redirect_status=succeeded#/

instead..

final flax
#

So it is expected that it is going to provide you back parameters about the PaymentIntent in case you want to use those to display info to your customer (hint: you should use Webhooks instead). I don't think /#/SuccessPage is a valid subdomain, right? Thus it is just hitting the index?

#

Yep you can't use /#/ as a subdomain