html - Setting up customer payment options with Braintree's Javascript SDK? -


i'm attempting go through braintree's javascript sdk documentation, it's bit sparse.

what minimum html have write in order enable customer setup credit card use braintree payments? how braintree javascript sdk process html or setup html , process it?

does braintree javascript sdk first have grab values server before can setup customer , have have values hardcoded before can grab values?

i know have setup server side of this, i'm trying figure out client side javascript first.

full disclosure: work @ braintree. if have further questions, feel free contact support.

i'd happy help!

what minimum html have write in order enable customer setup credit card use braintree payments?

the minimum amount of html you'd have write collect/store/transact customer payment information using braintree's drop-in integration. can check out this link basic drop-in example.

how braintree javascript sdk process html or setup html , process it?

the sdk instantiate dropin within specified html container. before form submitted javascript attempt tokenize inputted data braintree, in nonce returned client.

does braintree javascript sdk first have grab values server before can setup customer , have have values hardcoded before can grab values?

the js sdk grab values provided drop-in , send them braintree. braintree tokenize values , return nonce client part of payload. nonce should sent server, in can consumed part of customer.create(), transaction.sale(), or paymentmethod.create() api call.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -