#isaac-paymentelement-submit

1 messages · Page 1 of 1 (latest)

severe crowBOT
novel rapids
#

Hey @naive crown do you have more contex? What "stripe form" exactly?

severe crowBOT
naive crown
#

This is the code to set and prepare my stripe form:

this.paymentElement = this.elements.create('payment', paymentElementOptions)

this.paymentElement.mount(target);
novel rapids
#

Okay so you use our PaymentElement UI. This is not a form in any way, so we don't have a form submission logic. You can totally put this inside a form and programmatically call submit or have a button to click or just call confirmPayment()

#

isaac-paymentelement-submit

naive crown
#

Now we are looking for a new way to submit the form using code, not the submit button

#

Everything works fine with our stripe integration but as mentioned before, we need to be able to submit the form using a button outside of the form