WordPress.org

Ready to get started?Download WordPress

Forums

WP-Invoice - Web Invoice and Billing
Partial payment feature does not work!! (20 posts)

  1. DivaVocals
    Member
    Posted 2 years ago #

    Steps to re-create:
    ~ Create an invoice
    ~ Click "Allow Partial Payment"
    ~ Enter minimum payment
    ~ Save

    Let's say that the invoice amount is $1000 and the minimum partial payment is $500.

    When you go view the invoice, you will see the radio button option to make a $500 partial payment. If you select that radio button, the "Process Payment" button still displays the button text of "Process Payment of $1000". -- I would have expected that some function would update the button to read "Process Payment of $500" instead.

    So using this same example, if you click on the "Process Payment of $1000" button, you are redirected to the PayPal website as expected, but the amount to be paid is for the FULL invoice amount, NOT the partial payment amount. Furthermore there is NO OPTION on the PayPal page to make a partial payment at all.

    Bottomline, this feature does NOT work!

    http://wordpress.org/extend/plugins/wp-invoice/

  2. Denys Kostin
    Member
    Posted 2 years ago #

    PayPal partial payment works:

    1 2 3 4 5 6 7

    Please, try to systematically disable other plugins or change theme to investigate which could cause that issue.

    And please make sure that you've set Instant Payment Notification (IPN) for your site in your PayPal account.

  3. DivaVocals
    Member
    Posted 2 years ago #

    Thanks for the response.. Following your advice, I discovered that there is some kind of conflict between your plugin and the Simple Facebook Connect plugin.. The SFC Fanbox causes an issue on the invoice page..

    By the way, the radio button selection is still a little funky. Once I select the partial payment radio button, if I reselect the full invoice amount radio button, the "Process Payment" does not update correctly. The only way to pay the full invoice amount after I select the partial payment radio button is to select the "Other" radio button and then manually type in the full invoice amount.

    ETA: It's the Simple Facebook Connect plugin in general that is the issue. I created a page template to remove the SFC fanbox and the partial payments for invoices still do not work.. So there is some sort of conflict between these two plugins.

  4. ayekikian@gmail.com
    Member
    Posted 1 year ago #

    I too have issues here. I have disabled all plugins and it still does not update the button. Thanks.

  5. Spencer Hill
    Member
    Posted 1 year ago #

    Yeah, I'm experiencing the same issue. I *think* I recently updated WP-Invoice to the latest version. I've disabled all the plugins and even run it through a validator but it's still not working.

  6. Spencer Hill
    Member
    Posted 1 year ago #

    Okay, I've identified a problem and solution.

    The problem, in my case, was that something was broken with my custom theme files located in the WPI folder of my current theme. I noticed the issue did not occur when I switched to Twenty Eleven and then discovered that was the only different.

    I believe this issue first occurred after the most recent release of WP Invoice. As I haven't made modifications to those theme files in months. So it seems to me that there is an important difference in how that feature functions between the latest two releases.

    Hope this helps everyone!

  7. ayekikian@gmail.com
    Member
    Posted 1 year ago #

    I've disabled all plugins as well as reinstalled wordpress and my theme. No luck. I don't have a wpi folder so I can't test against that either. Does anyone have an older version of wp invoice?

  8. Spencer Hill
    Member
    Posted 1 year ago #

    After I posted this yesterday I tested another invoice and the issue actually appears to still be happening, but only on some invoices!

    Here's what I've figured out though... if I create a NEW invoice. It works. But old invoices it doesn't!

  9. Denys Kostin
    Member
    Posted 1 year ago #

    You need create new invoice each time you change settings. That can be the reason why you can't see changes in invoices after settings changing and think that new option doesn't work.

  10. Spencer Hill
    Member
    Posted 1 year ago #

    Thanks for your reply Denys, I'm a little confused by your response though.

    The issue I'm experiencing is that when I create a new Invoice and select and set the Partial Payment option the users, on the front end can select it and make that payment. However when I do the same thing on a pre-existing invoice it displays the Partial Payment option to the user, but, upon selecting it, nothing happens.

    It's clearly a bug, but I don't know what's causing it.

    Does this make sense? Thank you!

  11. Denys Kostin
    Member
    Posted 1 year ago #

    You set some important invoice options when you create invoice. That can be the reason. Not all changes can be made for pre-existing invoices when you're changing settings.

    I believe, that the easiest way is to create new invoices.

  12. Spencer Hill
    Member
    Posted 1 year ago #

    Hi Denys,

    Forgive me, but your first sentence wasn't very clear. "That can be the reason."? Did you mean that is the reason or are you saying that is a possible reason?

    The problem with creating a new invoice is that I've already sent these invoices out to clients. So by generating a new invoice I have to resend the links out to all of these clients. And I simply can't do that. This really needs to be addressed and viewed as a bug, and I don't think I'm alone in this.

  13. Denys Kostin
    Member
    Posted 1 year ago #

    We'll try to change that in one next releases. I'm sorry, but now new settings effect on only new invoices, so you can make changes, e.g. change currency, but old invoices won't change.

  14. ayekikian@gmail.com
    Member
    Posted 1 year ago #

    unfortunately for me, it doesn't matter if its a new or old invoice. Partial payments still do not work. It shows up on the invoice, but the button does not update itself.

    When you click on one of the partial payment options, either the custom amount or the minimum, the text right below it is supposed to update as well as the button total dollar amount. neither does.

    Any ideas here would be super helpful.

  15. Denys Kostin
    Member
    Posted 1 year ago #

    That can be caused other plugins or theme. Please, try to systematically disable other plugins, change theme to WordPress default(TwentyTen, TwentyEleven) or Denali premium theme to investigate that issue.

  16. Spencer Hill
    Member
    Posted 1 year ago #

    Hi Denys,

    Thanks again for your reply to my last comment. I don't mean to be rude, but your English wasn't very clear in that sentence to me. Can you try stating it differently? Thank you!

  17. Denys Kostin
    Member
    Posted 1 year ago #

    I'm sorry for my English, s3w47m88.

    We need to change much in plugin to change that logic. New settings influence only to new invoices. That is used as a feature. E.g. you can set currency, make invoice, then set another currency for other invoices, but that won't change old invoices currency.

    But we'll try to find a solution.

  18. Spencer Hill
    Member
    Posted 1 year ago #

    Ah, okay that makes sense. Well I'm glad to know this is on your radar it was definitely problematic. Is there somewhere we can follow a roadmap for the plugin?

    Thank you!

  19. Denys Kostin
    Member
    Posted 1 year ago #

    We're updating our roadmap now. I hope we'll be able to share it with you shortly.

  20. phil@silverstar-media.com
    Member
    Posted 1 year ago #

    I posted this on another thread, but thought I'd add it here in case folks are searching... If you're experiencing issues with WP-Invoice and Simple Facebook Connect, here's how to fix it.

    Open the following file: plugins > simple-facebook-connect > sfc.php. On line 65, you'll see some code that loads the sfc-base.php file if the PHP and WordPress core are of a specific version or greater. It looks like this:

    if ( !version_compare(PHP_VERSION, '5', '<') && version_compare( $wp_version, '3.2.999', '>' ) ) {
    	 include 'sfc-base.php';
    } else {
    	add_action('admin_notices', create_function( '', "echo '<div class=\"error\"><p>".__('Simple Facebook Connect requires PHP 5 and WordPress 3.3 to function. Please upgrade or deactivate the SFC plugin.', 'sfc') ."</p></div>';" ) );
    
    }

    Change it to this:

    if ( !version_compare(PHP_VERSION, '5', '<') && version_compare( $wp_version, '3.2.999', '>' ) ) {
    	if( substr($_SERVER["REQUEST_URI"], 0, 11) != '/invoicing/' ) {
    		include 'sfc-base.php';
    	}
    } else {
    	add_action('admin_notices', create_function( '', "echo '<div class=\"error\"><p>".__('Simple Facebook Connect requires PHP 5 and WordPress 3.3 to function. Please upgrade or deactivate the SFC plugin.', 'sfc') ."</p></div>';" ) );
    
    }

    Essentially, you're only loading the Simple Facebook Connect plugin on the page if the Request URI does NOT include '/invoicing/'. Hope this helps someone!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic