php-newbies Posted June 8, 2012 Share Posted June 8, 2012 Hi all, I need help, I am unable to access the url for my paypal. It gives an error when I paste the url on the browser. url is: http://tt.easy2sell.net/components/com_adsman/plugins/payment/pay_paypal.notify.php Wondering if I could try the relative path in the require once notify.php but unsure how? Perhaps problem with joomla installation file. <?php // no direct access header("Status: 200 OK"); require_once(dirname(__FILE__)."/pay_paypal.loadframework.php"); $database = & JFactory::getDBO(); /* $logfile=JPATH_ROOT."/a_paypal_ipn.log"; $fp=fopen($logfile,"w+"); fwrite($fp, print_r($_REQUEST,true) . "\n\n"); fwrite($fp, print_r($_SERVER,true) . "\n\n"); fclose($fp); // close file */ require_once(JPATH_ADMINISTRATOR.'/components/com_adsman/tables/addsman.php'); require_once(JPATH_ADMINISTRATOR.'/components/com_adsman/tables/adsuser.php'); require_once(dirname(__FILE__)."/pay_paypal.php"); $payment = new pay_paypal($database); $payment->ipn($_REQUEST); ?> Many thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/263839-please-help-with-paypal-url-notification-php-error/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.