Most frontend files such as order.php or admin/payment.php have very long functions that should be broken into several functions and possibly even turned into OO code.
Variables should be renamed to more generic names and refactored to decrease the use of distinct variables dramatically and ease code handling.
Also, order.php should allow for dynamically added payment options through extensions
Most frontend files such as order.php or admin/payment.php have very long functions that should be broken into several functions and possibly even turned into OO code.
Variables should be renamed to more generic names and refactored to decrease the use of distinct variables dramatically and ease code handling.
Also, order.php should allow for dynamically added payment options through extensions