简体   繁体   English

贝宝:无法处理付款

[英]Paypal: Unable to process payments

I am using woocommerce/paypal plugin in wordpress. 我在wordpress中使用woocommerce / paypal插件。

I have the following request params: 我有以下请求参数:

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
)

And I receive the following response 我收到以下回应

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
)

The country merchant sandbox account is India. 国家商人沙箱帐户是印度。

But I am receving the following error. 但我正在收到以下错误。

We aren't able to process your payment using your PayPal account at this time. 目前,我们无法使用您的PayPal帐户处理您的付款。 Please go back to the merchant and try using a different payment method. 请返回商家,然后尝试使用其他付款方式。

If you are using Woocommerce Plugin for Indian Merchant try enabling "Woocommerce Paypal Checkout Gateway" by WooCommerce.Note that India buyers can make payments in INR using Indian PayPal Account. 如果您将Woocommerce插件用于印度商人,请尝试启用WooCommerce的“ Woocommerce Paypal Checkout网关”。请注意,印度买家可以使用印度PayPal帐户以INR付款。 However to test in Sandbox make sure you passing INR from checkout page for Indian buyers to make payments for Indian Merchant. 不过,要在Sandbox中进行测试,请确保您从结帐页面传递INR,让印度买家为印度商人付款。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM