Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sofort 3.3.0


Stephan Gebbers

Recommended Posts

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

 

 

Link to comment
Share on other sites

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

 

 

Link to comment
Share on other sites

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.

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...