vippsas/vipps-woocommerce

Allow merchant to override error handler for failed capture

iverok opened this issue · 1 comments

https://wordpress.org/support/topic/overstyring-av-capture-feil/

Just a filter that can return true (handled) or failed (not handled) .

Next version:

apply_filters('woo_vipps_on_hold_on_failed_capture', true, $order)

Return "false" if error was handled otherwise. A message will be added to the order in any case.