Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Nuke Treasury
Author Message
jamesp15
New Member
New Member


Joined: Dec 21, 2006
Posts: 5

PostPosted: Sun Jun 12, 2016 10:51 pm Reply with quote

Hi, anyone know whats happened with Only registered users can see links on this board! Get registered or login! ? I purchased CA Treasury 1.2 in approx 2009/2010 and was looking around to see if maybe there was an update.

If its a dead project completely, anyone know of an up to date good PayPal module for RN 2.51.00 ?

Or will CA Treasury 1.2 work the new PayPal IPN changes that I received an email about last week?

I apologize if these have been answered before, I couldn't find anything on a quick search and have been "out of the loop" for a few years now.

Thanks for any info.
 
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6381

PostPosted: Tue Jun 14, 2016 4:52 am Reply with quote

Code Authors is now Only registered users can see links on this board! Get registered or login!

Haven't heard about IPN changes, but will need to look into that.

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
jamesp15
PostPosted: Tue Jun 14, 2016 11:30 am Reply with quote

Thank you for the updated address!

I received and email last week from PayPal about changes to various parts of their service. This is the link to the IPN specific part: Only registered users can see links on this board! Get registered or login!

I am not very knowledgeable about the above, not sure how to check if the IPN "Postback" is using HTTPS or not.

Thanks again
 
kguske
PostPosted: Sun Jun 26, 2016 6:50 pm Reply with quote

Just a quick follow-up on this:
- the date is June 30, 2017, so you have a year to confirm
- there are 2 references to paypal.com in the old treasury module on which CA Treasury was built - one uses https and the other uses port 80 (i.e. http).

The payment uses https, but the posting of the payment (the listener) uses port 80.

The listener code is in modules/Donations/ipn/ipnppd.php:
Code:
$fp = fsockopen ('www.paypal.com', 80, $errno, $errstr, 30);


if (!$fp) {
   // HTTP ERROR
   dprt("FAILED to connect to PayPal", _ERR);
   die();
}


Based on Only registered users can see links on this board! Get registered or login!I believe it should be:
Code:
$fp = fsockopen ('ssl://www.paypal.com', 443, $errno, $errstr, 30);


if (!$fp) {
   // HTTP ERROR
   dprt("FAILED to connect to PayPal", _ERR);
   die();
}
 
jamesp15
PostPosted: Mon Jun 27, 2016 6:28 pm Reply with quote

Thank you, I made that change and had someone send me a test donation and it appeared normally, so I assume its working. Dont know how to test other than that.

Thanks again
 
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6792
Location: Ha Noi, Viet Nam

PostPosted: Tue Jun 28, 2016 6:08 am Reply with quote

Thanks for bringing this to my attention!!
Although I have much less time to devote to PHP than I used to, I will certainly investigate this change to the way PayPal is using it's IPN and see if there is anything else that needs to be changed.
Thank you kguske for the fix!
Even if it isn't required, I should also add an option to send the data to PayPal via HTTPS for those that need it and have a valid SSL Certificate.
 
View user's profile Send private message Send e-mail
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Nuke Treasury

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©