2
当我尝试执行下面我得到一个无效的令牌错误:无效的令牌错误
curl -s --insecure -H "X-PAYPAL-SECURITY-USERID:<paypal sandbox user id>" -H "X-PAYPAL-SECURITY-PASSWORD:<paypal sandbox password>" -H "X-PAYPAL-SECURITY-SIGNATURE:<paypal sandbox security signature>" -H "X-PAYPAL-REQUEST-DATA-FORMAT:NV" -H "X-PAYPAL-RESPONSE-DATA-FORMAT:JSON" -H "X-PAYPAL-APPLICATION-ID:APP-80W284485P519543T" https://svcs.sandbox.paypal.com/Invoice/CreateAndSendInvoice -d "requestEnvelope.errorLanguage=en_US&[email protected]&[email protected]&invoice.currencyCode=USD&invoice.itemList.item(0).name=Banana+Leaf+--+001&invoice.itemList.item(0).description=Banana+Leaf&invoice.itemList.item(0).quantity=1&invoice.itemList.item(0).unitPrice=1&invoice.itemList.item(0).taxName=Tax1&invoice.itemList.item(0).taxRate=10.25&invoice.paymentTerms=Net10"
我收到以下错误:
{“responseEnvelope” :{ “时间戳”: “2012-09-18T08:06:27.801-07:00”, “ACK”: “失败”, “的correlationID”: “2d3c5f95a76d9”, “建”: “3566933”}, “错误” :[{“errorId”:“570054”,“domain”:“PLATFORM”,“subdomain”:“Application”,“severity”:“Error”,“category”:“Application”,“message”:“ “}]}
我没有le找到发送错误的参数,这里发送的参数用于获取无效的令牌错误。请帮忙。