Support » Plugin: WooCommerce » Can't Pay/Checkout with myCred as only method of payment

  • I have just installed the a fresh copy of woocommerce and using myCred. I can not get through checkout with myCred as my only form of payment. I get the error message:

    Sorry, it seems that there are no available payment methods for your state. Please contact us if you require assistance or wish to make alternate arrangements.

    I have shipping disabled (also tried it as free shipping). I have myCred setup as a currency (points), and it will not allow me to finish. Is there something else I need to do so that it recognizes the points as a form of payment.

Viewing 1 replies (of 1 total)
  • Add the following to your functions.php file in your theme.

    add_action( ‘after_setup_theme’, ‘customize_woo_mycred_gateway’, 999 );
    function customize_woo_mycred_gateway() {
    // Remove the gateway hook
    remove_filter( ‘woocommerce_available_payment_gateways’, ‘mycred_woo_available_gateways’ );
    // Add our own gateway hook
    add_filter( ‘woocommerce_available_payment_gateways’, ‘mycred_always_show_payment_option_in_woo’ );
    function mycred_always_show_payment_option_in_woo( $gateways )
    return $gateways;

Viewing 1 replies (of 1 total)
  • The topic ‘Can't Pay/Checkout with myCred as only method of payment’ is closed to new replies.