Title: Error with variable payments!
Last modified: November 21, 2021

---

# Error with variable payments!

 *  Resolved [tangmu123](https://wordpress.org/support/users/tangmu123/)
 * (@tangmu123)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-with-variable-payments/)
 * “Error! Invalid payment amount!”
 * I’m getting this awful error with variable payments, the calculations used to
   work fine (sometimes) but now just getting this constant error.
 * It’s really a simple calculation. Choose between 2 options, with different prices.
   Discount is only visible/active if the correct code is typed in input field.
 * Calculation:
    (selected-option)-(discount)
 * Comes out with the correct total every time, goes through to paypal totally fine,
   all good until you hit “pay”.
 *  I’ve tried changing the format of the dates, I’ve tried changing the rounding
   and removing decimal places. Nothing works so far.
 * I’ve even rolled back to about 10 different versions, by the time it starts to
   work okay I’ve lost other features.
 * Please help!

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

 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-with-variable-payments/#post-15089561)
 * Hi [@tangmu123](https://wordpress.org/support/users/tangmu123/)
 * Sorry to hear you are having this issue.
 * We have a reported situation if the value is greater than 1.000, could you verify
   if the issue is the same on your form?
 * There is a workaround shared on this thread [https://wordpress.org/support/topic/invalid-payment-amount-error-message-with-paypal/#post-14759254](https://wordpress.org/support/topic/invalid-payment-amount-error-message-with-paypal/#post-14759254)
 * Let us know if it is the case on your form too.
    Best Regards Patrick Freitas
 *  Thread Starter [tangmu123](https://wordpress.org/support/users/tangmu123/)
 * (@tangmu123)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-with-variable-payments/#post-15089945)
 * Hey Patrick, thanks for the reply!
 * The payment total ranges from £4 to £32, really average price expected payment
   size.
 * Any ideas?
 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-with-variable-payments/#post-15090193)
 * Hi [@tangmu123](https://wordpress.org/support/users/tangmu123/)
 * In this case could you please export your form and we can take a look?
 * [https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export](https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export)
 * Please export it and share in this ticket using Google drive or [https://pastebin.com/](https://pastebin.com/)
 * Best Regards
    Patrick Freitas
 *  Thread Starter [tangmu123](https://wordpress.org/support/users/tangmu123/)
 * (@tangmu123)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-with-variable-payments/#post-15090316)
 * Sorry, I couldn’t leave the form as it was. I had to change it a lot or else 
   payments wouldn’t be accepted. I’ll try to recreate the error and then export,
   thanks!
 *  Plugin Support [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-with-variable-payments/#post-15133898)
 * Hello [@tangmu123](https://wordpress.org/support/users/tangmu123/),
 * We haven’t heard from you for some time now, so it looks like you haven’t been
   able to replicate this error.
 * Feel free to re-open this ticket if needed.
 * Kind regards
    Kasia
    -  This reply was modified 4 years, 6 months ago by [Amin - WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/).
    -  This reply was modified 4 years, 6 months ago by [Amin - WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/).

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

The topic ‘Error with variable payments!’ is closed to new replies.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

## Tags

 * [amount](https://wordpress.org/support/topic-tag/amount/)
 * [invalid](https://wordpress.org/support/topic-tag/invalid/)
 * [payment](https://wordpress.org/support/topic-tag/payment/)

 * 5 replies
 * 3 participants
 * Last reply from: [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/error-with-variable-payments/#post-15133898)
 * Status: resolved