Free Web Hosting Forum
(#1 (permalink))
Old
Junior Member
sahraoui17 is on a distinguished road
 
Posts: 1
Join Date: May 2012
Default does this web hosting support ipn - 05-04-2012, 10:34 AM

hi everyone
i wrote an ipn script and i don't recieve any thing from sandbox testing tool
so is this because this web hosting prevent paypal to send me the transaction's information ?
thanks in advance
Reply With Quote
Sponsored Links
(#2 (permalink))
Old
Junior Member
dale.magnuson@gmail.com is on a distinguished road
 
Posts: 17
Join Date: Dec 2012
Default 01-01-2013, 03:14 AM

Any response? I'm having the same problems right now.
Reply With Quote
(#3 (permalink))
Old
chanh's Avatar
Administrator
chanh is on a distinguished road
 
Posts: 2,010
Join Date: Dec 2008
Default 01-01-2013, 03:30 PM

ssl is not allowed on free hosting.
Reply With Quote
(#4 (permalink))
Old
Junior Member
dale.magnuson@gmail.com is on a distinguished road
 
Posts: 17
Join Date: Dec 2012
Default 01-01-2013, 07:53 PM

I'm not actually using SSL, I am using CURL. I am very new to CURL so I don't know much about it yet. Since I can access the page from other sources correctly I believe my problem is on the PayPal side and not wit the site, but if you have any thoughts I am open to anything!

$ch = curl_init('https://www.sandbox.paypal.com/cgi-bin/webscr'); // TESTING!
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $req);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_FORBID_REUSE, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Connection: Close'));
if (!($res = curl_exec($ch))) {
// error_log("Got " . curl_error($ch) . " when processing IPN data");
curl_close($ch);
exit;
}
curl_close($ch);
Reply With Quote
(#5 (permalink))
Old
Junior Member
Orcun is on a distinguished road
 
Posts: 16
Join Date: Jan 2013
Default 01-02-2013, 05:25 PM

I can understand SSL wont work on free accounts but yes this curl script was working just fine couple of weeks back..I tried many other scripts etc,but arrived the conclusion that paypal just wont be able to send ipns to 000webhost pages..I dont know why, Either paypal blocks 000webhost, or 000webhost blocks paypal ? And i am really scared of the answer, " you can use paypal if you upgrade"..
Reply With Quote
(#6 (permalink))
Old
Junior Member
dale.magnuson@gmail.com is on a distinguished road
 
Posts: 17
Join Date: Dec 2012
Default 01-02-2013, 06:10 PM

Thank you very much for your reply! I have spent several days working on this only to become very frustrated. At least I know it isn't just me having these problems.
Reply With Quote
Reply

Tags
ipn

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com