Home Forums Plugins CURCY – WooCommerce Multi Currency Checkout problem with bank transfer – Too few arguments to function

Checkout problem with bank transfer – Too few arguments to function

  • Author
    Posts
  • #183743

    Wroclaw Guide_com
    Participant

    Hello,

    I am having issues with the checkout process. Every time a customer (in EUR region) is selecting bank transfer as payment method, an error appears that the payment cannot be processed. Still, the order is created in WooCommerce, but the customer is left with the impression it was not completed and the thank you page is not shown.

    I found the following fatal error, it seems that for the bank transfer somehow the currency is missing in the function, and I double checked in the WooCommerce settings I am not requested to enter a currency for any specific bank account, there is no field for that.

    What could be the reason?

    I copy the log below:

    2023-12-05T11:43:15 00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function WOOMULTI_CURRENCY_Frontend_Checkout::diplay_bacs_account_follow_currency(), 1 passed in /home/www/wroclawguide-wp/wp-includes/class-wp-hook.php on line 324 and exactly 2 expected in /home/www/wroclawguide-wp/wp-content/plugins/woocommerce-multi-currency/frontend/checkout.php:570
    Stack trace:
    #0 /home/www/wroclawguide-wp/wp-includes/class-wp-hook.php(324): WOOMULTI_CURRENCY_Frontend_Checkout->diplay_bacs_account_follow_currency(Array)
    #1 /home/www/wroclawguide-wp/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
    #2 /home/www/wroclawguide-wp/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Gateways/GatewayBACS.php(85): apply_filters(‘woocommerce_bac…’, Array)
    #3 /home/www/wroclawguide-wp/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Gateways/GatewayBACS.php(56): HyyanWPIGatewaysGatewayBACS->bank_details(19137)
    #4 /home/www/wroclawguide-wp/wp-includes/class-wp-hook.php(326): HyyanWPIGatewaysGatewayBACS->email_instruct in /home/www/wroclawguide-wp/wp-content/plugins/woocommerce-multi-currency/frontend/checkout.php in Zeile 570

You must be logged in to see replies to this topic. Click here to login or register