× Shop / e-Commerce Integration

Problems with Moodle enrolment after Hikashop purchase

1 week 4 days ago
michaelhermary
Posts: 53
More
Topic Author
Problems with Moodle enrolment after Hikashop purchase #1
Hi,

We’re working with the following and having trouble getting people enroled into courses after purchasing:
Joomla: 3.9.3
Joomdle: 1.2.4
Hikashop: 4.0.3
Moodle: 3.6.3

Hikashop Groups plugin is installed and enabled (Hikashop orders plugin is disabled). I created a course in Moodle with two groups in it and created the corresponding Product Characteristics in Hikashop; Product Characteristics are specified in the relevant products.

When a course is purchased:
- There are no options that indicate Product Characteristics - should there be?
- Joomla user has been synced to Moodle and one-step sign-on works but test user is not enroled in course purchased
- When Joomdle is set as the enrolment method in the Moodle course there is a Custom Instance Name - does this correspond to something on the Joomla side?
- What information is linking Hikashop to Moodle exactly?

Thanks.
1 week 3 days ago
Antonio Durán
Posts: 6874
More
Problems with Moodle enrolment after Hikashop purchase #2
Hi.

> - There are no options that indicate Product Characteristics - should there be?

If you added the characteristics to the course product, options should appear on purchase. But at that point, Joomdle does not act yet: you define the product characteristics manually in Hikashop product. If you don't see them when purchasing, it must be related to some Hikashop configuration.

www.joomdle.com/wiki/Hikashop_Groups k

> - Joomla user has been synced to Moodle and one-step sign-on works but test user is not enroled in course purchased

Is the order being confirmed in Shop? Is the Hiakshop category set correctly in Joomdle config?

> - When Joomdle is set as the enrolment method in the Moodle course there is a Custom Instance Name - does this correspond to something on the Joomla side?

No. This is something standard to Moodle enrol plugins.

> - What information is linking Hikashop to Moodle exactly?

In this case, there are 2 things:
- Product SKU in Hikashop is set to "course id in moodle database"
- As you manually define the groups, you are entering the Moodle database ID of the groups

When an order is completed, a Joomdle plugin acts and makes enrolments with this info.
Cron Job Starts