We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be0348b commit 6667b81Copy full SHA for 6667b81
includes/data/mutation/class-checkout-mutation.php
@@ -493,7 +493,6 @@ protected static function validate_checkout( &$data ) {
493
if ( WC()->cart->needs_payment() ) {
494
$available_gateways = WC()->payment_gateways->get_available_payment_gateways();
495
496
- \codecept_debug( $available_gateways );
497
if ( ! isset( $available_gateways[ $data['payment_method'] ] ) ) {
498
throw new UserError( __( 'Invalid payment method.', 'wp-graphql-woocommerce' ) );
499
} else {
0 commit comments