I'm using Braintree Js V2 hosted field and paypal in ruby rails form. everything works fine, however is there any way to add space between numbers in credit card and insert " / " in expiration fields like Js V3 does?
However, I tried JS V3 hosted fields combined with paypal as explained here https://github.com/braintree/braintree-web/issues/209 as I want the customer to remain on site rather than a re direct to paypal - cannot figure out how to pass payment_method_nonce in submit form function.
For v3 Im using Material Design example form in braintree guides
Do I have to create hidden field in the form to pass payment_method_nonce in submit function ?