2013-03-21 45 views
5

我还没有能够在我的项目上工作大约1个月。现在我有一些时间来回到它。我注意到,贝宝做了一些改变。新的贝宝系统已停止使用我的代码

在我暂时从这个项目中休息之前,我能够使用paypal API发送付款。但是现在,当我使用相同的代码,我得到以下信息:

Preapproval API call failed. Detailed Error Message: The receiver is based in a country that isn't enabled to receive paymentsError Code: 580022Error Severity: ErrorError Domain: PLATFORMError Category: Application

我在英国我和我的paypalplaform.php文件没有发生任何变化。我唯一改变的是api凭证凭借已获得的新凭据:

$PROXY_HOST = '127.0.0.1'; 
$PROXY_PORT = '808'; 

$Env = "sandbox"; 

$API_UserName = "new-facilitator_api-email-goes-here"; 
$API_Password = "password-goes-here"; 
$API_Signature = "sig-goes-here"; 
// AppID is preset for sandbox use 
// If your application goes live, you will be assigned a value for the live environment by PayPal as part of the live onboarding process 
$API_AppID = "APP-80W284485P519543T"; 
$API_Endpoint = ""; 

if ($Env == "sandbox") 
{ 
     $API_Endpoint = "https://svcs.sandbox.paypal.com/AdaptivePayments"; 
} 
else 
{ 
     $API_Endpoint = "https://svcs.paypal.com/AdaptivePayments"; 
} 

为什么这不再起作用?我在apache error.log文件中没有收到任何错误。

+0

觉得很烦人,我要2整天等待设置赏金吸引更多注意的问题...... – oshirowanen 2013-03-21 19:50:08

+0

在旧的paypal沙箱系统,有一个通用的api用户名,密码,沙箱帐户的签名,这是我在paypalplatform.php文件中使用的。我似乎无法在新的沙盒PayPal系统中找到一般的api用户名,密码,签名,这就是为什么我尝试使用主持人paypal沙箱测试帐户的原因。 – oshirowanen 2013-03-21 19:56:53

回答

3

问题在于您正在使用的Sandbox AppID:APP-80W284485P519543T。

我们意识到这个问题并正在努力解决它。一旦这个问题得到解决,我会尽快通知你。
与此同时,您应该能够恢复与美国账户的测试。

+0

现在应该解决。如果您看到任何进一步的问题,请告诉我。 – Robert 2013-03-30 11:58:32

+0

我正在使用iOS MPL库版本2.1.1但是,如果发件人或收件人在美国境外,我在进行自适应付款时仍会收到错误520002(内部错误)。你能帮忙吗? – 2014-03-13 05:33:14

+0

嘿,贝宝:: SDK :: AdaptivePayments.new不作为“PRIMARYRECEIVER”feePayer工作,但为“SENDER”工作。我有一个基于印度的沙箱帐户。问题还没有解决? – 2017-04-17 12:25:26

2

我终于得到了来自PayPal的响应,看起来前途:

Response Via Email (xxxx)
Dear xxxxx,
my name is xxxxx from Merchant Technical Services
This is a known issue that I am working with our engineers closely on,
I apologize for the inconvenience this has caused.

Sincerely,
xxxxxx
Merchant Technical Support
PayPal, an eBay Company

+0

请保持我们更新!非常感谢你。 – oshirowanen 2013-03-26 10:32:42

+0

现在应该解决。如果您看到任何进一步的问题,请告诉我。 – Robert 2013-03-30 11:58:54

+0

我现在收到一个不同的错误: 559044 - 收件人[email protected]不接受此货币的付款。 付款是由英国账户以英镑进行的,并且收款人有一个英国账户。 – James 2013-04-02 09:57:58