cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 invoice pdf print wrong

SOLVED

Magento 2 invoice pdf print wrong

Print copyPrint copyMail copyMail copy

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Magento 2 invoice pdf print wrong

Hi @mohammed mosharrof_hossain

 

As i have seen you are using Bangladesh currency in your website !

 

But that currency symbol is not showing in the pdf invoice , because right now symbol is not a part of the fonts you are using !

 

So you need to add that symbol or supported fonts for the same.

 

Below i am sharing two links which have exact same issue which you are facing !

 

https://magento.stackexchange.com/questions/84044/currency-symbol-not-showing-in-pdf-invoice

 

https://github.com/magento/magento2/issues/9666

 

It will works for you !

if issue solved,Click Kudos & Accept as Solution

View solution in original post

8 REPLIES 8

Re: Magento 2 invoice pdf print wrong

Hi @mohammed mosharrof_hossain

 

Do you have any custom module / theme which does customization on invoice ? if yes kindly disabled it and then check it is working or not !

if issue solved,Click Kudos & Accept as Solution

Re: Magento 2 invoice pdf print wrong

I have no any custom module or theme.

Re: Magento 2 invoice pdf print wrong

Hi @mohammed mosharrof_hossain

 

okay i understand !

 

Which payment method are you using ? looks like it is payment gateway side issue - kindly disable payment gateway - do one cash on delivery or other offline method order and then check invoice gives correct output.

 

So issue is mainly related to your payment gateway !

 

You can also refer this for the same , they have same issue which you are facing - https://github.com/magento/magento2/issues/12750

 

It will works

if issue solved,Click Kudos & Accept as Solution

Re: Magento 2 invoice pdf print wrong

Not in  correct output.

I have not payment gateway 

Payment Method is only cash on delivery

Thanks for help. 

Re: Magento 2 invoice pdf print wrong

Hello,

 

grand total is same, where are you facing issue?

 

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Magento 2 invoice pdf print wrong

Hi @mohammed mosharrof_hossain

 

Looks like you have font issues on the pdf invoice !

 

Based on the two screenshots you have posted - email and invoice both have correct pricing and correct details ! but invoice have some fonts which are not supporting and that's why 1 is not showing properly !

 

As one 1 is already there but the symbol and 1 are overlaps and that is the reason invoice looks mashed up - so you need to work on that  symbol

 

if issue solved,Click Kudos & Accept as Solution

Re: Magento 2 invoice pdf print wrong

Hello @mohammed mosharrof_hossain

 

Please check below link 

http://iotwebplanet.in/display-indian-currency-properly-pdf-magento-2-x/

 

Above link for INR currently display issue into PDF, i don't know your currency.

 

Hope it will help you.

 

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Magento 2 invoice pdf print wrong

Hi @mohammed mosharrof_hossain

 

As i have seen you are using Bangladesh currency in your website !

 

But that currency symbol is not showing in the pdf invoice , because right now symbol is not a part of the fonts you are using !

 

So you need to add that symbol or supported fonts for the same.

 

Below i am sharing two links which have exact same issue which you are facing !

 

https://magento.stackexchange.com/questions/84044/currency-symbol-not-showing-in-pdf-invoice

 

https://github.com/magento/magento2/issues/9666

 

It will works for you !

if issue solved,Click Kudos & Accept as Solution