Wrong invoice number on attached PDF invoices

  • Posts: 49
  • Thank you received: 2
4 years 7 months ago #310221

-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.11
-- PHP version -- : 7.2.21

Hi all,

we´re using the "Attach Invoice to the order confirmation e-mail" on our site but there is something wrong with the configuration.

We found out that the system is "printing" the order number instead of the invoice number on the invoice.
But it only affects the attached invoices, if the customer logs in to his account on the frontend, all is working fine, see attachments.
Also, the office address is wrong, we moved to another city a few weeks ago. On the frontend, all is fine but on the attached invoice it´s wrong.

Many thanks in advance for your help
Best regards
Torsten

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
4 years 7 months ago #310240

Hi,

The PDF invoice plugin uses the invoice number in the PDF file. However, if the invoice number is not yet available, then it's the order number which is used instead.
So this indicates that you configured the plugin to send the PDF invoice before the invoice number is generated for the order.
So you need to check the "order status" setting of the PDF invoice plugin as well as the order statuses in the menu System>Order statuses. Something must be wrong in the workflow of the order statuses.

Please Log in or Create an account to join the conversation.

  • Posts: 49
  • Thank you received: 2
4 years 7 months ago #310261

Hi Nicolas,

many thanks for the update, I´ve attached a screenshot of the configuration, what should I change that the system is working correctly?

Best regards
Torsten

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
4 years 7 months ago #310265

Hi,

In the settings of the plugin, in the "Statuses for email attachment" you should write "confirmed" instead of "created".

The following user(s) said Thank You: CorneliaML

Please Log in or Create an account to join the conversation.

  • Posts: 49
  • Thank you received: 2
4 years 7 months ago #310268

Good morning Nicolas,

many thanks, I´ve changed the "Statuses for email attachment" to "confirmed".
Is there anything else I have to change?

Many thanks
Torsten

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
4 years 7 months ago #310270

Hello,

If you don't have any other behavior to fix, it should be good.

Kind regards,
Mohamed Thelji.

The following user(s) said Thank You: CorneliaML

Please Log in or Create an account to join the conversation.

  • Posts: 49
  • Thank you received: 2
4 years 7 months ago #310297

Hi Mohamed,

no, that was the only problem to fix ;)

Best regards
Torsten

Please Log in or Create an account to join the conversation.

Time to create page: 0.077 seconds
Powered by Kunena Forum