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

#   Internal 500 error when checkout with points

##

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

Less More

- Posts: 575
- Thank you received: 11
-
-

9 years 7 months ago [\#267446](#267446) by [ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")  *[Internal 500 error when checkout with points](/forum/29-payment-methods/889817-internal-500-error-when-checkout-with-points#267446 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6 -- Error-message(debug-mod must be tuned on) -- : Call to undefined method hikashopCartClass::loadCart() in /home/petstore/web/theon linepetstore.com.my/public&#95;html/plugins/hikashoppayment/userpoints/userpoints.php on line 463  Call to undefined method hikashopCartClass::loadCart() in /home/petstore/xxx/public&#95;html/plugins/hikashoppayment/userpoints/userpoints.php on line 463  Dear we hit above error when using AUP point as checkout payment, may we know what should we do or any misconfiguration of our setting?")* was created by *[ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")*

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6
-- Error-message(debug-mod must be tuned on) -- : Call to undefined method hikashopCartClass::loadCart() in /home/petstore/web/theon linepetstore.com.my/public_html/plugins/hikashoppayment/userpoints/userpoints.php on line 463

Call to undefined method hikashopCartClass::loadCart() in /home/petstore/xxx/public_html/plugins/hikashoppayment/userpoints/userpoints.php on line 463

Dear we hit above error when using AUP point as checkout payment, may we know what should we do or any misconfiguration of our setting?

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 7 months ago [\#267463](#267463) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Internal 500 error when checkout with points](/forum/29-payment-methods/889817-internal-500-error-when-checkout-with-points#267463 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6 -- Error-message(debug-mod must be tuned on) -- : Call to undefined method hikashopCartClass::loadCart() in /home/petstore/web/theon linepetstore.com.my/public&#95;html/plugins/hikashoppayment/userpoints/userpoints.php on line 463  Call to undefined method hikashopCartClass::loadCart() in /home/petstore/xxx/public&#95;html/plugins/hikashoppayment/userpoints/userpoints.php on line 463  Dear we hit above error when using AUP point as checkout payment, may we know what should we do or any misconfiguration of our setting?")*

Hello,

It looks like your using the "UserPoints" plugin in the mode which create a coupon (and not in "virtual coupon" mode).
Please comment the line 463 of the plugin, it will avoid the fatal error and it should work properly.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 575
- Thank you received: 11
-
-

9 years 7 months ago -  9 years 7 months ago [\#267542](#267542) by [ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")  Replied by *[ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")* on topic *[Internal 500 error when checkout with points](/forum/29-payment-methods/889817-internal-500-error-when-checkout-with-points#267542 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6 -- Error-message(debug-mod must be tuned on) -- : Call to undefined method hikashopCartClass::loadCart() in /home/petstore/web/theon linepetstore.com.my/public&#95;html/plugins/hikashoppayment/userpoints/userpoints.php on line 463  Call to undefined method hikashopCartClass::loadCart() in /home/petstore/xxx/public&#95;html/plugins/hikashoppayment/userpoints/userpoints.php on line 463  Dear we hit above error when using AUP point as checkout payment, may we know what should we do or any misconfiguration of our setting?")*

Dear Jerome

Yes, you are right, the error gone when we turn on "virtual coupon"

However we do not wish coupon to be generated, even if we comment out the line the coupon is still generated, and after commenting the line we can not lead to checkout finish page, is that something wrong?

Last edit: 9 years 7 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: removing useless quote

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

Less More

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

9 years 7 months ago [\#267552](#267552) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Internal 500 error when checkout with points](/forum/29-payment-methods/889817-internal-500-error-when-checkout-with-points#267552 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6 -- Error-message(debug-mod must be tuned on) -- : Call to undefined method hikashopCartClass::loadCart() in /home/petstore/web/theon linepetstore.com.my/public&#95;html/plugins/hikashoppayment/userpoints/userpoints.php on line 463  Call to undefined method hikashopCartClass::loadCart() in /home/petstore/xxx/public&#95;html/plugins/hikashoppayment/userpoints/userpoints.php on line 463  Dear we hit above error when using AUP point as checkout payment, may we know what should we do or any misconfiguration of our setting?")*

Hi,

It is normal that the coupon is still generated when you remove that line. That line should just not be there with the new cart system of HikaShop 3, and removing that line was only to fix that error message.

Regarding the fact that the coupon is still generated, that's because you have the virtual coupon turned off. If you turn it off, the system won't create a coupon, it will display as a coupon on the checkout, but it won't be a real coupon, hence the "virtual coupon" name.

Regarding the finish page, I can't say if it's related to the points or not, or why. We would need more information, on how your checkout is configured, how your points plugins are configured, a link to the shop and the steps to reproduce the problem. Also do you have the problem with other payment methods like bank transfer ? Do you have the problem with the default template of Joomla ? Any error message when you do that test ?

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

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

Less More

- Posts: 575
- Thank you received: 11
-
-

9 years 7 months ago [\#267572](#267572) by [ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")  Replied by *[ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")* on topic *[Internal 500 error when checkout with points](/forum/29-payment-methods/889817-internal-500-error-when-checkout-with-points#267572 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6 -- Error-message(debug-mod must be tuned on) -- : Call to undefined method hikashopCartClass::loadCart() in /home/petstore/web/theon linepetstore.com.my/public&#95;html/plugins/hikashoppayment/userpoints/userpoints.php on line 463  Call to undefined method hikashopCartClass::loadCart() in /home/petstore/xxx/public&#95;html/plugins/hikashoppayment/userpoints/userpoints.php on line 463  Dear we hit above error when using AUP point as checkout payment, may we know what should we do or any misconfiguration of our setting?")*

Dear Nicolas

Thanks for your reply

You can reproduce the problem as below

Turn off/on virtual coupon (both lead to the same)- &gt; address -&gt; select a shipping method -&gt; select a payment method (point method if virtual is off) - &gt; finish hit -&gt; and it will direct back to "address" -&gt; shipping method -&gt; and now payment method will left with other option and finally we can checkout)

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

Less More

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

9 years 7 months ago [\#267575](#267575) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Internal 500 error when checkout with points](/forum/29-payment-methods/889817-internal-500-error-when-checkout-with-points#267575 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6 -- Error-message(debug-mod must be tuned on) -- : Call to undefined method hikashopCartClass::loadCart() in /home/petstore/web/theon linepetstore.com.my/public&#95;html/plugins/hikashoppayment/userpoints/userpoints.php on line 463  Call to undefined method hikashopCartClass::loadCart() in /home/petstore/xxx/public&#95;html/plugins/hikashoppayment/userpoints/userpoints.php on line 463  Dear we hit above error when using AUP point as checkout payment, may we know what should we do or any misconfiguration of our setting?")*

Hi,

That's not precise enough. We don't know how your checkout or points are configured.
You say "and it will direct back to "address"" but with a default install of HikaShop, there is no redirect. The checkout is all ajax in one step. So we don't know what is the problem nor why.
Again, please provide the information I asked about:

> We would need more information, on how your checkout is configured, how your points plugins are configured, a link to the shop and the steps to reproduce the problem. Also do you have the problem with other payment methods like bank transfer ? Do you have the problem with the default template of Joomla ? Any error message when you do that test ?

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

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