Technical information for the developer

Code Encryption / Obfuscation

Extensions developed by ETWS are not encrypted (no IonCube, Zend Guard, etc.).
100% of the source code is open source and not a single line of code is obfuscated / encrypted.

Observers / Events

The extension listens for the following events, and uses them to add its functionality to Magento.

  • Area: global – Event: controller_front_init_before

Class Rewrites

Blocks

  • Mage_Adminhtml_Block_Sales_Order_Totals_Tax

Models

  • Mage_Paypal_Model_Cart
  • Mage_Sales_Model_Quote_Address_Total_Collector
  • Mage_Sales_Model_Order_Invoice_Total_Tax

Model Usage Replacement

  • We use our class instead of Mage_Tax_Model_Sales_Pdf_Tax (global/pdf/totals/tax/model)

Controllers

  • Creativestyle_CheckoutByAmazon_CheckoutController

Template Overrides

The extension does not rewrite any templates.

Database Changes

Added fields

The etxension adds the following fields:

  • et_payment_extra_charge — Payment Charge Amount in display currency
  • base_et_payment_extra_charge — Payment Charge Amount in base currency
  • et_payment_extra_charge_excluding_tax — Payment Charge Amount excluding tax in display currency
  • base_et_payment_extra_charge_excluding_tax — Payment Charge Amount excluding tax in base currency

to the following tables:

sales_flat_quote_addresssales_flat_order
sales_flat_invoicesales_flat_creditmemo

Last modify date: Thursday, October 13, 2016