Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Dear Vaadin community.
I would like to implement the JS client-side SDK of the Braintree Payments API in a Vaadin application.
In essence, I want to get to the point where I can generate a nonce which must use the client js api that braintree provides since it goes through their servers:
document.querySelector('input[name="payment-method-nonce"]').value = payload.nonce;
How would I go about something like this?
There's also the possibility to directly tokenize which I might want to use. https://braintree.github.io/braintree-web/3.8.0/Client.html#request
if that would allow somebody to help me better.