• Resolved valderes

    (@valderes)


    I’ve last version o Moodle (3.10), the last versions of Woocommerce, wordpress, and the last version of this plugin, in Moodle and WordPress.
    I can Sync the courses, pruchase any course finely.
    But the user in Moodle is not created and no enrolment is created (obviously) exactly many others topics. In Moodle and in wordpress the setup is exactly like in your guide: https://dualcube.com/docs/moowoodle-set-up-guide/

Viewing 6 replies - 1 through 6 (of 6 total)
  • I have the same problem exactly

    I found a solution for me. The problem was the language code (greek/el). Now i forced it to english and it’s fine

    I added the following code in my functions.php in my template

    function moowoodle_force_set_language($user_data){
    	$user_data['lang']='en';
    	return $user_data;
    }
    add_filter('moowoodle_moodle_users_data', 'moowoodle_force_set_language' );
    • This reply was modified 3 years, 10 months ago by Sociality.

    @sociality please, how I can do it? I’m with same problem. Can you give me more details? Thank.

    Ok, I understood and managed to make the modification (the registration also worked), but in doing so we forced Moodle into English and the user then needs to change his profile settings to his language, which does not seem convenient. So the question that remains now is: how to make worpress register the user correctly in the language that is configured in Moodle?
    If anyone has a solution for that I would appreciate it. In my case, the language is “Brazilian Portuguese”.

    Thread Starter valderes

    (@valderes)

    Thank you, @sociality. Your code works fine.

    It create a user at Moodle but the user can’t log in. Probally a problem with the password.

    Plugin Author Dualcube

    (@dualcube)

    Hi @valderes, thanks for getting in touch with us.

    After hearing from you we checked this on our end. When a customer is purchasing the course from the WordPress site, the user is getting added in moodle too.

    WordPress Screenshot: https://www.awesomescreenshot.com/image/10166402?key=641e85d7b78522ad4e992c202f1f7da7

    Moodle Screenshot: https://www.awesomescreenshot.com/image/10166077?key=4d00fdd74dacab166e522cd727db5ec4

    Please make sure you are using the updated version of Moodle on your site.`

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Not creating users and/or enrolling’ is closed to new replies.