#AlexT17

1 messages · Page 1 of 1 (latest)

cedar raptorBOT
remote axle
#

Hi! Let me help you with this.

#

Normally, if you try to confirm the SetupIntent if the form is incomplete, the Payment Element will highlight the errors in the fields and do nothing else.

#

Let me see what's the issue

#

It seems like on the line with return_url you don't just assign the value, you actually redirect the customer:
return_url: window.location.href = 'https://localhost:44300/Home/PaymentSetupStatus',

#

It needs to be just:
return_url: 'https://localhost:44300/Home/PaymentSetupStatus',

manic quest
#

Ah ok. Thanks, I'll try it.

remote axle
#

Happy to help. Let me know if you have any other questions.

manic quest
#

Yep, that fixed. Thanks very much!! I'm sure I'll be back with more questions.