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

#   Failed order save - order\_url

##

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

Less More

- Posts: 8
- Thank you received: 0
-
-

15 years 1 month ago [\#27170](#27170) by [rduser](/forum/user/1116-rduser "View rduser's Profile")  *[Failed order save - order\_url](/forum/3-bug-report/27170-failed-order-save-order-url#27170 "Hi  Am writing a custom payment plugin and seem to be getting error when trying to save an amended order. Basically I am saving some extra fields to the order in the 'onAfterOrderConfirm' method of the payment plugin and it fails with following message :  Unknown column 'order&#95;url' in 'field list'  Obviously this is not in the database table and a search reveals that is set in administrator/components/com&#95;hikashop/classes/order.php in the 'loadOrderNotification' method, and is then retrieved in the following places :  media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.php media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.php media/com&#95;hikashop/mail/order&#95;admin&#95;notification.html.php  Is there a fix for this?")* was created by *[rduser](/forum/user/1116-rduser "View rduser's Profile")*

Hi

Am writing a custom payment plugin and seem to be getting error when trying to save an amended order.
Basically I am saving some extra fields to the order in the 'onAfterOrderConfirm' method of the payment plugin and it fails with following message :

Unknown column 'order_url' in 'field list'

Obviously this is not in the database table and a search reveals that is set in administrator/components/com_hikashop/classes/order.php in the 'loadOrderNotification' method, and is then retrieved in the following places :

media/com_hikashop/mail/order_creation_notification.text.php
media/com_hikashop/mail/order_status_notification.html.php
media/com_hikashop/mail/order_admin_notification.html.php

Is there a fix for this?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yNzE3MC1mYWlsZWQtb3JkZXItc2F2ZS1vcmRlci11cmw/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

15 years 1 month ago [\#27176](#27176) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Failed order save - order\_url](/forum/3-bug-report/27170-failed-order-save-order-url#27176 "Hi  Am writing a custom payment plugin and seem to be getting error when trying to save an amended order. Basically I am saving some extra fields to the order in the 'onAfterOrderConfirm' method of the payment plugin and it fails with following message :  Unknown column 'order&#95;url' in 'field list'  Obviously this is not in the database table and a search reveals that is set in administrator/components/com&#95;hikashop/classes/order.php in the 'loadOrderNotification' method, and is then retrieved in the following places :  media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.php media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.php media/com&#95;hikashop/mail/order&#95;admin&#95;notification.html.php  Is there a fix for this?")*

Hi,

You can just unset that attribute from the $order object in your code before saving the order and it won't bug you with that:
unset($order-&gt;order_url);

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

15 years 1 month ago [\#27178](#27178) by [rduser](/forum/user/1116-rduser "View rduser's Profile")  Replied by *[rduser](/forum/user/1116-rduser "View rduser's Profile")* on topic *[Re: Failed order save - order\_url](/forum/3-bug-report/27170-failed-order-save-order-url#27178 "Hi  Am writing a custom payment plugin and seem to be getting error when trying to save an amended order. Basically I am saving some extra fields to the order in the 'onAfterOrderConfirm' method of the payment plugin and it fails with following message :  Unknown column 'order&#95;url' in 'field list'  Obviously this is not in the database table and a search reveals that is set in administrator/components/com&#95;hikashop/classes/order.php in the 'loadOrderNotification' method, and is then retrieved in the following places :  media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.php media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.php media/com&#95;hikashop/mail/order&#95;admin&#95;notification.html.php  Is there a fix for this?")*

Thanks for that.......

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

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