News:

Support the VirtueMart project and become a member

Main Menu

After clicking on paypal, error is occured

Started by Palo123, February 27, 2011, 10:34:12 AM

Previous topic - Next topic

Palo123

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?

zanardi

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.
--
Francesco (zanardi)
http://extensions.gibilogic.com
@gibilogic on Twitter

Palo123

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.

zanardi

No, sorry, i cannot. It depends if you are on Windows or Linux or Mac (IIRC, on Mac is enabled by default).
--
Francesco (zanardi)
http://extensions.gibilogic.com
@gibilogic on Twitter