VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: CZ_Petrik on June 04, 2012, 12:56:57 PM

Title: VM 2.0.6 createInvoiceNumber failed [SOLVED]
Post by: CZ_Petrik on June 04, 2012, 12:56:57 PM
Hi,

I have a problem with generating pdf invoices. If change a order status on Confirmed I see this error

vmError: Cant create pdf, createInvoiceNumber failed

Thanks for help
Title: Re: VM 2.0.6 createInvoiceNumber failed
Post by: John2400 on June 04, 2012, 13:29:13 PM
Hi we were having issue with invoices on some earlier versions.

Could you try and reinstalling the software again over the top of your present site - it will be Ok.

and then create a fake product purchase and see the invoice again.

* also look and see what your setting is in Configuration>>checkout as this > setting Default order Status to send and invoice>>  change this to something else and then see may be it is set to none? and then when confirmed it cannot generate a numbered invoice ?

just a though.
Title: Re: VM 2.0.6 createInvoiceNumber failed
Post by: CZ_Petrik on June 08, 2012, 10:55:44 AM
I can't find any settings of 'Default order status too send...'

I noticed the missing numbers in order pdf preview
isn't this reason?

screenshots:

PDF version http://www.link-it.cz/order.jpg (http://www.link-it.cz/order.jpg)
Print (html) version http://www.link-it.cz/order1.jpg (http://www.link-it.cz/order1.jpg)

Title: Re: VM 2.0.6 createInvoiceNumber failed
Post by: jenkinhill on June 08, 2012, 12:24:28 PM
Default Order Status to send an invoice  is a setting on VM configuration/checkout
Title: Re: VM 2.0.6 createInvoiceNumber failed
Post by: CZ_Petrik on June 09, 2012, 09:43:56 AM
Thanks for response...

Upgrade to 2.0.7d and all solved