Title: Payment method selection issue
Last modified: March 14, 2018

---

# Payment method selection issue

 *  Resolved [pmanasi](https://wordpress.org/support/users/pmanasi/)
 * (@pmanasi)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/payment-method-selection-issue/)
 * Hi,
 * Very useful plugin! Thank you!
 * But am facing one issue whenever I switch from COD to Online payment method or
   vice-versa COD extra fees doesn’t get updated, am able to see COD extra fee even
   if I select the online payment method. Review order does not get refreshed.
 * Please help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpayment-method-selection-issue%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [FullStack-ing](https://wordpress.org/support/users/fullstackhouse/)
 * (@fullstackhouse)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/payment-method-selection-issue/#post-10073596)
 * Hi pmanasi,
 * I just tested in your dev site and I can see the order review getting refreshed
   and the additional fee to adjust properly. Are you sure that’s the case?
 * Best Regards
 *  [edinstvennyi](https://wordpress.org/support/users/edinstvennyi/)
 * (@edinstvennyi)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/payment-method-selection-issue/#post-10076574)
 * Good afternoon [@fullstackhouse](https://wordpress.org/support/users/fullstackhouse/)!
 * Same problem, COD fee applies even when customer pay through PayPal or Bank transfer.
   Tried to reinstall, reactivate, clear cache – the same result. WP+Woo updated.
 *  [edinstvennyi](https://wordpress.org/support/users/edinstvennyi/)
 * (@edinstvennyi)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/payment-method-selection-issue/#post-10076587)
 * UPD: COD fee applies to flat rate shipping instead of COD payment method. Have
   no idea why it’s happening.
    For COD i use only 1 flat rate, another shipping
   methods configured through Woocommerce Advanced Shipping by YITH.
 *  Plugin Author [FullStack-ing](https://wordpress.org/support/users/fullstackhouse/)
 * (@fullstackhouse)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/payment-method-selection-issue/#post-10076866)
 * Hi,
    For anyone that facing this issue, please downgrade to 1.4.9.1 until this
   is fixed.
 * Best Regards
 *  Plugin Author [FullStack-ing](https://wordpress.org/support/users/fullstackhouse/)
 * (@fullstackhouse)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/payment-method-selection-issue/#post-10077025)
 * Please update to 1.4.9.3. The issue should be fixed now.
 * Let me know if any problem.
 * Best Regards
 *  Plugin Author [FullStack-ing](https://wordpress.org/support/users/fullstackhouse/)
 * (@fullstackhouse)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/payment-method-selection-issue/#post-10083171)
 * Hi,
 * Any update on this?
 *  [vietpp](https://wordpress.org/support/users/vietpp/)
 * (@vietpp)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/payment-method-selection-issue/#post-10494764)
 * Hi,
 * I’m using 1.4.9.3 (install today).
    I think this issue hasn’t fixed yet. When
   shipping payment method is changed from COD to Bank transfer, the “Cash on delivery”
   is not disappear or return to 0. Total payment only update when the shipping 
   address is changed.
 * Have a nice day,
    Your plugin is great (it saved my work today, really).
    -  This reply was modified 7 years, 11 months ago by [vietpp](https://wordpress.org/support/users/vietpp/).
 *  Plugin Author [FullStack-ing](https://wordpress.org/support/users/fullstackhouse/)
 * (@fullstackhouse)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/payment-method-selection-issue/#post-10497987)
 * Hi vietpp,
 * I thinks that’s unrelated. The update_checkout trigger is not getting triggered
   in your case. Please provide me a link of your checkout page, so I can look into
   this.
 * Best Regards.
 *  [vietpp](https://wordpress.org/support/users/vietpp/)
 * (@vietpp)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/payment-method-selection-issue/#post-10499648)
 * Hi,
 * Here is the link: [https://sanhangnhapkhau.com/thanh-toan/](https://sanhangnhapkhau.com/thanh-toan/)
   (
   sorry it’s not in English)
 * “Cash on delivery” is updated if the address is changed. When payment method 
   is changed, “Cash on delivery” will not be updated.
 * I’ve tried to reinstall Woocommerce to upgrade to latest version but no help.
 * Thank you for your help.
 *  Plugin Author [FullStack-ing](https://wordpress.org/support/users/fullstackhouse/)
 * (@fullstackhouse)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/payment-method-selection-issue/#post-10500695)
 * The reason that you have this issue is that your **theme **has a javascript error.(
   It’s probably a js enqueue priority issue ).
    If you open the console you’ll 
   see it.
 * `ajax-auth-script.js?ver=4.9.7:123 Uncaught TypeError: jQuery(...).validate is
   not a function`
 * the file is here: wp-content/themes/thanhnh-OSv3/js/ajax-auth-script.js
 * If you fix this error, our plugin will work as it should. If you cannot figure
   it out you can always hire a developer to do this for you.
 * Best Regards
    -  This reply was modified 7 years, 10 months ago by [FullStack-ing](https://wordpress.org/support/users/fullstackhouse/).
 *  [vietpp](https://wordpress.org/support/users/vietpp/)
 * (@vietpp)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/payment-method-selection-issue/#post-10501346)
 * Hi,
 * The js error is fixed but… nothing change 🙁
    Any other suggestion?
 * Thank you.
 *  Plugin Author [FullStack-ing](https://wordpress.org/support/users/fullstackhouse/)
 * (@fullstackhouse)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/payment-method-selection-issue/#post-10501726)
 * That’s strange. Maybe the duplicate id’s error cause this.
 * Try to add this in your functions.php
 *     ```
       add_action( 'wp_footer', 'enqueue_smartcod_js', 100 );
   
       function enqueue_smartcod_js() {
       	ob_start(); ?>
       	<script type="text/javascript">
       	jQuery( document ).ready( function($) {
       		$( 'body' ).on( 'change', 'input[name=payment_method], #shipping_state, #billing_state', function() {
       			$( 'body' ).trigger( 'update_checkout' );
       		});
   
       		$( 'body' ).on( 'focusout', '#billing_postcode, #shipping_postcode, #shipping_city, #billing_city', function() {
       			$( 'body' ).trigger( 'update_checkout' );
       		});
       	})
       	</script>
       	<?php
       	ob_end_flush();
       }
       ```
   
 *  [vietpp](https://wordpress.org/support/users/vietpp/)
 * (@vietpp)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/payment-method-selection-issue/#post-10503435)
 * IT WORKKKKKKKKKKKKKKKKKKKKKKKKKKKKS ^|^
    Thank you so much.
 * Looking forward to your new update to solve the problem with “Cash on delivery”
   title and my site is completed.
 * Have a nice day.
    VietPP

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

The topic ‘Payment method selection issue’ is closed to new replies.

 * ![](https://ps.w.org/wc-smart-cod/assets/icon-128x128.png?rev=3372621)
 * [Smart COD for WooCommerce](https://wordpress.org/plugins/wc-smart-cod/)
 * [Support Threads](https://wordpress.org/support/plugin/wc-smart-cod/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-smart-cod/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-smart-cod/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-smart-cod/reviews/)

## Tags

 * [checkout issue](https://wordpress.org/support/topic-tag/checkout-issue/)

 * 13 replies
 * 4 participants
 * Last reply from: [vietpp](https://wordpress.org/support/users/vietpp/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/payment-method-selection-issue/#post-10503435)
 * Status: resolved