#isaac.mk - setupintent

1 messages · Page 1 of 1 (latest)

vernal furnace
tacit venture
#

here is the request id req_7ZC34JJCGVIj2W

tacit venture
vernal furnace
#

Thanks! This request worked, so what exactly is the issue?

tacit venture
#

The issue is that I got the url "http:///?setup_intet=*** /#/authentication?merno = " but what I really want is "http:///#/authentication?merno = &setup_intet=*** "

tacit venture
vernal furnace
#

So you want to update the existing SetupIntent to change the URL? Or you want to create a new SetupIntent with the new URL?

tacit venture
#

No, I think stripe handle the url in a wrong way. It gives me a wrong pattern of the url.

tacit venture
tacit venture
vernal furnace
tacit venture
tacit venture
astral stone
#

Is there a need for the # in your return_url parameter?

#

Can you provide a reproduction of this?

astral stone
#

Somewhere where I can replicate the behaviour myself

tacit venture
#

SetupIntentCreateParams setupIntentCreateParams = SetupIntentCreateParams .builder() .setCustomer(scb.getStripeCustomerId()) .setReturnUrl("http://192.168.255.121:8080/#/authentication" + "?merNo=" + requireActionVo.getMerNo()) .setPaymentMethod(resultStripeMethodBind.getPaymentMethodId()) .setConfirm(true) .build(); this is my code.

#

@astral stone Because we are testing now, we can't give you the place to test.

astral stone
#

I'll need to try and recreate this then, give me some time

astral stone
#

Can you share your Stripe.js code?

#

Or where you call confirmSetup?

#

So you'll need to amend your URL structure to accommodate for that