Automattic\WooCommerce\StoreApi\Routes\V1
Checkout::map_create_account_error
Method of the class: Checkout{}
No Hooks.
Returns
null
. Nothing (null).
Usage
$Checkout = new Checkout(); $Checkout->return null;
Checkout::map_create_account_error() Checkout::map create account error code WC 9.9.5
return null; } if ( ! isset( $available_gateways[ $request_payment_method ] ) ) { $all_payment_gateways = WC()->payment_gateways->payment_gateways(); $gateway_title = isset( $all_payment_gateways[ $request_payment_method ] ) ? $all_payment_gateways[ $request_payment_method ]->get_title() : $request_payment_method; throw new RouteException( 'woocommerce_rest_checkout_payment_method_disabled', sprintf( // Translators: %s Payment method ID. esc_html__( '%s is not available for this order—please choose a different payment method', 'woocommerce' ), esc_html( $gateway_title ) ),