Issue #13: November 4, 2002

By Harald Ponce de Leon

November 4, 2002

New Checkout Procedure Proposal Realized
New cartID Protection Against False Orders
New Zone Concept For Payment And Shipping Modules
Company Field Now Attached To The Address
Credit Card Validation Logic Replaced
New Copyright Announcement For The Administration Tool
Removal Of The FedEx Shipping Module
New Security Layer For The HTTP Output Functions
Images Assigned To Multiple Categories Or Products No Longer Removed

New Checkout Procedure Proposal Realized

The new checkout procedure that was proposed two months ago was just commited in the CVS repository over the weekend, which brings in a great user interface to the procedure with optimizations made in the php logic.

Shipping modules are now able to return and display multiple rates, which can be best seen with the provided UPS and USPS shipping modules.

The optimizations to the shipping and payment modules unfortunately make contributed modules incompatible to use - contributed modules need to be updated to the optimized structure of the payment and shipping modules if they are to be used with the new checkout procedure.

It is now possible for the customer to select different shipping and billing addresses to use for the order, where entries are shown from their address book.

Some minor changes to the new checkout procedure are still being worked on, the major change being when no shipping or payment modules are enabled, that part of the checkout procedure will not be shown to the customer. This is most useful for virtual, or downloadable, products that do not need a shipping address.

New cartID Protection Against False Orders

Everytime a product is added, updated, or removed from the customers shopping cart, a cart ID is generated and saved in the session. This ID is checked upon throughout the checkout procedure to minimize the occurance of customers adding products to their cart while keeping the same shipping fees assigned to the order.

New Zone Concept For Payment And Shipping Modules

A new concept currently under review by the development team is the assignment of Zones to payment and shipping modules which, when used, enable the modules only when the destination zones match the assigned Zone to the module.

An example of use is the Cash on Delivery payment module. By assigning it a Zone with just the country of the store, this payment method will only be enabled when the order is being sent to that country. International and oversears customers would then not see this method of payment as it would be disabled real-time.

The Zones structure it utilitizes is already in the codebase which is being used for the Tax Zones.

Company Field Now Attached To The Address

The company field is now attached to the address, and is only displayed when the value is not empty.

The company field parameter in application_top.php (soon to be moved to the database so it can be set via the Administration Tool -> Configuration section) is now enabled by default.

Credit Card Validation Logic Replaced

The credit card validation script used was not compatible with the GPL license, and has been replaced with a php class that now takes care of the validation routines.

Permission was requested to the authors but a definite answer was not provided. Instead of playing the waiting game, the logic was simply replaced.

New Copyright Announcement For The Administration Tool

The copyright announcement shown on the Administration Tool frontend was updated to be in compliance with section 2c of the GPL license.

This means the copyright announcement shown on the Administration Tool can not be removed, or can only be appropriately modified.

This decision was taken after discussing the issue both internally and publicly in the forums, and is for the best interest of the project for the future.

A frequently asked questions entry has been provided which better explains the issue:

https://www.oscommerce.com/community.php/faq,26/q,50

Removal Of The FedEx Shipping Module

FedEx updated their RateFinder service which broke the FedEx shipping module used in the project. The updated service requires two requests to be made in order to return shipping rates for an order - this is unacceptable for an e-commerce solution which led to the removal of the modules in the standard package.

A representative from FedEx has informed a team developer that a new XML based service will be offered early next year.

New Security Layer For The HTTP Output Functions

A new security layer was added to the http output functions, specifically the functions that take care of the form field elements.

Due to the double-quotes used in the tags which the http output functions return, the string values passed as parameters are being parsed where double-quotes are returned as special characters.

This means for the following example tag, which would otherwise be broken due to the double-quote existing inside the tag:

<input type="text" name="parameter" value="my"value">

would be replaced with:

<input type="text" name="parameter" value="my"e;value">

We decided to parse only the double-quote character which is considered to be safe, and not use the php function htmlspecialchars() as htmlspecialchars() also parses the ampersand (&) character, which would break html special characters passed as parameters to the html output functions. For example, the value "my&nbsp;value" would be parsed as "my&amp;nbsp;value" breaking the &nbsp; (space) character.

Images Assigned To Multiple Categories or Products No Longer Removed

The Administration Tool now checks to see if images assigned to categories or products being deleted are used elsewhere to prevent the removal of the images which would otherwise leave the categories or products using the same image with a broken image display.

 

Recent posts

Time limited offer to mark the arrival of osCommerce v4!

May 24, 2022
Valuable REWARDS to all Subscribers of osCommerce newsletter:   - 10 native osCommerce applications +   - discounted osCommerce hosting for 1 shop Subscribe now ...

osCommerce v4 Beta 2 Released

January 26, 2022
osCommerce v4 Beta 2 has been released today! Current Beta is closer to the planned release version. We have removed a number of add-ons to simplify the installation. They will be re-instated via the App store, most of them free. Beta 2 comes with: - installation tool - 2 demo front ends - osCommerce back end - data import tool to migrate data from old osCommerce 2.x - instructions on how to submit your feedback Download links have been emailed to all Beta testers. If you have not received your link, please check your "spam" folder just in case, and contact us via this Forum to have the link re-sent to you. If you wanted to try Beta 2 but didn't sign up - get in touch with us via the Forum or via the Contact form on the website and we will sort it for you. osCommerce v4 will be released shortly as a powerful modern modular optimised FREE open source Ecommerce solution! Kind regards, osCommerce team   ...

osCommerce v4 Beta 1 Released

November 17, 2021
osCommerce v4 Beta 1 has been made available to a limited number of first reviewers today. We will work with the feedback we receive over the next couple of weeks, and will release Beta 2 to registered Beta-testers in early December 2021. Want to become a Beta tester? Contact us via the main website to register your interest now and receive access to Beta 2 in December! Providing we continue to receive reasonable feedback from the Beta testers we are looking to launch osCommerce v4 in early January 2022. Keep checking the Forums for updates. The wait is over!   ...

osCommerce v4 features: Order Editor, Gift Vouchers, Loyalty points, Currencies and Rounding

March 19, 2021
Working through the feature list of osCommerce v4: Order Editor and MOTO orders: https://forums.oscommerce.com/topic/496930-order-editor/?tab=comments#comment-1821801 Gift Vouchers: https://forums.oscommerce.com/topic/496929-gift-vouchers/?tab=comments#comment-1821800 Loyalty points: https://forums.oscommerce.com/topic/496924-loyalty-or-bonus-points/?tab=comments#comment-1821793 Currencies and Rounding: https://forums.oscommerce.com/topic/496921-currencies-and-rounding/?tab=comments#comment-1821738 Have any questions or comments? Feel free to post them here! Questions about osCommerce shall be emailed to  hello@oscommerce.com Development Partners and Beta Testers are always welcome! Please sign up via our  Contact Page . We will notify you when the Beta version becomes available (likely in June 2021). Development Partners - we will make preview versions available to you, please indicate your interest when signing up for the Beta Program.   ...

osCommerce v4 updates: Payments, Shipping, Shipping Labels, Order Totals

March 12, 2021
Update on osCommerce v4 feature list Payment methods: https://forums.oscommerce.com/topic/496907-payment-methods/ Shipping solutions: https://forums.oscommerce.com/topic/496910-shipping-methods/ Shipping labels: https://forums.oscommerce.com/topic/496911-shipping-labels/ Order structure management: https://forums.oscommerce.com/topic/496912-order-structure-totals-modules/ Have any questions or comments? Feel free to post them here! Questions about osCommerce shall be emailed to  hello@oscommerce.com Development Partners and Beta Testers are always welcome! Please sign up via our  Contact Page . We will notify you when the Beta version becomes available (likely in June 2021). Development Partners - we will make preview versions available to you, please indicate your interest when signing up for the Beta Program.   ...

osCommerce v4 news: SEO and Menu Editor

March 06, 2021
osCommerce v4 features continue to be revealed. Today we published preview of on-site SEO system in osCommerce v4 on our Forums: https://forums.oscommerce.com/topic/496884-search-engine-optimisation-seo/ and its Menu editor: https://forums.oscommerce.com/topic/496886-menu-editor/ Questions about osCommerce shall be emailed to  hello@oscommerce.com Development Partners and Beta Testers are always welcome! Please sign up via our  Contact Page . We will notify you when the Beta version becomes available (likely in June 2021). Development Partners - we will make preview versions available to you, please indicate your interest when signing up for the Beta Program.   ...

osCommerce v4 news: Multiple Design Templates and Template Designer

March 02, 2021
osCommerce v4 features are being revealed. Today we share information about Design Templates and Template Designer of osCommerce v4 on our Forums: https://forums.oscommerce.com/topic/496786-multiple-design-templates-and-built-in-designer/ Questions about osCommerce shall be emailed to  hello@oscommerce.com Development Partners and Beta Testers are always welcome! Please sign up via our  Contact Page . We will notify you when the Beta version becomes available (likely in June 2021). Development Partners - we will make preview versions available to you, please indicate your interest when signing up for the Beta Program.   ...

New management and osCommerce v4

February 19, 2021
Assert Record Run SnapTest ...

Phoenix v1.0.7.15

February 10, 2021
v1.0.7.15 is a bugfix release. This should be considered the second release candidate for 1.0.8.0. Easy Updates Easy update zip and instructions are provided in the Phoenix Club for every minor and major update. Going from version to version could not be easier - you are supported by the Phoenix Team,  Certified Developers , and other Shop owners. This update takes 100 seconds from start to finish. Have your say at the Phoenix Club Instead of waiting for a perfect tomorrow, help us make a better today by joining the  Phoenix Club . Thank you Thank you to all Shop owners and Developers who are supporting the Project - you allow Phoenix to fly high and burn brightly.   ...

Phoenix v1.0.7.14

January 26, 2021
v1.0.7.14 is the final development release of the 1.0.7.* series. It finishes the templates system, including the ability to override the HTML templates and the language files. This should be considered the first release candidate for 1.0.8.0. Easy Updates Easy update zip and instructions are provided in the Phoenix Club for every minor and major update. Going from version to version could not be easier - you are supported by the Phoenix Team,  Certified Developers , and other Shop owners. This update takes 100 seconds from start to finish. Have your say at the Phoenix Club Instead of waiting for a perfect tomorrow, help us make a better today by joining the  Phoenix Club . Thank you Thank you to all Shop owners and Developers who are supporting the Project - you allow Phoenix to fly high and burn brightly.   ...
Products