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

#   AllPay have SQL syntax error

##

- **[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") Topic Author
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

10 years 6 months ago [\#241045](#241045) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  *[AllPay have SQL syntax error](/forum/29-payment-methods/884701-allpay-have-sql-syntax-error#241045 "Hi,  The problem is in the code of your payment plugin. You should remove the code: from the function getAllpayOrderID in the file plugins/hikashoppayment/YOUR&#95;PLUGIN&#95;NAME/YOUR&#95;PLUGIN&#95;NAME.php and then you won't get that error.  I would recomment to contact your payment gateway and notify them about that problem so that they can fix it in the package they distribute.")* was created by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")*

Hi,

The problem is in the code of your payment plugin.
You should remove the code: Code:

$app = JFactory::getApplication(); if (!$app-&gt;isAdmin()){ hikashop_addACLFilters($where, 'payment_access'); }

from the function getAllpayOrderID in the file plugins/hikashoppayment/YOUR_PLUGIN_NAME/YOUR_PLUGIN_NAME.php and then you won't get that error.

I would recomment to contact your payment gateway and notify them about that problem so that they can fix it in the package they distribute.

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

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

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