Paypal:无法处理付款

Posted

技术标签:

【中文标题】Paypal:无法处理付款【英文标题】:Paypal: Unable to process payments 【发布时间】:2019-07-15 10:11:18 【问题描述】:

我在 wordpress 中使用 woocommerce/paypal 插件。

我有以下请求参数:

WC_Gateway_PPEC_Client::_request: remote request to https://api-3t.sandbox.paypal.com/nvp with params: Array (
    [LOGOIMG] => 
    [HDRIMG] => 
    [PAGESTYLE] => 
    [BRANDNAME] => Neeta Sinha
    [RETURNURL] => http://172.16.60.51/project/our-services/checkout/?woo-paypal-return=true
    [CANCELURL] => http://172.16.60.51/project/our-services/cart/?woo-paypal-cancel=true
    [ADDROVERRIDE] => 1
    [LANDINGPAGE] => Billing
    [SOLUTIONTYPE] => Sole
    [PAYMENTREQUEST_0_PAYMENTACTION] => sale
    [PAYMENTREQUEST_0_ALLOWEDPAYMENTMETHOD] => InstantPaymentOnly
    [PAYMENTREQUEST_0_INSURANCEAMT] => 0
    [PAYMENTREQUEST_0_HANDLINGAMT] => 0
    [PAYMENTREQUEST_0_CUSTOM] => 
    [PAYMENTREQUEST_0_INVNUM] => 
    [PAYMENTREQUEST_0_CURRENCYCODE] => INR
    [PAYMENTREQUEST_0_AMT] => 29500
    [PAYMENTREQUEST_0_ITEMAMT] => 25000
    [PAYMENTREQUEST_0_SHIPPINGAMT] => 0
    [PAYMENTREQUEST_0_TAXAMT] => 4500
    [PAYMENTREQUEST_0_SHIPDISCAMT] => 0
    [NOSHIPPING] => 1
    [PAYMENTREQUEST_0_SHIPTONAME] => Dushyant Joshi
    [PAYMENTREQUEST_0_SHIPTOSTREET] => 
    [PAYMENTREQUEST_0_SHIPTOSTREET2] => 
    [PAYMENTREQUEST_0_SHIPTOCITY] => 
    [PAYMENTREQUEST_0_SHIPTOSTATE] => MH
    [PAYMENTREQUEST_0_SHIPTOZIP] => 410209
    [PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE] => IN
    [L_PAYMENTREQUEST_0_NAME0] => Astro Architecture - Floor plan consultation
    [L_PAYMENTREQUEST_0_DESC0] => 
    [L_PAYMENTREQUEST_0_QTY0] => 1
    [L_PAYMENTREQUEST_0_AMT0] => 25000
    [METHOD] => SetExpressCheckout
    [VERSION] => 120.0
    [USER] => dushyant********india_api1.gmail.com
    [PWD] => W7HCKTAXQ4E65W92
    [SUBJECT] => dushyant******india@gmail.com
    [SIGNATURE] => AR.****************-Mmt9dEZz15ueaFPrdp
)

我收到以下回复

WC_Gateway_PPEC_Client::_process_response: acknowleged response body: Array
(
    [TOKEN] => EC-3L302863EG4314630
    [TIMESTAMP] => 2019-02-21T13:08:58Z
    [CORRELATIONID] => 7a536ac5ad1e
    [ACK] => Success
    [VERSION] => 120.0
    [BUILD] => 51861407
)

国家/地区商人沙盒帐户是印度。

但我收到以下错误。

我们无法使用您的 PayPal 帐户处理您的付款,网址为 这次。请返回商家并尝试使用其他 付款方式。

【问题讨论】:

检查您的帐户的权限。 @devpro,为美国工作 是的,检查您所在地区的权限。 @devpro 第三方权限? 是的,您所在的国家/地区可能未启用此服务 【参考方案1】:

如果您正在为印度商家使用 Woocommerce 插件,请尝试启用 WooCommerce 的“Woocommerce Paypal Checkout Gateway”。请注意,印度买家可以使用印度 PayPal 帐户以印度卢比付款。但是,要在沙盒中进行测试,请确保您从结帐页面传递 INR,以便印度买家为印度商家付款。

【讨论】:

以上是关于Paypal:无法处理付款的主要内容,如果未能解决你的问题,请参考以下文章

Paypal:我们目前无法使用 PayPal 帐户处理付款。请返回给商家

由于货币不受支持,此交易无法处理 - Paypal 直接付款

Paypal / Magento 错误:无法处理此交易。请用另一张卡付款

Paypal 订阅用户:50% 的时间显示“我们无法处理您的定期付款”

Android Webview 应用程序无法通过 Opencart 网站上的 PayPal 处理付款

无法在 PayPal HTMLButton 上为每个付款请求指定“金额”