• Resolved rana.irfan202

    (@ranairfan202)


    Hi,
    We have our own invoice number related to our CRM that we want to add in our orders by edit invoice number. We have enabled invoice with email when order get completed.
    The case when we are getting the issue on order Update:
    1) we change the status from “on-hold” or “processing” to “completed”
    2) Edit the invoice number 123
    3) and press Order update button

    Issue:
    Oder completed email sent to customer with the invoice but the invoice name and invoice number is not the updated one. Email took the invoice with the auto incremented number. But order is updated with the correct invoice number. Hope you understand the case and issue. Please help us to overcome the issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    When you want to set the invoice number manually, you need to make sure to set the invoice date too, otherwise it doesn’t use the manual invoice number. Can you check whether this is the case?

    Thread Starter rana.irfan202

    (@ranairfan202)

    No, I tried by update date as well but no luck. The email is still using the previous invoice number, not the latest one.

    Plugin Contributor kluver

    (@kluver)

    Hi @ranairfan202,

    You are correct. When updating the invoice number and order status at the same time the order status is updated first (which triggers the PDF creation) and then the invoice number is updated. We have fixed this in our next update.

    For now a workaround is to first change the invoice number and update the order. And then change the order status and update the order once more.

    Plugin Contributor Ewout

    (@pomegranate)

    This issue was resolved in 2.4.0

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘On edit Invoice number the invoice not being generated with the updated number’ is closed to new replies.