WP Invoicing Support Forums Forums Invoicing Core Plugin Invoicing Core Plugin support WPInvoicing retrieves old pending invoices when user buys new item

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #2310

    Alex Howes
    Buyer
    Post count: 175

    Hello

    There seems to be an odd set up in WPInvoicing where if a user clicks to purchase an item, the system will bring up an old pending invoice instead of making a new one, even if the price has changed. Is there a way to stop this happening and create a new invoice every time?

    Thanks,
    Alex

    #2311

    paolo
    Site Admin
    Post count: 29847

    Hi,

    Can you please describe step by step how to recreate this and also provide a link and admin credentials where we can see this behavior?

    Thanks

    #2316

    patrik
    Moderator
    Post count: 721
    This reply has been marked as private.
    #2372

    Alex Howes
    Buyer
    Post count: 175

    Hi Patrik,

    Sorry to be revisiting this issue after some time. I haven’t resolved it yet.

    I think this is probably intended behaviour of the plugin. I have an item setup which a user can purchase. When they click to buy the item, the plugin creates an invoice. If they click away without purchasing the item the plugin saves that invoice to draft. Later on if the same user clicks to buy the item again, the plugin retrieves the drafted invoice rather than creating a new one. This means that any updates made to the item in the intervening time are not there (e.g. item title, price, etc.)

    Is there a way to delete the invoice when a user clicks away, rather than saving it as a draft? That way the next time the user clicks to buy the item the plugin would create a new invoice.

    Hope that’s clear,
    Alex

    #2375

    paolo
    Site Admin
    Post count: 29847

    That can only be done manually.

    Thanks

    #2376

    Alex Howes
    Buyer
    Post count: 175

    Hi Paulo,

    Is there another solution to this issue? It is causing quite a problem on my site and also seems like a general problem. E.g. the plugin might retrieve a draft invoice from months ago when the item price might have been very different!

    Alex

    #2389

    paolo
    Site Admin
    Post count: 29847

    Hi,

    this is done on purpose. If you change price, you should make sure to clean up your pending invoices 1st.

    Anything else would require a customization.

    Thanks

    #2436

    Alex Howes
    Buyer
    Post count: 175

    Hi Paulo,

    This seems odd. Is it possible that by ‘cleaning up’ the pending invoices you might mistakenly delete the invoice of someone in the middle of a transaction?

    Alex

    #2437

    paolo
    Site Admin
    Post count: 29847

    Hi,

    the pending status is assigned only when a transaction is declined or abandoned. Not in the middle of a transaction.

    Thanks

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.

  • How to add a new support ticket

    To open a new support ticket, first select the relevant forum and then click the "New Post" button. Example: You need support for the core plugin? Click on Core Plugin support and click on the "New Post Button".
  • Support Policy

    Please read the support policy before starting to use the forum.