Set values from the sqpayment form

Hi! There is a way to set the values of the inputs with Javascript?, because i had a Magnetic Stripe Card Reader and i’m using it with the other payments methods and i would like to implement it too with square, thanks!

Welcome to the forums!

The only value that you can set in the payment form is the postal code (setPostalCode). None of the other fields can be set via javascript due to security reasons; they can only be supplied by the end-user typing it directly into the input field(s).