Title: Getting Bad value: order_amount Error
Last modified: February 24, 2023

---

# Getting Bad value: order_amount Error

 *  Resolved [dmor71](https://wordpress.org/support/users/dmor71/)
 * (@dmor71)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/getting-bad-value-order_amount-error/)
 * I just started getting this error during checkout for:
   **Bad value: order_amount**
   and I’m unable to resolve the issue using previous solutions that I have found
   but it is related to the taxes because I only get the error when taxes are applied.
   This just started recently started. I’m only collecting taxes for the US state
   of Georgia (GA) and have my tax rate is set for all of Georgia at 8.000%. Here
   are my current tax settings. I have tried the rounding options but that didn’t
   work. I have tried automatic tax calculation too and that didn’t work. Below 
   are my current settings.
 * ![](https://i0.wp.com/jadelsbeauty.com/wp-content/uploads/2023/02/taxes-settings.
   jpg?ssl=1)
 * ![](https://i0.wp.com/jadelsbeauty.com/wp-content/uploads/2023/02/tax-rates.jpg?
   ssl=1)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgetting-bad-value-order_amount-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [dmor71](https://wordpress.org/support/users/dmor71/)
 * (@dmor71)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/getting-bad-value-order_amount-error/#post-16503025)
 * Update to this – I had to disable the Klarna payments plugin because customers
   couldn’t make any purchases with any payment option. I have created a staging
   copy for you to inspect with the plugin enabled.
 * [https://staging2.jadelsbeauty.com/checkout/](https://staging2.jadelsbeauty.com/checkout/)
 *  Plugin Support [Andreas – Krokedil](https://wordpress.org/support/users/boozebrorsan/)
 * (@boozebrorsan)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/getting-bad-value-order_amount-error/#post-16503179)
 * Hi,
 * Did this work before updating to KP 3.0.3?
   Does it work if you rollback to the
   KP version 2.12.1?You can use the WP-rollback plugin to do this easily.[https://sv.wordpress.org/plugins/wp-rollback/](https://sv.wordpress.org/plugins/wp-rollback/)
   Would it be possible to email us on our [support@krokedil.com](https://wordpress.org/support/topic/getting-bad-value-order_amount-error/support@krokedil.com?output_format=md)
   with logs from your real store from when the problem happened as those should
   not be posted here so we can see if we can find what caused this?In the meantime
   I suggest that you rollback to the version it worked with earlier.
 *  [apticknor](https://wordpress.org/support/users/apticknor/)
 * (@apticknor)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/getting-bad-value-order_amount-error/#post-16504130)
 * I am getting the exact same error on our website when i updated from 2.12.1 to
   3.0.3. I rolled back to 2.12.1 and the error went away.
 * It happens specifically when coupons are applied on the checkout page. After 
   the coupon is applied successfully there is an ajax call to update_order_review
   that returns the error message “**Bad value: order_amoun**t”
 * I have a log file but it’d loaded sensitive PII data so I can’t share it here.
 *  [apticknor](https://wordpress.org/support/users/apticknor/)
 * (@apticknor)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/getting-bad-value-order_amount-error/#post-16510612)
 * For anyone else experiencing this take the following steps to confirm:
    1. Enable debugging in the plugin settings
    2. Go to your WooCommerce Status page
    3. Download a System report
    4. Look for errors in the **Klarna Payments Request Log**
 * I have provided the debug log privately to [@boozebrorsan](https://wordpress.org/support/users/boozebrorsan/)
   for review and resolution.
 *  Thread Starter [dmor71](https://wordpress.org/support/users/dmor71/)
 * (@dmor71)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/getting-bad-value-order_amount-error/#post-16510865)
 * sorry for the late reply. I did roll it back to 2.12 and the problem went away.
   I will email you the error log. Thanks for your reply and help.
 *  Plugin Support [Andreas – Krokedil](https://wordpress.org/support/users/boozebrorsan/)
 * (@boozebrorsan)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/getting-bad-value-order_amount-error/#post-16644993)
 * First of all, this is NOT a Klarna Checkout issue it should have been posted 
   in the Klarna Payment forum.
 *  Plugin Support [Andreas – Krokedil](https://wordpress.org/support/users/boozebrorsan/)
 * (@boozebrorsan)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/getting-bad-value-order_amount-error/#post-16645000)
 * The problem [@apticknor](https://wordpress.org/support/users/apticknor/) had 
   was related to[ Smart Coupons](https://woocommerce.com/products/smart-coupons/)
   plugin and is related to a setting in that plugin called “_**Apply Before Tax**_“.
   If you uncheck that, it will work as expected. 
   As a sidenote, we are working
   on a fix so that “_**Apply Before Tax**_” settings will work in the future. So
   keep an eye out for that in the changelogs.Thanks [@apticknor](https://wordpress.org/support/users/apticknor/)
   for providing us with good information 🙂
 *  Plugin Support [Andreas – Krokedil](https://wordpress.org/support/users/boozebrorsan/)
 * (@boozebrorsan)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/getting-bad-value-order_amount-error/#post-16645102)
 * [@dmor71](https://wordpress.org/support/users/dmor71/) Try and update to Klarna
   Payments version 3.0.6 and see if you still have a problem. Let us know how it
   goes. I’m closing this ticket here now as it’s in the wrong place. So if you 
   got problems after updating start a new thread in the Klarna Payments forum or
   get in touch with us,

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

The topic ‘Getting Bad value: order_amount Error’ is closed to new replies.

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

 * 8 replies
 * 3 participants
 * Last reply from: [Andreas – Krokedil](https://wordpress.org/support/users/boozebrorsan/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/getting-bad-value-order_amount-error/#post-16645102)
 * Status: resolved