I've encountered a strange problem.
Here's the background:
I set up a page called "Download" and, using the Documents module, add some downloadable files. I give the page "All users" visibility and the Documents module is set to an XYZ role. I then set CATALooK Store so that the "Download" button sends the user to "Download" page. I also set the test product to admit the buyer to the XYZ role.
Strange Problem:
On doing a test purchase, it doesn't work as expected. I would have expected that the "Download" page would immediately display the downloadable files in the Products module. However, the Downloads module is invisible on the page for several seconds (maybe more than a minute or two). It only appears after I refresh the page a bunch of times, or navigate around for a while and come back. It's behaving as if the XYX role assignment is taking place a minute or two AFTER the buyer arrives at the Download page.
Has anyone else encountered this? If I can't get this resolved, I'm going to have have CATALooK's download button just point to a file rather than to the much more flexible "Download" page I want to create. It will work, but it would be a shame.
Normally there is no delay until the role assignement is activated by DNN. Probably there is a problem with the DNN email what could cause an delay. Please check your Host -> SMTP settings. I this doesn't fix it, please post this question on the DNN forum.
Susanne, the email settings are fine. Per your request, I've posted the following to the Benefactors forum:
I am running 4.3.4. I am encountering what looks very much like a latency of up to a minute or more in the assignment of a role to a user.
I set up a page called "Download" and, using the Documents module, add some downloadable files. I set View Page to XYZ Role. I then set CATALooK Store to automatically add the user to XYZ Role. I set CATALooK Store to send the user to the Download page upon clicking a "Download" button.
The Weird Latency:
On doing a test purchase, it doesn't work as expected. CATALooK properly sends the user to the Download page, but the user gets the"Access Denied - You do not have access to view this tab within the portal" message. Of course, I would have expected that the "Download" page would immediately display to the user. The Download page button also does not appear....
BUT THEN about a minute to a minute and a half later, after refreshing or just clicking around the site, suddenly the page appears and the user gets access to the downloads. Obviously, this kind of delay is a show stopper for what should otherwise be a smooth sales process.
Is This a DNN Problem?
I reported this problem to Susanne, the developer of CATALooK. She replied: "Normally there is no delay until the role assignement is activated by DNN. Probably there is a problem with the DNN email what could cause an delay. Please check your Host -> SMTP settings. I this doesn't fix it, please post this question on the DNN forum."
I've checked the email settings both in CATALooK app and in Host SMTP. Both are fine, and the tests show very fast email responsiveness.
Is this a known issue with 4.3.4?
If I hear anything useful, I will post it here. Thank you.
Yes, I entered a value of "90"