Support » Plugin: WooCommerce PayPal Checkout Payment Gateway » Error while paying by credit card without creating an account

  • Resolved belleisle

    (@belleisle)


    Some of my buyers (maybe all, but I can’t confirm) are having an issue while trying to pay with their credit card without creating a Paypal account.

    Testing in the sandbox seemed all OK, but when live this seems to be an issue. One user was kind enough to provide a screenshot and the error message reads :

    Sorry, an error occurred while trying to retrieve your information from PayPal. Please try again.

    I traced this to file

    includes/class-wc-gateway-ppec-checkout-handler.php

    (line 454 in version 1.5.3)
    and this would mean a PayPal_API_Exception is thrown.

    Nothing of note appears in the PPEC debug log file. In fact I get a

    WC_Gateway_PPEC_Client::_process_response: acknowleged response body

    which includes

    [ACK] => Success

    Sort of puzzled by this issue, especially as payments from existing Paypal accounts do go through fine. Do I have a configuration issue, or is there something else I could do to solve this problem ?

    Thanks for any help

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

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    A lot of times when this happens, there is an issue with the actual PayPal account, such as it not being enabled to accept payments from those without a PayPal account. Check that your account is a business PayPal account, and that it is set up to take payments from people without accounts, and then you should be able to talk to PayPal to verify your account is set up properly.

    Thread Starter belleisle

    (@belleisle)

    Thanks a lot for your reply.
    My account is indeed a Business account, and I have checked that the PayPal Account Optional feature is turned on, so quite puzzled here.
    Will try to ask Paypal for assistance and just hope they do not return me to the plugin support.
    Just out of curiosity, if there were a Paypal error, where could I log it and get an error message ? Because nothing appears in the log for now…

    Plugin Contributor Hannah S.L. a11n

    (@fernashes)

    Automattic Happiness Engineer

    Hey there!

    Did you hear back from PayPal, and are you still having trouble with this?

    Just out of curiosity, if there were a Paypal error, where could I log it and get an error message ? Because nothing appears in the log for now…

    You’ll enable logging in WooCommerce > Settings > Checkout > PayPal Express. When transactions are done using PayPal, they’ll be logged – you can see them via WooCommerce > Status > Logs.

    Thread Starter belleisle

    (@belleisle)

    Hi,

    Thanks for your follow-up. They did come back to me after several days and they suggested that I contact them over the phone to sort out the issue.

    But because it took so long and was so complicated, I set up Stripe in the meantime, and I was up and running with a simpler, more streamlined (and less costly) solution within an hour or so. In the end, I never called Paypal, just gave up on it.

    Now I just use PayPal for those wanting to pay from their existing account, but credit card payments go through Stripe, which I highly recommend.

    Plugin Contributor Hannah S.L. a11n

    (@fernashes)

    Automattic Happiness Engineer

    I’m glad to hear you found a solution! Stripe is definitely streamlined, and it’s good to have two different payment options in case of failure. Thanks for coming back to let us know!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error while paying by credit card without creating an account’ is closed to new replies.