Paypal沙箱'待定'多币种

时间:2013-11-08 16:57:00

标签: paypal paypal-sandbox

我目前正在使用PayPals rest api。执行付款时,它将返回“待定”状态,其原因是“多种货币”。

这背后的原因是因为默认的“服务商”帐户设置为美国我需要它全部以GB为单位。问题是我可以登录sandbox.paypal.co.uk上的user-facilitators@email.co.uk帐户。我正在输入电子邮件和密码(100%正确),它不会让我登录沙箱,所以我可以将货币首选项更改回英镑。

有人不知道为什么?

3 个答案:

答案 0 :(得分:2)

要登录Sandbox Paypal帐户,您必须登录Paypal Developer Account

答案 1 :(得分:1)

由于默认的“促进者”帐户设置为美国,您希望将其更改为其他国家/地区。但是在沙盒中无法进行此编辑。

因此,另一种解决方案是创建另一个沙箱帐户将其设置为企业帐户设置所需的国家/地区,然后货币将自动为您的国家/地区货币

执行此操作后,请使用此商家帐户进行测试,而不是使用默认的“促进者”帐户。

像这样,您可以为任何国家/货币创建任意数量的商业帐户。

希望这对你有所帮助并理解。

答案 2 :(得分:1)

是的,一旦我们在Paypal开发者网站上注册,默认情况下,Paypal会向我们发出两个默认测试帐户,一个是商家帐户,另一个是用户测试帐户。一切都很好。

但问题是他们的默认货币是美国,我们无法更改它们。

当你的Magento商店的基础货币被设置为其他人,比如AU,这个问题肯定会出现以下系统日志:

        [CURRENCYCODE] => AUD
        [PAYMENTSTATUS] => Pending
        [PENDINGREASON] => multicurrency

创建另一个商家帐户并使用您的Magento商店设置相同的货币,它将被修复。

payment_paypal_express.log

2014-12-12T01:51:34+00:00 DEBUG (7): Array
(
    [url] => https://api-3t.sandbox.paypal.com/nvp
    [GetTransactionDetails] => Array
        (
            [TRANSACTIONID] => 15Y48062WM0910211
            [METHOD] => GetTransactionDetails
            [VERSION] => 72.0
            [USER] => ****
            [PWD] => ****
            [SIGNATURE] => ****
            [BUTTONSOURCE] => OneStepCheckout_SI_MagentoCE
        )

    [response] => Array
        (
            [RECEIVEREMAIL] => john.yin.au-facilitator@gmail.com
            [RECEIVERID] => VQ37QYGD3SFPW
            [EMAIL] => john.yin.au-buyer@gmail.com
            [PAYERID] => LXDH2RT89NRAS
            [PAYERSTATUS] => verified
            [COUNTRYCODE] => US
            [SHIPTONAME] => john h
            [SHIPTOSTREET] => 33
            [SHIPTOSTREET2] => esdfd re
            [SHIPTOCITY] => ddw
            [SHIPTOSTATE] => AL
            [SHIPTOCOUNTRYCODE] => AU
            [SHIPTOCOUNTRYNAME] => Australia
            [SHIPTOZIP] => 34343
            [ADDRESSOWNER] => PayPal
            [ADDRESSSTATUS] => Confirmed
            [INVNUM] => 100000036
            [SALESTAX] => 0.00
            [TIMESTAMP] => 2014-12-12T01:51:34Z
            [CORRELATIONID] => 2ef746f5f1a77
            [ACK] => Success
            [VERSION] => 72.0
            [BUILD] => 14077178
            [FIRSTNAME] => Test
            [LASTNAME] => Buyer
            [TRANSACTIONID] => 15Y48062WM0910211
            [TRANSACTIONTYPE] => cart
            [PAYMENTTYPE] => instant
            [ORDERTIME] => 2014-12-12T01:50:39Z
            [AMT] => 44.00
            [TAXAMT] => 0.00
            [SHIPPINGAMT] => 0.00
            [HANDLINGAMT] => 0.00
            [CURRENCYCODE] => AUD
            [PAYMENTSTATUS] => Pending
            [PENDINGREASON] => multicurrency
            [REASONCODE] => None
            [PROTECTIONELIGIBILITY] => Eligible
            [PROTECTIONELIGIBILITYTYPE] => ItemNotReceivedEligible,UnauthorizedPaymentEligible
            [L_NAME0] => color swatch te
            [L_NUMBER0] => ZP-D3241-WHITE-L
            [L_QTY0] => 1
            [L_TAXAMT0] => 0.00
            [L_SHIPPINGAMT0] => 0.00
            [L_HANDLINGAMT0] => 0.00
            [L_CURRENCYCODE0] => AUD
            [L_AMT0] => 44.00
        )

    [__pid] => 30696
)