Closed (fixed)
Project:
Commerce PayPal
Version:
7.x-1.x-dev
Component:
PayPal WPP
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2011 at 11:29 UTC
Updated:
20 Sep 2012 at 14:11 UTC
It may be helpful to others to note somewhere that PayPal WPP requires curl to be installed and enabled. I was getting a WSOD straight after the order review page and then noticed 'PHP Fatal error: Call to undefined function curl_init()' in the apache logs.
Comments
Comment #1
bradhawkins commentedI have cURL installed but keep getting this error: cURL error: Couldn't resolve host 'https'
I'm assuming that its because I don't have SSL setup? If so, is there anyway around this (temporarily)?
Comment #2
bradhawkins commentedI figured out my problem, there's an extra '/' in commerce_paypal_wpp.module on line 419:
Comment #3
rszrama commentedI have no clue what extra slash the above comment refers to, but I just added a hook_requirements() in an install file for the WPP module to ensure cURL is installed.
Commit: http://drupalcode.org/project/commerce_paypal.git/commitdiff/3c1fa1b
Comment #4
bradhawkins commentedI think I must have been working off of an outdated dev version at that time because line 419 doesn't correspond at all to my comment.
I was reffering to this section: (line 439)
One of those addresses was "https:///" with an extra "/".
Who knows, maybe I just imaged it all, or clumsily created the error myself. Either way, its not an issue any longer :)
Comment #5
rszrama commentedhehe Ok, I was thinking maybe we used to have an incorrect trailing slash or something on one of the URLs. Glad it's no longer an issue. : )