0

我正在尝试将 PayPal 的快速结帐选项集成到我的网站。虽然当我提交表单时出现此错误:

Error : Order total is missing.
Array
(
    [TIMESTAMP] => 2013%2d10%2d26T11%3a02%3a21Z
    [CORRELATIONID] => b560763f62a46
    [ACK] => Failure
    [VERSION] => 76%2e0
    [BUILD] => 8252112
    [L_ERRORCODE0] => 10400
    [L_ERRORCODE1] => 10001
    [L_SHORTMESSAGE0] => Transaction%20refused%20because%20of%20an%20invalid%20argument%2e%20See%20additional%20error%20messages%20for%20details%2e
    [L_SHORTMESSAGE1] => Transaction%20failed%20due%20to%20internal%20error
    [L_LONGMESSAGE0] => Order%20total%20is%20missing%2e
    [L_LONGMESSAGE1] => Internal%20Error
    [L_SEVERITYCODE0] => Error
    [L_SEVERITYCODE1] => Error
)

&CURRENCYCODE=USD
&PAYMENTACTION=Sale
&ALLOWNOTE=1
&PAYMENTREQUEST_0_CURRENCYCODE=USD
&PAYMENTREQUEST_0_AMT=
&PAYMENTREQUEST_0_ITEMAMT=
&L_PAYMENTREQUEST_0_QTY0=1
&PAYMENTREQUEST_0_AMT=
&L_PAYMENTREQUEST_0_NAME0=Fund+your+balance
&L_PAYMENTREQUEST_0_NUMBER0=rbl
&AMT=
&RETURNURL=http%3A%2F%2Fdomain.com%2Fincludes%2Fipn%2Fpaypal%2Fprocess.php
&CANCELURL=http%3A%2F%2Fdomain.com%2Faccount

好像没找到问题...

4

1 回答 1

0

几个问题

PAYMENTREQUEST_0_AMT重复两次

PAYMENTREQUEST_0_ITEMAMT并且PAYMENTREQUEST_0_AMT是空的。您必须提供要处理的金额。您的错误消息实际上是这样说的

于 2013-10-27T01:00:38.027 回答