adding overridable functionality
improved 1.5.x compatibility
PLUGPS-6
support new paypal module (3.4.5) in prestashop 1.5.x