Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Bartech

    (@bartech)

    This is WooCommerce setting and Yoco plugin is not involved in order being automatically cancelled.

    If customer have Yoco checkout url it can still pay for the order even after order being Cancelled by WooCommerce. After payment is done order status will be updated to Processing regardless of previous status.

    • This reply was modified 4 months, 1 week ago by Bartech.
    Plugin Support Bartech

    (@bartech)

    Hello Robin,

    I’ve checked the the WooCommerce filter implementation, it expects an array as a parameter. I suspect there must be incorrect implementation for woocommerce_available_payment_gateways filter somewhere in your codebase (other plugins, theme, custom code) Filter should always return array but it’s returning nothing. Filters are applied in the order. Our filter runs after the faulty one and instead of getting proper type array it’s getting null value.

    You should search for the woocommerce_available_payment_gateways in you codebase and look for the method that have no return statement ot returns null.

    If needed I can assist in pinpointing where is the incorrect filter implementation placed. For this I would need access to your codebase where I can search for the filter use.

Viewing 2 replies - 1 through 2 (of 2 total)