Jump to content



Photo

Test The Checkout.Php Process


  • Please log in to reply
5 replies to this topic

#1 1cookie

1cookie

    Member

  • Members
  • PipPip
  • 24 posts

Posted 27 March 2012 - 6:32 AM

hi

I'm just at page 282, chapter 10. Now you can test the checkout.php process. If you fill out the form incorrectly, it will be displayed again (Figure 10.13). If you fill it out correctly, you'll be sent to billing.php, which will be written next.


I can't get to checkout.php over https on my localserver?

https://localhost/coffeeLatte/checkout.php?session=c3e7255a9ec227b4c73b39af5c726792

Is this as expected?
  • 0

#2 margaux

margaux

    Advanced Member

  • Members
  • PipPipPip
  • 451 posts

Posted 27 March 2012 - 2:20 PM

Yes - I have been told that it is possible to configure localhost (are you using xamp or mamp?) to use https, but I have not had the time to look into it. If you find out how to do so, perhaps you could share how to do so?
  • 0

#3 1cookie

1cookie

    Member

  • Members
  • PipPip
  • 24 posts

Posted 28 March 2012 - 11:27 AM

Yes - I have been told that it is possible to configure localhost (are you using xamp or mamp?) to use https,

Indeed, that's my understanding. I'm using WAMP, but have access to Ubuntu (LAMP) also.

If you find out how to do so, perhaps you could share how to do so?

sure...
  • 0

#4 theaceofthespade

theaceofthespade

    Member

  • Members
  • PipPip
  • 24 posts
  • LocationKentucky

Posted 31 March 2012 - 9:31 PM

In xampp, it's in the settings you get to from the sidebar's homescreen. It comes with it's own test certificate (it will light your browser up with warnings like a christmas tree, but it works for testing). So I haven't messed with lamp, but I did find this:
http://www.phpjoel.c...wamp-localhost/
  • 1

#5 1cookie

1cookie

    Member

  • Members
  • PipPip
  • 24 posts

Posted 2 April 2012 - 3:39 AM

In xampp, it's in the settings you get to from the sidebar's homescreen. It comes with it's own test certificate (it will light your browser up with warnings like a christmas tree, but it works for testing). So I haven't messed with lamp, but I did find this:
http://www.phpjoel.c...wamp-localhost/


thanks.

What I have learnt is that if you want SSL encryption on ones localhost machine then it's going to involve creating your own digital certificates.
  • 0

#6 1cookie

1cookie

    Member

  • Members
  • PipPip
  • 24 posts

Posted 4 April 2012 - 12:21 PM

If your using Linux, I found this to be a very good tutorial:

https://www.linux.co...apache-on-linux
  • 0