Closed (fixed)
Project:
Commerce PayPal
Version:
7.x-2.0
Component:
PayPal EC
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Aug 2013 at 22:45 UTC
Updated:
27 Jul 2015 at 01:57 UTC
Jump to comment: Most recent
Comments
Comment #1
rszrama commentedWhat web server are you testing with?
Comment #2
SharonD214@aol.com commentedApache Web server Version 2.2.22
Thanks
Sharon
Comment #3
pcoucke commentedSee https://drupal.org/project/commerce_paypal at the bottom:
From commerce_paypal_api_request():
I downloaded the file from http://curl.haxx.se/docs/caextract.html, added the line below to settings.php and it was resolved:
Comment #4
mlecha commentedSame issue here, cURL error with PayPal API requests failing due to SSL certificate verification.
Downloading the download the CA certificate bundle file and setting the commerce_paypal_cacert variable worked for my local setup, which is XAMPP version 1.7.7.
How to do I test if this is required on my live site?
My live site is working fine on Commerce PayPal 1.0, is the 2.2 module likely to be broken in this way?
Anything I can look for in phpinfo() to see if this fix is needed on the live server?
Thank you!
Comment #5
rszrama commentedThanks for following up here. I'd just give it a shot and see what happens. If you're running in a reasonably modern hosting environment for your live site, it should resolve those SSL certificates just fine. If not, it's a quick process to make it work.
Comment #6
mstrelan commentedHow about only enabling the verify peer option for live transactions?