- 199 views
Use hook_module_implements_alter()
Just place the following code in your module / theme file and you should be good to go!
/**
* Implements hook_module_implements_alter().
*/
function yourmodule_module_implements_alter(&$implementations, $hook) {
if ($hook !== 'commerce_checkout_pane_info_alter') {
return;
}
unset($implementations['commerce_payment']);
}