"You have not permission to go to this area"
This is different than the "You do not have permission to go to this area".
After making payment, it seems to redirect to index.php/oscalendar/?id=xx&Itemid=0
Checking the code in com_oscalendar/classes/default.php, if there is no task defined, it defaults to the bookingList function, which checks if the user is an agent:
Code:
if(!HelperOspropertyCommon::isAgent()){
$mainframe->redirect(JURI::root(), JText::_('OS_YOU_HAVE_NOT_PERMISSION_TO_GO_TO_THIS_AREA'));
}
This is the only place in the code I could find this error.
This begs the question -- why does it redirect to this page after payment is successful? Everything else is working fine, just this redirection after successful payment is not good.