Advertisement:

Author Topic: Problem with payment plugin and CURL  (Read 1209 times)

mr_ixs

  • Jr. Member
  • **
  • Posts: 53
Problem with payment plugin and CURL
« on: December 03, 2013, 06:55:13 am »
I must change the line in Paypal.php
curl_setopt($ch, CURLOPT_VERBOSE, 1);
for
curl_setopt($ch, CURLOPT_VERBOSE, 0);

It looks ok. When i use sandbox work correctly. When I use normal payment didn't display the paypal button
« Last Edit: December 03, 2013, 07:00:19 am by mr_ixs »

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Problem with payment plugin and CURL
« Reply #1 on: December 10, 2013, 11:05:10 am »
Why do you have to change it ?
There's no difference between the sandbox and the real environment, but for the endpoint, so if it works on sandbox it should work on the real.

Could you enable PHP error reporting and paste here the log ?
http://doc.osclass.org/Debug_PHP_errors

serjuc11111

  • Hero Member
  • *****
  • Posts: 814
Re: Problem with payment plugin and CURL
« Reply #2 on: January 20, 2014, 11:46:38 am »
i can't make a payment with this plugin,every time im trying to Make ad premium i receive this"Return to merchant and try a different payment method" when i click on that link i got a 500 error!