Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error validating with PayPal


geekmeister

Recommended Posts

Posted

I am setting up osCommerce to connect to PayPal for credit card orders. I have the entire shopping cart working. However, when I go to check out, in the checkout_process.php page there is a call to validate the credit card:

 

$payment_modules->before_process();

 

This function was failing. After tracing back through the code, I found that in includes/modules/payment/paypal_wpp.php I have this function call:

 

$final_req = $caller->DoDirectPayment($ddp_details);

 

When I checked the value of $final_req, instead of containing a string with 'Success' in it, it was an empty string.

 

So further tracing through the code, and I came to pear/services/PayPal/CallerServices.php in the DoDirectPayment() function:

 

$result = $this->call('DoDirectPayment', ..... etc. .....);

 

When I did a var_dump($result), I see that there is the following error:

 

curl_exec error 35 SSL: error:14094418:SSL routines:func(148):reason(1048)

 

Does anyone know why this is happening and how I can fix it?

 

Many thanks for any assistance you can give.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...