Jump to content
Larry Ullman's Book Forums
Sign in to follow this  
1cookie

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?

Share this post


Link to post
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, 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?

Share this post


Link to post
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...

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×