- Posts: 575
- Thank you received: 11
Internal 500 error when checkout with points
- ler@singmuiheng.com
-
Topic Author
- Offline
Less
More
9 years 5 months ago #267446
by ler@singmuiheng.com
Internal 500 error when checkout with points was created by ler@singmuiheng.com
-- 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?
-- 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 or Create an account to join the conversation.
9 years 5 months ago #267463
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Internal 500 error when checkout with points
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,
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 & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- ler@singmuiheng.com
-
Topic Author
- Offline
Less
More
- Posts: 575
- Thank you received: 11
9 years 5 months ago - 9 years 5 months ago #267542
by ler@singmuiheng.com
Replied by ler@singmuiheng.com on topic Internal 500 error when checkout with points
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?
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 5 months ago by Jerome. Reason: removing useless quote
Please Log in or Create an account to join the conversation.
9 years 5 months ago #267552
by nicolas
Replied by nicolas on topic Internal 500 error when checkout with points
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 ?
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 or Create an account to join the conversation.
- ler@singmuiheng.com
-
Topic Author
- Offline
Less
More
- Posts: 575
- Thank you received: 11
9 years 5 months ago #267572
by ler@singmuiheng.com
Replied by ler@singmuiheng.com on topic Internal 500 error when checkout with points
Dear Nicolas
Thanks for your reply
You can reproduce the problem as below
Turn off/on virtual coupon (both lead to the same)- > address -> select a shipping method -> select a payment method (point method if virtual is off) - > finish hit -> and it will direct back to "address" -> shipping method -> and now payment method will left with other option and finally we can checkout)
Thanks for your reply
You can reproduce the problem as below
Turn off/on virtual coupon (both lead to the same)- > address -> select a shipping method -> select a payment method (point method if virtual is off) - > finish hit -> and it will direct back to "address" -> shipping method -> and now payment method will left with other option and finally we can checkout)
Please Log in or Create an account to join the conversation.
9 years 5 months ago #267575
by nicolas
Replied by nicolas on topic Internal 500 error when checkout with points
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:
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 or Create an account to join the conversation.
Time to create page: 0.159 seconds