• Hello in my website i have some order that is delete or not complet (for payment). Your plugin has just generate the billing and this is not good for me. Is possibile to generate PDF only if order is on status “complete”?

    Thanks

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

    (@pomegranate)

    Hi! This is handled by the attachment settings. You probably have the attachment to the ‘Admin New Order email’ enabled, and that email is sent for orders that are not completed either. Also see the documentation: When is the invoice number assigned?

    Hope that helps!
    Ewout

    Thread Starter serviceweb

    (@serviceweb)

    Hello and thanks for reply.

    I’ve setting send invoice only on admin “Order Complete” but the problem is number. If plugin generate the invoice i have a not valide billing and this is for italian law is not correct.

    For example:

    – Order complete: invoice 10
    – Order delete: invoice 11
    – Order not complete: invoice 12
    – Order complete: invoice 13

    Invice 11 and 12 must not be generate…i have a not valide invoice and this is not good for my country low…is not possibile change this?

    This is my setting https://www.awesomescreenshot.com/image/2011523/e92a52e76020f13e87b3a3b0e3225249

    Plugin Contributor Ewout

    (@pomegranate)

    Hi! The number is only created if you create an invoice! This means the deleted invoice was probably set to completed, and the customer was sent an invoice. In most European countries (Italy too I think), you cannot simply delete an invoice if you have already sent it to a customer, you need to create a credit note (pro version).
    Note that the number is also generated if you click the button in the backend – again, the documentation explains this exactly.

    If you want to delete an order with an invoice, you can go into the template settings and reset the ‘next invoice number’, although under normal circumstances this should not be necessary if you only set it to attach to the ‘Customer Completed order email’. Your settings look good.

    Ewout

    Thread Starter serviceweb

    (@serviceweb)

    Hello,

    Yes sure but the problem is that this order are never put on state “confirm”..is on state “Not pay” or “delete”. So why have a billing?

    Thanks

    Plugin Contributor Ewout

    (@pomegranate)

    Did you press the invoice button? The button is shown for non completed orders too. Also, note that the invoice number is NOT the same as the order number!

    Ewout

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Generate only if order is complete’ is closed to new replies.