我正在使用braintree paypal结账,它对我来说工作得很好,但我无法添加税收和运费,我试图获得一些信息,但这也不适用于我,这是我目前的代码为braintree结账
var form = document.querySelector('#payment-form');
var client_token = "<?php echo \Braintree\ClientToken::generate(); ?>";
// Render the PayPal button
paypal.Button.render({
/
我正在用paypal建立结账。我已经做了两天了,似乎想不出如何将付款细节输入到我的数据库中。
这是我试图解析JSON时遇到的错误:
Uncaught SyntaxError: Unexpected token o in JSON at position 1
at JSON.parse (<anonymous>)
at https://######.com/######/quote.php?fname=######&lname=#####&email=########%40#########.com&tel=######&lot=7920&bu