VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Payment VM 1.1 => PayPal / PayPal Pro VM 1.1 => Topic started by: Palo123 on February 27, 2011, 10:34:12 AM

Title: After clicking on paypal, error is occured
Post by: Palo123 on February 27, 2011, 10:34:12 AM
Hi all,
when I click on paypal, this error is appeared:

Fatal error: Call to undefined function curl_init() in C:\xampp\xampp\htdocs\joomla\administrator\components\com_virtuemart\classes\payment\paypal_api\CallerService.php on line 5

Can you advice me how to fix it, please?
Title: Re: After clicking on paypal, error is occured
Post by: zanardi on February 27, 2011, 17:28:10 PM
curl php library is required for PayPal API to work. You should check your server (or ask your hosting provider) to enable curl support, or you won't be able to use PayPal API method.
Title: Re: After clicking on paypal, error is occured
Post by: Palo123 on February 27, 2011, 23:16:22 PM
I use it just on my PC like localhost. And can you advice me, how to install it? I tried according to this manual: http://curl.haxx.se/libcurl/php/install.html but it was not succesful.
Title: Re: After clicking on paypal, error is occured
Post by: zanardi on February 28, 2011, 11:18:04 AM
No, sorry, i cannot. It depends if you are on Windows or Linux or Mac (IIRC, on Mac is enabled by default).
Title: Re: After clicking on paypal, error is occured
Post by: Palo123 on February 28, 2011, 19:22:03 PM
I have Windows.