Popping up Stripe box

Instead of showing the Stripe control on a form, i am hoping to put a button that can be pressed to show the same thing as if the Stripe control is pressed.

Is this possible?:


Yes. We actually do this on the AppStudio order page:

Card.onclick = function(e) {
    if ($("#txtSerialNumber").hasClass("has-error")) {
        NSB.MsgBox("Please correct Serial Number.")

After the user clicks on our button, we check to make sure the serial number is correct. If it is, we click on the Stripe control to bring it up.

Works fine. Thanks.