Stephan Gebbers Posted September 18, 2017 Share Posted September 18, 2017 Hey, Has somebody solved the Strict Standards problems with the Sofort Payment Module v3.3.0 (for older non utf-8 oscommerce versions) PHP Strict Standards: Declaration of sofort_su::confirmation() should be compatible with sofort::confirmation($confirmationMessage = '', $fields = '') in /var/www/path/path/httpdocs/includes/modules/payment/sofort_su.php on line 21, referer: https://www.sofort.com/ Regards, Stephan Quote Link to comment Share on other sites More sharing options...
Stephan Gebbers Posted September 18, 2017 Author Share Posted September 18, 2017 The sofort_su part is in the payment module under /includes/modules/payment/ function confirmation ($confirmationMessage = '') { return parent::confirmation(SOFORT_SU_CHECKOUT_CONFIRMATION); } the sofort part is under /ext/modules/payment/sofort/ function confirmation($confirmationMessage='', $fields='') { global $ip, $isp, $cartID, $cart_pn_ID, $customer_id, $languages_id, $language, $order, $order_total_modules, $redirect; etc...[/code Regards, Stephan Quote Link to comment Share on other sites More sharing options...
Stephan Gebbers Posted September 18, 2017 Author Share Posted September 18, 2017 Ok, i have changed the line in /includes/modules/payment/sofort_su.php from function confirmation ($confirmationMessage = '') { to function confirmation($confirmationMessage='', $fields='') { to match the line in the parent class in /ext/modules/payment/sofort/sofort.php could that be it? that the function parameters have to match? it makes sense to me. i have an eye on my logs. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.