Braintree dropin form issue - nonce string not being generated
问题 I'm trying to use the dropin form from braintree but it produces a weird behaviour. I can successfully place the form in a view: <form id="createTransactionForm" method="post" action="#"> <div id="payment-form"></div> <input type="submit" value="Test - Pay"> </form> <script> var braintreeToken = @Html.Raw(Json.Encode(Model.brainTreeToken)); braintree.setup( braintreeToken, "dropin", { container: "payment-form" }); ... Here's the result: They state in their documentation (3rd paragraph) that