When I called the PayPal SetExpressCheckout API, I received an error code of 10400 in the response.
According to
, OrderTotal is missing.
Do you need anything other than the following parameters?
[Parameters]
&METHOD=SetExpressCheckout
&VERSION=52.0
&USER=***
&PWD=*****
&SIGNATURE= XXXXXXXX
&PAYMENTQUEST_0_PAYMENT=Sale
&PAYMENTREQUEST_0_AMT=19.5
&RETURNURL=XXXXXX
&CANCELURL=XXXXXX"
[Response]
TIMESTAMP=2015-05-28T08:22:13Z
& CORRELATIONID=*****
&ACK=Failure
&VERSION=52.0
&BUILD=7333778
&L_ERRORCODE 0=10400
&L_SHORTMESSAGE0 = Transaction refused cause of an invalid argument.See additional error messages for details.
&L_LONGMESSAGE 0 = Order total is missing.
&L_SEVERITYCODE 0 = Error
The version you specified is old, so let's renew it.Try VERSION=122.0.
The PAYMENTREQUEST_0_* parameter is not recognized in older versions, so
I think the required PAYMENTREQUEST_0_AMT parameter is an error that is considered unspecified.
The currency is US dollars by default.
Please send PAYMENT REQUEST_0_CURRENCYCODE=JPY to pay in Japanese yen.
Also, for Japanese yen, the value of PAYMENTREQUEST_0_AMT must be an integer.
611 GDB gets version error when attempting to debug with the Presense SDK (IDE)
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
581 PHP ssh2_scp_send fails to send files as intended
915 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.