Author Topic: After clicking on paypal, error is occured  (Read 2678 times)

Palo123

  • Beginner
  • *
  • Posts: 26
After clicking on paypal, error is occured
« 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?

zanardi

  • Contributing Developer
  • Full Member
  • *
  • Posts: 878
    • GiBiLogic
Re: After clicking on paypal, error is occured
« Reply #1 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.
--
Francesco (zanardi)
http://extensions.gibilogic.com
@gibilogic on Twitter

Palo123

  • Beginner
  • *
  • Posts: 26
Re: After clicking on paypal, error is occured
« Reply #2 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.

zanardi

  • Contributing Developer
  • Full Member
  • *
  • Posts: 878
    • GiBiLogic
Re: After clicking on paypal, error is occured
« Reply #3 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).
--
Francesco (zanardi)
http://extensions.gibilogic.com
@gibilogic on Twitter

Palo123

  • Beginner
  • *
  • Posts: 26
Re: After clicking on paypal, error is occured
« Reply #4 on: February 28, 2011, 19:22:03 pm »
I have Windows.