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

#   Error in PayPal payment module

##

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

Less More

- Posts: 1
- Thank you received: 0
-
-

13 years 3 months ago -  13 years 3 months ago [\#118112](#118112) by [dtyger](/forum/user/26226-dtyger "View dtyger's Profile")  *[Error in PayPal payment module](/forum/3-bug-report/860856-error-in-paypal-payment-module#118112 "-- url of the page with the problem -- : plugins&#92;hikashoppayment&#92;paypal&#92;paypal.php -- HikaShop version -- : 2.2.0 -- Joomla version -- : 2.5.11 -- PHP version -- : 5.4.16 -- Browser(s) name and version -- : unimportant -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  in paypal.php in PayPal payment module there is undefined variable on line 355:  specifically variable $order is not defined in current function thus errors appears in log:  It seems that $order should be changed with $dbOrder")* was created by *[dtyger](/forum/user/26226-dtyger "View dtyger's Profile")*

-- url of the page with the problem -- : plugins\hikashoppayment\paypal\paypal.php
-- HikaShop version -- : 2.2.0
-- Joomla version -- : 2.5.11
-- PHP version -- : 5.4.16
-- Browser(s) name and version -- : unimportant
-- Error-message(debug-mod must be tuned on) -- : Error_message

in paypal.php in PayPal payment module there is undefined variable on line 355: Code:

$email-&gt;body = str_replace('&lt;br/&gt;',"\r\n",JText::sprintf('PAYMENT_NOTIFICATION_STATUS','Paypal',$vars['payment_status'])).' '.JText::sprintf('ORDER_STATUS_CHANGED',$order-&gt;mail_status)."\r\n\r\n".$order_text;

specifically variable $order is not defined in current function thus errors appears in log: Code:

Notice: Undefined variable: order in C:\app\xampp\htdocs\joomla25\plugins\hikashoppayment\paypal\paypal.php on line 355 Notice: Trying to get property of non-object in &lt;b&gt;C:\app\xampp\htdocs\joomla25\plugins\hikashoppayment\paypal\paypal.php on line 355

It seems that $order should be changed with $dbOrder

Last edit: 13 years 3 months ago by [dtyger](/forum/user/26226-dtyger "View dtyger's Profile"). Reason: line ordering

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NjA4NTYtZXJyb3ItaW4tcGF5cGFsLXBheW1lbnQtbW9kdWxlP3RtcGw9bWFya2Rvd24=) 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: 86359
- Thank you received: 14296
-
-

13 years 3 months ago [\#118128](#118128) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error in PayPal payment module](/forum/3-bug-report/860856-error-in-paypal-payment-module#118128 "-- url of the page with the problem -- : plugins&#92;hikashoppayment&#92;paypal&#92;paypal.php -- HikaShop version -- : 2.2.0 -- Joomla version -- : 2.5.11 -- PHP version -- : 5.4.16 -- Browser(s) name and version -- : unimportant -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  in paypal.php in PayPal payment module there is undefined variable on line 355:  specifically variable $order is not defined in current function thus errors appears in log:  It seems that $order should be changed with $dbOrder")*

Thanks for the feedback.
$order-&gt;mail_status should actually be changed to $order_status

I've changed that on our end.

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

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

Less More

- Posts: 21
- Thank you received: 0
-
-
-
- [](http://www.fayretimesfestival.co.uk/)
-

13 years 2 months ago [\#120275](#120275) by [Bifford](/forum/user/14457-bifford "View Bifford's Profile")  Replied by *[Bifford](/forum/user/14457-bifford "View Bifford's Profile")* on topic *[Error in PayPal payment module](/forum/3-bug-report/860856-error-in-paypal-payment-module#120275 "-- url of the page with the problem -- : plugins&#92;hikashoppayment&#92;paypal&#92;paypal.php -- HikaShop version -- : 2.2.0 -- Joomla version -- : 2.5.11 -- PHP version -- : 5.4.16 -- Browser(s) name and version -- : unimportant -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  in paypal.php in PayPal payment module there is undefined variable on line 355:  specifically variable $order is not defined in current function thus errors appears in log:  It seems that $order should be changed with $dbOrder")*

Hello, has this been uploaded to the package yet?

I'm wondering if this is the cause of continual "Undefined" errors in my Cart??

do I need to change something manually myself?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NjA4NTYtZXJyb3ItaW4tcGF5cGFsLXBheW1lbnQtbW9kdWxlP3RtcGw9bWFya2Rvd24=) 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: 86359
- Thank you received: 14296
-
-

13 years 2 months ago [\#120277](#120277) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error in PayPal payment module](/forum/3-bug-report/860856-error-in-paypal-payment-module#120277 "-- url of the page with the problem -- : plugins&#92;hikashoppayment&#92;paypal&#92;paypal.php -- HikaShop version -- : 2.2.0 -- Joomla version -- : 2.5.11 -- PHP version -- : 5.4.16 -- Browser(s) name and version -- : unimportant -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  in paypal.php in PayPal payment module there is undefined variable on line 355:  specifically variable $order is not defined in current function thus errors appears in log:  It seems that $order should be changed with $dbOrder")*

That has not been included yet in the publicly available package. It will be in HikaShop 2.2.1 when we release it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NjA4NTYtZXJyb3ItaW4tcGF5cGFsLXBheW1lbnQtbW9kdWxlP3RtcGw9bWFya2Rvd24=) 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.049 seconds

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