Add a new gateway - rvola/woo-cancel-abandoned-order GitHub Wiki
Just paste this snippet into your functions.php file
function woa_custom_gateways_hook( $gateways ) { $gateways[] = 'cod'; // Delivery for example. $gateways[] = 'stripe_p24'; // Stripe P24 for example. return $gateways; } add_filter( 'woo_cao_gateways', 'woa_custom_gateways_hook', 10, 1 );
To find the gateways, just look in the url, the "section" field in the administration of your WooCommerce, heading: "Checkout"
For example for the gateway stripe_p24