asterisk2billing.org
http://forum.asterisk2billing.org/

paypal payment falling in 1.4
http://forum.asterisk2billing.org/viewtopic.php?f=18&t=4697
Page 1 of 1

Author:  rampa [ Mon Dec 22, 2008 8:55 pm ]
Post subject:  paypal payment falling in 1.4

Paypal is accepting the money, but the new baklance is not added to the customer account....

any clue?

this is wath the log says...


Code:
[22/12/2008 21:19:33]:[checkout_process.php line:49- QUERY = UPDATE cc_epayment_log SET status = 2 WHERE id = 221]

[22/12/2008 21:19:33]:[checkout_process.php line:59- transactionID=221 EPAYMENT RESPONSE: TRANSACTIONID = 221 FROM paypal;
FOR CUSTOMER ID 80; OF AMOUNT 5]

[22/12/2008 21:19:33]:[checkout_process.php line:85-OPENDING HTTP CONNECTION TO ssl://www.paypal.com]

[22/12/2008 21:19:34]:[checkout_process.php line:90 -Try#1 Failed to open HTTP Connection : . Error Code: 0]

[22/12/2008 21:19:37]:[checkout_process.php line:85-OPENDING HTTP CONNECTION TO ssl://www.paypal.com]

[22/12/2008 21:19:38]:[checkout_process.php line:90 -Try#2 Failed to open HTTP Connection : . Error Code: 0]

[22/12/2008 21:19:41]:[checkout_process.php line:85-OPENDING HTTP CONNECTION TO ssl://www.paypal.com]

[22/12/2008 21:19:42]:[checkout_process.php line:90 -Try#3 Failed to open HTTP Connection : . Error Code: 0]

[22/12/2008 21:19:45]:[checkout_process.php line:95-Failed to open HTTP Connection: . Error Code: 0]

Author:  stavros [ Mon Dec 22, 2008 9:01 pm ]
Post subject: 

What happens if you swap the 'ssl' for 'https' in paypal_verify_url?

Author:  rampa [ Mon Dec 22, 2008 9:15 pm ]
Post subject: 

mmm you have gived me the clue....


in checkuout_process.php

Code:
       $fp = fsockopen (PAYPAL_VERIFY_URL, 80, $errno, $errstr, 30);


by

Code:
      $fp = fsockopen (PAYPAL_VERIFY_URL, 443, $errno, $errstr, 30);


worked now....


is this a bug in trunk or the url must be http://www.paypal.com instead of ssl://www.paypal.com?

Author:  stavros [ Mon Dec 22, 2008 9:29 pm ]
Post subject: 

I think your fix (changing the port from 80 to 443) is the correct solution, but I'm not 100% sure.

Author:  rampa [ Tue Dec 23, 2008 11:48 am ]
Post subject: 

ok. thanks for all... opened a ticket in the trac with the fix.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/