Title: Disable cashback for COD
Last modified: February 19, 2018

---

# Disable cashback for COD

 *  Resolved [muntazir599](https://wordpress.org/support/users/muntazir599/)
 * (@muntazir599)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/disable-cashback-for-cod/)
 * I want to disable cashback or hold cashback for cash on delivery.Is this possible
   in current version of your plugin.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdisable-cashback-for-cod%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Subrata Mal](https://wordpress.org/support/users/subratamal/)
 * (@subratamal)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/disable-cashback-for-cod/#post-9988444)
 * [@muntazir599](https://wordpress.org/support/users/muntazir599/),
 * Yes, you can hold the order for cash on delivery by using below custom code to
   theme function.php file.
 *     ```
       add_filter('woocommerce_cod_process_payment_order_status', 'woocommerce_cod_process_payment_order_status_callback');
       function woocommerce_cod_process_payment_order_status_callback($status){
           $status = 'on-hold';
           return $status;
       }
       ```
   
 * Thank you.
 *  Thread Starter [muntazir599](https://wordpress.org/support/users/muntazir599/)
 * (@muntazir599)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/disable-cashback-for-cod/#post-9988463)
 * I don’t want to disable COD payment mode.
    let me explain this in detail. I started
   5% cashback on wallet. What if user order any product through COD, get 5% cashback
   and cancel his order. He didn’t pay us but get 5% cashback which he can use his
   next order. Please resolve this issue
 *  Plugin Author [Subrata Mal](https://wordpress.org/support/users/subratamal/)
 * (@subratamal)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/disable-cashback-for-cod/#post-9988592)
 * [@muntazir599](https://wordpress.org/support/users/muntazir599/),
 * I understand your problem. Basically we process cashback credit after an order
   is in processing or completed state. In COD the default order status will be 
   processing after placing an order. That’s why the above code force to crate an
   order with on-hold status in COD payment and when customer pay the money and 
   you (as admin) mark the order as completed then only customer will have there
   cashback.
 * Looking forward to your co-operation regarding the same
 * Thanks and regards,
    Subrata Mal
 *  Plugin Author [Subrata Mal](https://wordpress.org/support/users/subratamal/)
 * (@subratamal)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/disable-cashback-for-cod/#post-10003433)
 * [@muntazir599](https://wordpress.org/support/users/muntazir599/),
 * I am not heard back from you so I believe that the issue has been resolved. I
   am marking this topic as resolved please feel free to create new support thread
   for any further assistance.
 * Thank you.
 *  Thread Starter [muntazir599](https://wordpress.org/support/users/muntazir599/)
 * (@muntazir599)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/disable-cashback-for-cod/#post-10014088)
 * Sorry Subrata, my issue is not resolved.
    I used your code in function.php file.
   It hold next cashback but i get another problem. Like if I have 100 rupees in
   my wallet. I purchased any product of 250 rupees with cod. then i have to pay
   only 150 rupees at this time. And my wallet cashback has been hold. But my current
   wallet value did not change to zero it will be still 100. if i order again any
   product I can use 100 rupees of my wallet again.
 * can you please add a new feature where i can select wallet cashback on selected
   payment gateway.
    -  This reply was modified 8 years, 2 months ago by [muntazir599](https://wordpress.org/support/users/muntazir599/).
 *  Plugin Author [Subrata Mal](https://wordpress.org/support/users/subratamal/)
 * (@subratamal)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/disable-cashback-for-cod/#post-10014096)
 * [@muntazir599](https://wordpress.org/support/users/muntazir599/),
 * We are looking into this issue. We will try to resolve this in our next update.
 * Thank you.
 *  Thread Starter [muntazir599](https://wordpress.org/support/users/muntazir599/)
 * (@muntazir599)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/disable-cashback-for-cod/#post-10444422)
 * Is it possible to make a button for request money for withdrawal.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Disable cashback for COD’ is closed to new replies.

 * ![](https://ps.w.org/woo-wallet/assets/icon-256x256.png?rev=3360666)
 * [Wallet for WooCommerce](https://wordpress.org/plugins/woo-wallet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-wallet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-wallet/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-wallet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-wallet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-wallet/reviews/)

## Tags

 * [COD](https://wordpress.org/support/topic-tag/cod/)

 * 7 replies
 * 2 participants
 * Last reply from: [muntazir599](https://wordpress.org/support/users/muntazir599/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/disable-cashback-for-cod/#post-10444422)
 * Status: resolved