#boris-paymentelement-submitbutton

1 messages · Page 1 of 1 (latest)

sacred duneBOT
floral oasis
#

HI 👋

#

The payment element doesn't create it's own Submit button. You need to write that part

slender perch
#

Oh I see, so we should implement our own button, and listen to the change event for complete?

floral oasis
#

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

slender perch
#

Gotcha, ok thank you!