• Resolved kelseyv22

    (@kelseyv22)


    Hello,

    My payments were working fine, and then today suddenly PayPal checkout produces an Error 3. The customer isn’t able to even get to input their debit or credit info. I’ve confirmed the API credentials multiples times and even got new ones! Please help!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    This means there’s a transaction type mismatch somewhere, like PayPal is expecting a refund or authorization and it’s getting a charge (or something similar)

    The best way to figure this out is to look at the logs.

    Can you enable logging in the PayPal Checkout settings page in WooCommerce, and then run a test transaction?

    You can then find the logs in the Status > Logs page in WooCommerce. Make sure the select PayPal Checkout from the dropdown, then paste the logs here (please make sure you look and redact any sensitive info)

    Thread Starter kelseyv22

    (@kelseyv22)

    Hello! Thank you for your reply. Here is the log for the error:

    08-31-2020 @ 21:18:22 – WC_Gateway_PPEC_Client::_request: remote request to https://api-3t.paypal.com/nvp with params: Array
    (
    [LOGOIMG] => https://www.sidehustlestudio.ca/wp-content/uploads/2020/06/SH-3Dalt-1200×600.png
    [HDRIMG] =>
    [PAGESTYLE] =>
    [BRANDNAME] => SideHustle
    [RETURNURL] => https://www.sidehustlestudio.ca/checkout/?woo-paypal-return=true
    [CANCELURL] => https://www.sidehustlestudio.ca/cart/?woo-paypal-cancel=true
    [ADDROVERRIDE] => 1
    [LANDINGPAGE] => Billing
    [SOLUTIONTYPE] => Sole
    [REQBILLINGADDRESS] => 1
    [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] => CAD
    [PAYMENTREQUEST_0_AMT] => 45.2
    [PAYMENTREQUEST_0_ITEMAMT] => 40
    [PAYMENTREQUEST_0_SHIPPINGAMT] => 0
    [PAYMENTREQUEST_0_TAXAMT] => 5.2
    [PAYMENTREQUEST_0_SHIPDISCAMT] => 0
    [NOSHIPPING] => 1
    [EMAIL] => [email protected]
    [PAYMENTREQUEST_0_SHIPTONAME] => xxxxxx
    [PAYMENTREQUEST_0_SHIPTOSTREET] => xxx
    [PAYMENTREQUEST_0_SHIPTOSTREET2] =>
    [PAYMENTREQUEST_0_SHIPTOCITY] => xxx
    [PAYMENTREQUEST_0_SHIPTOSTATE] => xx
    [PAYMENTREQUEST_0_SHIPTOZIP] =>xx
    [PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE] => CA
    [PAYMENTREQUEST_0_SHIPTOPHONENUM] => xxxxx
    [L_PAYMENTREQUEST_0_NAME0] => Performance Coaching with David W Connolly
    [L_PAYMENTREQUEST_0_DESC0] => Classes will take place on ZOOM. Before class, please complete a proper vocal and physical warm-up plus at least a 15-minute me
    [L_PAYMENTREQUEST_0_QTY0] => 1
    [L_PAYMENTREQUEST_0_AMT0] => 40
    [L_PAYMENTREQUEST_0_NUMBER0] =>
    [METHOD] => SetExpressCheckout
    [VERSION] => 120.0
    [USER] => xxxxxx
    [PWD] => xxxx
    [SIGNATURE] => xxxxx

    08-31-2020 @ 21:18:22 – WC_Gateway_PPEC_Client::_request: returns error: Array
    (
    [ACK] => Failure
    [L_ERRORCODE0] => 3
    [L_SHORTMESSAGE0] => Error in WC_Gateway_PPEC_Client::_request
    [L_LONGMESSAGE0] => An error occurred while trying to connect to PayPal: cURL error 60: SSL certificate problem: unable to get local issuer certificate
    [L_SEVERITYCODE0] => Error
    )

    Plugin Contributor AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Oh!

    That error message is super helpful, but it is different than their documentation.

    So the long message there is what we are focusing on: An error occurred while trying to connect to PayPal: cURL error 60: SSL certificate problem: unable to get local issuer certificate

    That means that there’s an issue with the cURL on your website host server, specifically with the SSL certificate on the server.

    You should be able to contact your host and send them that error and they can fix it.

    Hopefully that helps! Have a great one!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Paypal Checkout Error 3’ is closed to new replies.