Tag Archives: osCommerce

Agree to Terms then Confirm

I couldn’t find a “Agree To Terms” module that was really simple to set up so I made one. There are a few out there but they required changing the database and/or javascript and/or the osCommerce checkout process.

My contribution only edits the checkout_confirmation.php page but doesn’t change the checkout process at all. It simply takes the user to conditions.php so he/she can read it or redirects him/her back to the homepage.

Sounds interesting? Click Here, to download it. Enjoy…

osCommerce and OpenSSL

How does one get OpenSSL to work after you have enabled osCommerce’s “PayPal Website Payments Standard” module? That is actually a very hard question to answer even with my IT knowledge. But with a lot of research and the piecing together of two articles, I was able to get everything working…

My primary challenge was I couldn’t figure out, “how to generate the encryption keys on my shared hosting Linux server”… necessary for OpenSSL to work. I eventually learned that the keys are not generated from the servers, you only upload the keys to the server. Just as you would with standard html files.

osCommerce OpenSSL

As you can see the module calls for: 2 keys generated by you, and the only way I was able to generate “both” keys was by following a post by Martin Hughes-Jones, click here.

For the remainder of the field items asked by the module I followed a Lunarpages post, click here.

A few notes:

  • Your file paths will not match mine.
  • The keys should be in a password protected folder, e.g. I put mine in a folder called openssl in my admin folder.
  • Don’t forget to create the “working directory” folder… or you will get an error as I did.

Well, that’s it, your osCommerce “PayPal Website Payments Standard” web payments are now encrypted.

Standard osCommerce Buttons

Standard osCommerce Buttons

While setting up an osCommerce installation, I decided that I needed “regular, plain, standard, whatever you want to call them” buttons for it’s frontend. I searched the osCommerce contributions/addons site and found nothing “standard”. So, I opened up my image editor of choice (Fireworks), then did a little magic and ended up with a contribution, here.

Final Thoughts: Standard is not so standard anymore!? Grrr…