#boris-paymentelement-submitbutton
1 messages · Page 1 of 1 (latest)
HI 👋
The payment element doesn't create it's own Submit button. You need to write that part
Oh I see, so we should implement our own button, and listen to the change event for complete?
Yes, you check the complete boolean to make sure the form is complete and then you trigger .confirmPayment when the button is pressed & the form is complete
Gotcha, ok thank you!