Jump to content

Paypal payment error


Recommended Posts

hi all,

i'm still using PaypalV1.6. It shows "payment error" to the customer but in fact in paypal account it shows payment completed. Below message appears in order:

"Verification failure (using cURL). Returned: cURL error:Protocol https not supported or disabled in libcurlThe PayPal transaction could not be VERIFIED."

Could someone help...thank you very much

p/s: previously i don't have this problem.

Link to comment
Share on other sites

  • 3 months later...

This is hosting related, not really related to the cart. You can get around it by modifying the validation.php file, or you can find out from your hosting company why they don't let you make an ssl cURL connection.

In /modules/paypal/validation.php find the following:

// Getting PayPal data...
if (function_exists('curl_exec'))
{
   // curl ready
   $ch = curl_init('https://' . $paypalServer . '/cgi-bin/webscr');

   // If the above fails, then try the url with a trailing slash (fixes problems on some servers)
    if (!$ch)
       $ch = curl_init('https://' . $paypalServer . '/cgi-bin/webscr/');

   if (!$ch)
       $errors .= $paypal->getL('connect').' '.$paypal->getL('curlmethodfailed');
   else
   {
       curl_setopt($ch, CURLOPT_POST, true);
       curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
       curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
       curl_setopt($ch, CURLOPT_HEADER, false);
       curl_setopt($ch, CURLOPT_TIMEOUT, 30);
       curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

       $result = curl_exec($ch);

       if (strtoupper($result) != 'VERIFIED')
           $errors .= $paypal->getL('curlmethod').$result.' cURL error:'.curl_error($ch);
       curl_close($ch);
   }
}



You'll notice the two lines that have:

$ch = curl_init('https://' . $paypalServer . '/cgi-bin/webscr (etc.)



Try changing the https to http.

Paul

Link to comment
Share on other sites

I was getting the same error on 1.37 - and last week I installed the latest Paypal module (add on page) and that solved the issue. It has since created many 10417 errors - which is a general error - but did solve the one you are seeing.

Link to comment
Share on other sites

Yes, updated the paypal module to 2.0 and it's returned to 10417 error. Anyone know what this is about?

EDIT:

Fixed it, you have to go into your paypal account and give the API_username access (Its on the same page as "View API" or whatever the button is.

Anyway I am DELIGHTED, and the 10417 errors are valid, just tried again with a card with no money on and it returned the 10417, which according to paypal means basically that they have no money or the card didn't get authorised.

Cheers

Abe

Link to comment
Share on other sites

Its a general error - could be the customer did not have enough funds, address issues etc. (I did a search on the paypal site) but the error message does not tell you what the issus is - pretty pointless.

I have seen a huge rise in this error since the update, and it does not appear to happen on all orders - just random few. I have tried to work out if it is a PS module issue or a Paypal issue by talking to the customer, and a few just sent the funds via Paypal to my account with no issue - which does lead me to think its a PS issue.

Link to comment
Share on other sites

I keep getting this error message in my store. I put a product in the cart, and go through all the screens and get all the way to the "Choose Your Payment Method" page. Pay Pal (either one) is their choice. But either one I click sends me to error page every time. (both http and https, both regular paypal and the one where they can use any credit card.
Any solutions?
thanks,
Tanya in Texas

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...