1

Since the API have changed all the times i try to pay with a developper test business i get an error like this :

array (
  'TIMESTAMP' => '2013-04-04T21:30:54Z',
  'CORRELATIONID' => 'c1929df7ab60a',
  'ACK' => 'Failure',
  'VERSION' => '97',
  'BUILD' => '5618210',
  'L_ERRORCODE0' => '10002',
  'L_SHORTMESSAGE0' => 'Security error',
  'L_LONGMESSAGE0' => 'Security header is not valid',
  'L_SEVERITYCODE0' => 'Error',
)

This is the call i make :

https://api-3t.sandbox.paypal.com/nvp?VERSION=97
METHOD=SetExpressCheckout&
CANCELURL=http://url.com&
RETURNURL=http://url.com&
PAYMENTREQUEST_0_AMT=78&
PAYMENTREQUEST_0_CURRENCYCODE=EUR&
PAYMENTREQUEST_0_PAYMENTACTION=SALE&
PAYMENTREQUEST_0_CUSTOM=2856

But all the data in the API call is rightly filled. I can't add a business account to my developper account. Just befoire the API changes everything was fine, maybe i'm missing something ? Thank you

4

3 回答 3

0

Are you missing "&" after https://api-3t.sandbox.paypal.com/nvp?VERSION=97 <--- missing "&"

So you must change to : https://api-3t.sandbox.paypal.com/nvp?VERSION=97&METHOD=SetExpressCheckout&...

Hope this help, thank.

于 2013-11-25T19:25:39.973 回答
0

仔细检查您传递的凭据,再次尝试复制它们,并确保您的凭据之前或之后没有多余的空格。

于 2013-04-05T13:10:02.727 回答
0

我遇到了同样的问题。我将参数名称 PAYMENTREQUEST_0_AMT 更改为 AMT 并将 PAYMENTREQUEST_0_PAYMENTACTION 更改为 PAYMENTACTION 并且效果很好。希望它也适用于你。

于 2013-04-05T10:17:03.367 回答