Jump to content
Larry Ullman's Book Forums

Problem With Ipn(Edit Instant Payment Notification (Ipn) Settings)


Recommended Posts

Please ned some help.

I Cant configure Notification URL...

I tryed :

 

http://localhost/e-c...ce/html/ipn.php and,

https://localhost/e-...ce/html/ipn.php and

localhost/e-comerce/html/ipn.php.

 

I get this message:The domain name you have entered is not a valid IPN URL. Please enter the URL where you have installed your IPN script.

 

Do somebody know? Thanks.

 

And one more Q,How to modify header file,that registered users dont see Register tab?

 

Do somebody know? Thanks.

Link to comment
Share on other sites

As I write in the book, IPN will not work when you're using localhost. Also, this book assumes complete comfort with PHP and MySQL. You're going to have a hard time with the book if you aren't experienced with those languages. I mention this because knowing how to modify the header file not to show the register tab is pretty basic.

Link to comment
Share on other sites

yo larry you know what? I'm a lazy pig.

I managed to change the codes, there must be a more elegant solution, but it is my way ..<p>

$pages_registered = array (

'Home' => 'index.php',

'About' => '#',

'Contact' => '#',

'Logout'=>'logout.php'

 

);

 

$pages_not_registered = array (

'Home' => 'index.php',

'About' => '#',

'Contact' => '#',

'Register' => 'register.php'

 

);

 

 

$this_page = basename($_SERVER['PHP_SELF']);

 

if (isset($_SESSION['user_id'])){

 

foreach ($pages_registered as $k => $v) {

 

:

echo '

Link to comment
Share on other sites

 Share

×
×
  • Create New...