Hi Manhta,
sorry to be raising this again. I think whatever was done to fix the Pricing issue has affected the use of the Promo codes. These were working fine and now when a student tries to take the course it throws an error after the promo code is added and it tries to pay. If I check the Free for students it lets me enrol on the course but for free. If I remove the free for stundent tick it throws the serror as follows:
0
Access Usergroup Invalid
() JROOT/libraries/src/User/UserHelper.php:173
2 Joomla\CMS\User\UserHelper::addUserToGroup() JROOT/components/com_guru/models/gurubuy.php:951
3 guruModelguruBuy->proccessSuccess() JROOT/components/com_guru/controllers/guruBuy.php:591
4 guruControllerguruBuy->checkout() JROOT/libraries/src/MVC/Controller/BaseController.php:672
5 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_guru/guru.php:325
6 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
7 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
8 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
9 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200
10 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:241
11 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
12 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
13 require_once() JROOT/index.php:32
Hope you can help as students can't enrol on paid courses now were we issue promo codes
Kind regards