#AlexT17
1 messages · Page 1 of 1 (latest)
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',
Ah ok. Thanks, I'll try it.
Happy to help. Let me know if you have any other questions.
Yep, that fixed. Thanks very much!! I'm sure I'll be back with more questions.