Here is my braintree javascript code.
braintree.setup("<?=$clientToken?>", "custom", {
id: "checkout_prem",
paymentMethodNonceReceived: function (event, nonce) {
return false;
}
});
After i click on submit button it will submit the form that i don't want to.
Can anybody help me to solve this.