Title: Partial Payments Not Working
Last modified: June 19, 2020

---

# Partial Payments Not Working

 *  [smejia11](https://wordpress.org/support/users/smejia11/)
 * (@smejia11)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/partial-payments-not-working/)
 * The minimum payment or other payment options stopped working on all of my invoices.
   PLEASE HELP!

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

 *  Thread Starter [smejia11](https://wordpress.org/support/users/smejia11/)
 * (@smejia11)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/partial-payments-not-working/#post-13013474)
 * Hi there, it seems like the new version of WP Invoice is not allowing any partial
   payments. It’s not allowing my customers to use minimum payment or other. I’ve
   tried this plugin with different themes as well as deactivated all other plugins
   to make sure there are no compatibility issues. There is definitely something
   wrong with the new version you guys updated 3 days ago.
 *  [Ian](https://wordpress.org/support/users/iannich/)
 * (@iannich)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/partial-payments-not-working/#post-13125549)
 * There is an error that is preventing partial payments working in the js script
   tag code in this file:
 * wp-invoice/lib/class_template_functions.php
 * The current code from lines 397-401 is as follows:
 *     ```
                   my_amount.on("touchleave", function(){
                     var new_value = my_amount.val();
                     payment_amount.val( validate_amount( new_value ) );
                     set_pay_button_value();
                   }
       ```
   
 * The above is missing a closing round bracket on the last line, see below:
 *     ```
       my_amount.on("touchleave", function(){
                     var new_value = my_amount.val();
                     payment_amount.val( validate_amount( new_value ) );
                     set_pay_button_value();
                   })
       ```
   
 * Adding this closing bracket fixes the issue.
 * I haven’t notified the developers about this issue as they don’t seem to have
   any way to contact them without requesting a quote for custom work. Hopefully
   they will pick up on it here.
 *  Thread Starter [smejia11](https://wordpress.org/support/users/smejia11/)
 * (@smejia11)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/partial-payments-not-working/#post-13128429)
 * Ian,
    you are a lifesaver buddy! It worked! Thank you, I was already looking 
   for alternative plugins.
 *  [Ian](https://wordpress.org/support/users/iannich/)
 * (@iannich)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/partial-payments-not-working/#post-13131508)
 * Hi smejia11,
 * You are most welcome. It’s just a shame that you only got an answer because the
   same error started occurring on my client’s website. We don’t know how long this
   was an issue and only noticed it when a customer notified us of the problem.
 * I am also considering moving to a different plugin as the support for this one
   seems to be non-existent. Such a simple fix yet the plugin developers don’t even
   seem to know there is a bug in their plugin.
 * Cheers, Ian

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

The topic ‘Partial Payments Not Working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-invoice_c36510.svg)
 * [WP-Invoice - Web Invoice and Billing](https://wordpress.org/plugins/wp-invoice/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-invoice/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-invoice/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-invoice/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-invoice/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-invoice/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Ian](https://wordpress.org/support/users/iannich/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/partial-payments-not-working/#post-13131508)
 * Status: not resolved