Support » Plugin: Send to Mpesa Payment Gateway » Awesome plugin for small ecommerce platforms

  • Came across this plugin when trying to set up a small ecommerce site. I was looking for an MPESA payment gateway and was only able to find plugins that require you to pay upwards of 5k to integrate with your site. This plugin gave me a solution especially considering i was just starting and a simple and free plugin would be of great help.
    So this plugin enables you to provide payment details in the check out page. A customer sends money to your number then confirms the details on the form provided before the order goes through.
    The challenge with the plugin however it cannot confirm the details provided in real time. You have to log into your dashboard and confirm the payment.
    So it is very crucial to have the order move to ‘processing’ status instead of ‘completed’ status which allows customers who haven’t really paid to download digital product files if available.

    To do this add, this code to your child theme functions.php

    //change order status from completed to processing to allow for manual payment confirmation
    add_action( ‘woocommerce_order_status_completed’, ‘completed_to_processing’);

    function completed_to_processing($order_id){

    $order = new WC_Order($order_id);
    $order->update_status(‘processing’);

    }

    Otherwise, all is good.

  • The topic ‘Awesome plugin for small ecommerce platforms’ is closed to new replies.