我不断收到错误:81115,当我这样做时,缺少参数付款操作 Doexpresscheckout方法?发送以下参数
&METHOD=DoExpressCheckoutPayment
&VERSION=65.1
&PWD=1299156195
&USER=123hel_1299156185_biz_api1.gmail.com
&SIGNATURE=Ai1PaghZh5FmBLCDCTQpwG8jB264Ay4Ll3wOTnzcWtuD-HdE5qiI1p.N+
&TOKEN=EC-6M866117WG376591R
&PAYERID=RDX5GUURFJ9VY
&PAYMENTACTION=%27.Sale
&AMT=104
&CURRENCYCODE=%27USD.%27,
帮我修复这个错误?
答案 0 :(得分:0)
嗯,小搜索让我找到了2种可能的解决方案:
https://www.x.com/message/157458
http://randomerror.wordpress.com/2010/01/27/error-code-81115-on-paypal-express-checkout-code/
最后一个似乎在paypal的PHP应用程序中很常见:
paypalfunctions.php代码上的错误
$token = urlencode($_SESSION['token']);
$paymentType = urlencode($_SESSION['paymentType']);
应该是:
$token = urlencode($_SESSION['TOKEN']);
$paymentType = urlencode($_SESSION['PaymentType']);
答案 1 :(得分:0)
PaymentActionSpecified=true
应设置此字段...