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
Good afternoon @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.
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.
Hi,
For anyone that facing this issue, please downgrade to 1.4.9.1 until this is fixed.
Best Regards
Please update to 1.4.9.3. The issue should be fixed now.
Let me know if any problem.
Best Regards
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, 8 months ago by
vietpp.
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.
Hi,
Here is the link: 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.
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
Hi,
The js error is fixed but… nothing change š
Any other suggestion?
Thank you.
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();
}
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