错误:10548。配置无效。商家的帐户无法处理交易

时间:2018-03-29 10:53:53

标签: api paypal

我正在尝试在源代码中调用PayPal API来处理信用卡交易。它看起来在Sandbox上运行得很完美,但在Live中响应时抛出如下错误。

Array
(
    [TIMESTAMP] => 2018-03-14T17:42:19Z
    [CORRELATIONID] => 8d47b259e776b
    [ACK] => Failure
    [VERSION] => 3.2
    [BUILD] => 39949200
    [L_ERRORCODE0] => 10548
    [L_SHORTMESSAGE0] => Invalid Configuration
    [L_LONGMESSAGE0] => This transaction cannot be processed. The merchant's account is not able to process transactions.
    [L_SEVERITYCODE0] => Error
    [AMT] => 26.55
    [CURRENCYCODE] => USD
)

请求对象中发送的参数如下所示。

Array
(
    [USER] => <my_username>
    [PWD] => <my_password>
    [SIGNATURE] => <signature>
    [METHOD] => DoDirectPayment
    [PAYMENTACTION] => Sale
    [IPADDRESS] => <my_server_ip_address>
    [VERSION] => 3.2
    [AMT] => 26.55
    [CREDITCARDTYPE] => Visa
    [ACCT] => <credit_card_number>
    [STARTDATE] =>
    [EXPDATE] => 032023
    [CVV2] => 111
    [FIRSTNAME] => <acct_first_name>
    [LASTNAME] => <acct_last_name>
    [STREET] =>
    [CITY] =>
    [STATE] =>
    [COUNTRYCODE] =>
    [ZIP] =>
    [EMAIL] => <acct_email_id_at_domain.com>
    [PHONENUM] =>
    [CURRENCYCODE] =>
    [BUTTONSOURCE] => osCommerce22_Default_DP
)

我完成了检查“商业帐户”以及配置文件中“家庭电话号码”和“客户服务电话号码”的存在,并发现一切正常。

任何帮助将不胜感激。

谢谢!

1 个答案:

答案 0 :(得分:0)

您正在尝试使用API​​操作DoDirectPayment处理直接信用卡付款。要处理直接信用卡付款,您需要拥有PRO的PayPal Business帐户。但是您的Live PayPal帐户没有PRO,这就是获取错误代码10548的原因。在这里您使用Classic API来处理付款。请联系PayPal MTS团队https://www.paypal-techsupport.com/获取最新产品,以便直接付款。