Shop / e-Commerce Integration

Hikashop & Joomdle... User is not enrolled in moodle

  • Bernard Wilmus
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 4 months ago - 12 years 4 months ago #1 by Bernard Wilmus
Hi,

I am having the same problem and I guess I've missed something in the Moodle configuration because I do not see Joomdle as enrollment method.
The rest is working fine: I see courses and users are exchanged between the 3 systems: HikaShop, Joomla, Moodle

How to I add the Joomdle enrollment plugin?

I noticed that my enrol_joomdle plugin was listed but disabled.
I added this plugin by uploading the files in the /moodle/enrol/ directory.

I've tried the following too:
- delete plugin files
- used the manage plugin interface
=> I had an error saying that the version.php file was missing in the archive

Any suggestion?

Thanks for your help

Moodle 2.5.2+ (Build: 20130920)
Joomla! 3.1.4
Joomdle 0.93
HikaShop Business 2.2.2
Attachments:
Last edit: 12 years 4 months ago by Bernard Wilmus.

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #2 by Chris
You will need to install the Joomdle enrollment plugin in Moodle. Normally we simply unzip the enrollment plugin into moodle/enroll/joomdle/*. When you log into Moodle as admin click on notifications.

Configure Moodle to leverage Joomdle for enrollments.

Enable the Hikashop plugin in Joomla and configure Joomdle to use Hikashop.

Please Log in or Create an account to join the conversation.

  • Bernard Wilmus
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 4 months ago #3 by Bernard Wilmus
Replied by Bernard Wilmus on topic Hikashop & Joomdle... User is not enrolled in moodle
Hi Chris,

My problem was the following: the zip file was incomplete, some files were missing.
I downloaded a new one this morning and now everything seems to be correctly installed and configured.

But, I have made several tests and even if an order appears as completed in HikaShop, there is no enrollment of users.
I have removed all enrollment methods from my 3 courses exept the Joomdle one.
I have no problem with authentication and my users created while buying a course are automatically created in Moodle in real time.

Shop Integration in joomla/joomdle configuration has been done. Hikashop displays all information about my 3 courses.

It really seems to me that HikaShop/Joomdle in Joomla do not call the Joomdle enrollment process in Moddle.

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #4 by Chris
You say you have delete all enrollment methods, including manual? Joomdle require manual enrollment to be enabled in Moodle.

Have you tried to confirm an order manually from the admin side to see if there is any difference in the result?

Are you getting the Joomdle email once the order has been confirmed? This will tell you if Joomdle is being called.

Do you have purchase child courses set to yes? If so it will not auto enroll.

You may wish to read this lengthy thread on Hikashop to get some tips. There is stuff in here not related but there is a fair bit of configuration discussion as well. www.joomdle.com/en/forum/r09-support/957...rder-confirmed#12018

Also there is some info in the FAQ
www.joomdle.com/wiki/Category:FAQ#I_don...._purchasing_a_course

Please Log in or Create an account to join the conversation.

  • Bernard Wilmus
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 4 months ago - 12 years 4 months ago #5 by Bernard Wilmus
Replied by Bernard Wilmus on topic Hikashop & Joomdle... User is not enrolled in moodle
I have enabled the manual enrollment for all courses.
"Buy courses for children" is set to "No".
I do not receive Joomdle emails but only 3 emails:
  1. Email address confirmation from Joomla
  2. Order creation from Hikashop
  3. Order confirmation from Hikashop

I tried to set the order back to "created" and then to "confirmed", no change.

I will read your 2 articles to see if I find a solution.
Last edit: 12 years 4 months ago by Bernard Wilmus. Reason: correction

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #6 by Chris
If you have enabled the Joomdle email (if only for testing), and you are not getting the emails then the Joomdle plugins are not being called. I know it sounds silly but you do have the joomdle hikashop plugin enabled? Are the rest disabled?

If everything is done correctly and even a manual confirmed order from the backend is not working, there is a chance that there is a plugin conflict - but thus far I am not aware of any reports of a conflict. You could try disabling other plugins and/or moving the joomdle plugins to the front to see if there is any change.

Have you tried courses with zero cost and courses with cost?

Also, for fun :) you could try upgrading to Joomdle R0.94. It has updates for J3.2 but who knows ....

Please Log in or Create an account to join the conversation.

  • Bernard Wilmus
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 4 months ago #7 by Bernard Wilmus
Replied by Bernard Wilmus on topic Hikashop & Joomdle... User is not enrolled in moodle
This was not silly at all :)

One plugin was missing: plg_system_joomdlehikashop
Because I was proposed to choose "HikaShop" as the only shop integration after Joomdle installation in Joomla and because I was able to see courses in Hikashop, I believed that integration was already included in Joomdle.

Now that I have found my mistake by reading the suggested articles, I see also that note at the end of wiki article:
www.joomdle.com/wiki/Hikashop


Thanks for your time Chris!

Please Log in or Create an account to join the conversation.

  • Bernard Wilmus
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 4 months ago - 12 years 4 months ago #8 by Bernard Wilmus
Replied by Bernard Wilmus on topic Hikashop & Joomdle... User is not enrolled in moodle
Hi again,

I am not far from objective but something is still missing...

I can buy a course and get enrolled automatically but when I connect to the Joomla website I just see the table of content of the course. I can't enter in the course it self or participate to a test.

If I go to the Moodle website as the same user, I can see the course content and participate to its tests.
In fact I have exactly the same result than this even if I am enrolled in the course:
www.joomdle.com/jdemo/index.php/courses/...ended-moodle-courses
None of the title have an active link to enter into the course content. I am limited to the table of content.

Is that normal?

Thx
Last edit: 12 years 4 months ago by Bernard Wilmus. Reason: add some links

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #9 by Chris
Yes & No It is normal if you do not have access. If the student is enabled in the course, you can see in the database or you can directly into Moodle, then you should get links.

If you are not seeing links a few things could be happening:
- You are not logged in with SSO. Do you have all green ticks in the system health?
- You are logged in but have different server sessions eg www.mydomain.com for Joomla but without www for Moodle (or vice versa)
- You are using multiple IDs in the front end at one time. Moodle does not have a front and back end like Joomla. Therefore your sessions could be getting confused.

Most likely one of the first two.

Please Log in or Create an account to join the conversation.

  • Bernard Wilmus
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 4 months ago - 12 years 4 months ago #10 by Bernard Wilmus
Replied by Bernard Wilmus on topic Hikashop & Joomdle... User is not enrolled in moodle
- I have the option "Use redirectless SSO" set to "Yes" and all the system checks are green. Is there any other configuration to check about SSO?
- Joomla is using the www subdomain and Moodle is using the elearning subdomain but the 2 values are correctly set in Joomdle (Moodle URL and Joomla URL)
- I have closed all my browser and tried to connect with my student user. I see the course in "My Courses" module but I have still no link active in the TOC
Attachments:
Last edit: 12 years 4 months ago by Bernard Wilmus.

Please Log in or Create an account to join the conversation.