Jump to content
Larry Ullman's Book Forums

Test The Checkout.Php Process


Recommended Posts

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?

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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.com/2011/04/07/installing-ssl-using-openssl-on-a-wamp-localhost/

  • Upvote 1
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

 Share

×
×
  • Create New...