【发布时间】:2013-03-12 03:36:12
【问题描述】:
我正在使用 PHP 制作一个众筹网站,并且我正在使用预先批准和链式支付。
我可以通过编程方式创建和取消预先批准的付款,但是当我尝试支付其中一笔时,我收到了错误:
580022 - 收款人所在的国家/地区无法接收付款
我有两个接收者,主要接收者获得 95% 的金额,并且是被质押项目的所有者。 剩下的 5% 作为佣金给我。
两个收款人都有英国的 PayPal 账户,我在沙盒中工作。
知道有什么问题吗?我希望这个功能可以在英国使用,否则我白白跑了这么多路!
我正在使用此 API 进行付款:https://github.com/angelleye/paypal/
这里是生成的 XML 发送到 paypal:
<?xml version="1.0" encoding="utf-8"?>
<PayRequest xmlns="http://svcs.paypal.com/types/ap">
<requestEnvelope xmlns="">
<detailLevel>ReturnAll</detailLevel>
<errorLanguage>en_US</errorLanguage>
</requestEnvelope>
<actionType xmlns="">PAY_PRIMARY</actionType>
<cancelUrl xmlns="">http://89.238.152.7/funding/error/cancelled</cancelUrl>
<clientDetails xmlns="">
<applicationId xmlns="">APP-80W284485P519543T</applicationId>
<customerId xmlns="">1</customerId>
<ipAddress xmlns="">92.27.172.254</ipAddress>
<partnerName xmlns="">The Funding Forum</partnerName>
</clientDetails>
<currencyCode xmlns="">GBP</currencyCode>
<feesPayer xmlns="">EACHRECEIVER</feesPayer>
<fundingConstraint xmlns="">
<allowedFundingType xmlns="">
<fundingTypeInfo xmlns="">
<fundingType xmlns="">ECHECK</fundingType>
</fundingTypeInfo>
<fundingTypeInfo xmlns="">
<fundingType xmlns="">BALANCE</fundingType>
</fundingTypeInfo>
<fundingTypeInfo xmlns="">
<fundingType xmlns="">CREDITCARD</fundingType>
</fundingTypeInfo>
</allowedFundingType>
</fundingConstraint>
<ipnNotificationUrl xmlns="">http://89.238.152.7/paypal/ipn.php</ipnNotificationUrl>
<preapprovalKey xmlns="">PA-8EE05998ST379664R</preapprovalKey>
<receiverList xmlns="">
<receiver xmlns="">
<amount xmlns="">0.5</amount>
<email xmlns="">james_1351605562_per@design365.co.uk</email>
<paymentType xmlns="">GOODS</paymentType>
<primary xmlns="">true</primary>
</receiver>
<receiver xmlns="">
<amount xmlns="">0.02</amount>
<email xmlns="">james_1351605505_biz@design365.co.uk</email>
<paymentType xmlns="">GOODS</paymentType>
<primary xmlns="">false</primary>
</receiver>
</receiverList>
<sender>
<useCredentials xmlns="">
</useCredentials>
</sender>
<account xmlns="">
<email xmlns="">poeljames@gmail.com</email>
<phone xmlns="">
</phone>
</account>
<returnUrl xmlns="">http://89.238.152.7/funding/success/return</returnUrl>
</PayRequest>
谁能帮忙?
谢谢,
【问题讨论】:
-
当我使用美国沙盒帐户时,它似乎很顺利:/ 为什么这不适用于英国??