2013-03-22 88 views
3

我正在使用PHP製作衆籌網站,並且正在使用預付款和鏈接付款。580022 - 收款人所在的國家/地區未啓用付款

我能夠但是創建和取消預批准的付款程序就好了,當我試圖向他們支付的一個,我得到的錯誤:

580022 - 接收機基於該ISN國家不能接收付款

我有兩個接收器,主接收器獲得95%的金額,並且是正在質押的項目的所有者。 其餘5%作爲佣金支付給我。

兩個接收器都有英國貝寶賬戶,我正在沙箱中工作。

任何想法有什麼不對?我希望這個功能可以在英國得到,否則我就這樣一無所有!

我使用這個API進行支付:https://github.com/angelleye/paypal/

這裏是一個被髮送到貝寶生成的XML:

<?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="">[email protected]</email> 
     <paymentType xmlns="">GOODS</paymentType> 
     <primary xmlns="">true</primary> 
    </receiver> 
    <receiver xmlns=""> 
     <amount xmlns="">0.02</amount> 
     <email xmlns="">[email protected]</email> 
     <paymentType xmlns="">GOODS</paymentType> 
     <primary xmlns="">false</primary> 
    </receiver> 
    </receiverList> 
    <sender> 
    <useCredentials xmlns=""> 
    </useCredentials> 
</sender> 
    <account xmlns=""> 
    <email xmlns="">[email protected]</email> 
    <phone xmlns=""> 
    </phone> 
</account> 
    <returnUrl xmlns="">http://89.238.152.7/funding/success/return</returnUrl> 
</PayRequest> 

誰能幫助?

感謝,

+0

當我使用美國沙箱帳戶時,它似乎通過罰款:/爲什麼這不會與英國? – James 2013-03-22 11:38:20

+0

[新貝寶系統可能已經停止使用我的代碼](http://stackoverflow.com/questions/15552292/new-paypal-system-has-stopped-working-with-my-code) – 2013-03-26 08:26:02

回答

1

請參閱我在New paypal system has stopped working with my code
問題答案在於用的AppID在沙箱。我們正在努力解決這個問題。

編輯:這應該現在解決。如果您看到任何進一步的問題,請告訴我。

+0

Thanks,Robert 。希望這個很快排序,你能保持我更新嗎? 現在我將使用美國沙盒帳戶,但希望在推出前測試英國沙盒帳戶。 – James 2013-03-26 15:18:03

+0

是的,我會盡快更新。 – Robert 2013-03-26 19:21:26

+0

現在應該解決。如果您看到任何進一步的問題,請告訴我。 – Robert 2013-03-30 11:58:09