Paypal. osCommerce. Prices.

By | February 19, 2009

In general I really like osCommerce, but some areas of it are just dire. In particular, 2 areas of osCommerce really annoy me…

Paypal Implementation

All of the available Paypal modules bypass checkout_process.php ! The checkout_process.php file is a workhorse file that inserts the order into the database (as well as doing other things). Any payment method that bypasses this file is doomed to failure, unless that payment module duplicates the checkout_process code. What this means is that any contribution coded to “oscommerce standards” will simply not work properly if Paypal payment method is used.

Price Display

Wouldn’t it be nice to have 1 function to control all price display. Then it would be simple to update the look of the prices across the whole site. As an example, let’s say I wanted to add the words “our price” in front of eery price. The wy that osCommerce is coded, I have to amend probably 20 different files to do this! Not good.

Both of these moans relate to 1 thing. Overuse of code. My feeling is that once a piece of code has been written, it should be utilised properly.

Leave a Reply

Your email address will not be published.