[Skip to main content](#vessel-content)

#   HikaShop Invoice PDF plugin

##

- **[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")**
- [![earmaster's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35023-earmaster "View earmaster's Profile") Topic Author
- [ Offline](/forum/user/35023-earmaster)

Less More

- Posts: 137
- Thank you received: 2
-
-

10 years 9 months ago [\#231119](#231119) by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile")  *[HikaShop Invoice PDF plugin](/forum/30-integrations/882574-hikashop-invoice-pdf-plugin#231119 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.10 -- Error-message(debug-mod must be tuned on) -- : PHP Notice: Undefined property: stdClass::$information in /plugins/hikashop/attachinvoice/attachinvoice/invoice.php on line 333,  Hi, there seem to be a slight issue with the plugin, the invoice.php seem to be calling for some &quot;information&quot; that isn't there, depending on Payment method, if I chose a order paid with QuickPay / Paypal I get the error, but If I chose a order with Bank transfer the error isn't there.  Also, before I could see the invoice directly in the backend via a modal, now it opens a blank modal and downloads the PDF, I don't know if that is controlled by the &quot;Override on the backend&quot; setting in the plugin params?")* was created by *[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.10
-- Error-message(debug-mod must be tuned on) -- : PHP Notice: Undefined property: stdClass::$information in /plugins/hikashop/attachinvoice/attachinvoice/invoice.php on line 333,

Hi, there seem to be a slight issue with the plugin, the invoice.php seem to be calling for some "information" that isn't there, depending on Payment method, if I chose a order paid with QuickPay / Paypal I get the error, but If I chose a order with Bank transfer the error isn't there.

Also, before I could see the invoice directly in the backend via a modal, now it opens a blank modal and downloads the PDF, I don't know if that is controlled by the "Override on the backend" setting in the plugin params?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84ODI1NzQtaGlrYXNob3AtaW52b2ljZS1wZGYtcGx1Z2luP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

10 years 9 months ago [\#231136](#231136) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[HikaShop Invoice PDF plugin](/forum/30-integrations/882574-hikashop-invoice-pdf-plugin#231136 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.10 -- Error-message(debug-mod must be tuned on) -- : PHP Notice: Undefined property: stdClass::$information in /plugins/hikashop/attachinvoice/attachinvoice/invoice.php on line 333,  Hi, there seem to be a slight issue with the plugin, the invoice.php seem to be calling for some &quot;information&quot; that isn't there, depending on Payment method, if I chose a order paid with QuickPay / Paypal I get the error, but If I chose a order with Bank transfer the error isn't there.  Also, before I could see the invoice directly in the backend via a modal, now it opens a blank modal and downloads the PDF, I don't know if that is controlled by the &quot;Override on the backend&quot; setting in the plugin params?")*

Hi,

1. Add the line:
if(!empty($payment-&gt;payment_params-&gt;information))
before the line:
echo $payment-&gt;payment_params-&gt;information;
in the file /plugins/hikashop/attachinvoice/attachinvoice/invoice.php and that will remove that notice.

2. That's indeed that setting which controls that. Turn it off and you'll get the popup with the invoice again.

The following user(s) said Thank You: [earmaster](/forum/user/35023-earmaster "View earmaster's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84ODI1NzQtaGlrYXNob3AtaW52b2ljZS1wZGYtcGx1Z2luP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")**
- [![earmaster's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35023-earmaster "View earmaster's Profile") Topic Author
- [ Offline](/forum/user/35023-earmaster)

Less More

- Posts: 137
- Thank you received: 2
-
-

10 years 9 months ago [\#231227](#231227) by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile")  Replied by *[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")* on topic *[HikaShop Invoice PDF plugin](/forum/30-integrations/882574-hikashop-invoice-pdf-plugin#231227 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.10 -- Error-message(debug-mod must be tuned on) -- : PHP Notice: Undefined property: stdClass::$information in /plugins/hikashop/attachinvoice/attachinvoice/invoice.php on line 333,  Hi, there seem to be a slight issue with the plugin, the invoice.php seem to be calling for some &quot;information&quot; that isn't there, depending on Payment method, if I chose a order paid with QuickPay / Paypal I get the error, but If I chose a order with Bank transfer the error isn't there.  Also, before I could see the invoice directly in the backend via a modal, now it opens a blank modal and downloads the PDF, I don't know if that is controlled by the &quot;Override on the backend&quot; setting in the plugin params?")*

Thanks a lot, that fixed it ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84ODI1NzQtaGlrYXNob3AtaW52b2ljZS1wZGYtcGx1Z2luP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")**
- [![earmaster's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35023-earmaster "View earmaster's Profile") Topic Author
- [ Offline](/forum/user/35023-earmaster)

Less More

- Posts: 137
- Thank you received: 2
-
-

10 years 9 months ago -  10 years 9 months ago [\#231239](#231239) by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile")  Replied by *[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")* on topic *[HikaShop Invoice PDF plugin](/forum/30-integrations/882574-hikashop-invoice-pdf-plugin#231239 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.10 -- Error-message(debug-mod must be tuned on) -- : PHP Notice: Undefined property: stdClass::$information in /plugins/hikashop/attachinvoice/attachinvoice/invoice.php on line 333,  Hi, there seem to be a slight issue with the plugin, the invoice.php seem to be calling for some &quot;information&quot; that isn't there, depending on Payment method, if I chose a order paid with QuickPay / Paypal I get the error, but If I chose a order with Bank transfer the error isn't there.  Also, before I could see the invoice directly in the backend via a modal, now it opens a blank modal and downloads the PDF, I don't know if that is controlled by the &quot;Override on the backend&quot; setting in the plugin params?")*

Another thing I noticed was this line, it seems to generate a double Invoice title, like so:

InvoiceInvoice NumberC1S4W45

And it seems to be generated here: Code:

$number = ' n° '; if(JText::_('INVOICE_NUMBER') != 'INVOICE_NUMBER'){ $number = JText::_('INVOICE_NUMBER'); }

By removing the Code:

$number = JText::_('INVOICE_NUMBER');

line the invoice title looks like this:

Invoice n° C1S4W45

As it's suppose to I assume?

Last edit: 10 years 9 months ago by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84ODI1NzQtaGlrYXNob3AtaW52b2ljZS1wZGYtcGx1Z2luP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

10 years 9 months ago [\#231243](#231243) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[HikaShop Invoice PDF plugin](/forum/30-integrations/882574-hikashop-invoice-pdf-plugin#231243 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.10 -- Error-message(debug-mod must be tuned on) -- : PHP Notice: Undefined property: stdClass::$information in /plugins/hikashop/attachinvoice/attachinvoice/invoice.php on line 333,  Hi, there seem to be a slight issue with the plugin, the invoice.php seem to be calling for some &quot;information&quot; that isn't there, depending on Payment method, if I chose a order paid with QuickPay / Paypal I get the error, but If I chose a order with Bank transfer the error isn't there.  Also, before I could see the invoice directly in the backend via a modal, now it opens a blank modal and downloads the PDF, I don't know if that is controlled by the &quot;Override on the backend&quot; setting in the plugin params?")*

Hi,

You should use that code instead: Code:

$number = JText::_('INVOICE').' n° '; if(JText::_('INVOICE_NUMBER') != 'INVOICE_NUMBER'){ $number = JText::_('INVOICE_NUMBER'); } ?&gt; &lt;div class="invoicetitle"&gt;&lt;?php echo $number.$order-&gt;order_invoice_number; ?&gt;&lt;/div&gt;

There was indeed an issue, thank you for this report.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84ODI1NzQtaGlrYXNob3AtaW52b2ljZS1wZGYtcGx1Z2luP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.054 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
