After i made sample payment through paypal sandbox for a particular course i cant see that course in my course list.I just completed that purchase from admin side.So how can i view a course after making payment.I'm using drupal commerce paypal payment.
The rule to add a user to a given course or classe (Give access to OG on checkout) is triggered on checkout completion. It does not depend on payment methods. If you have a payment method, then the checkout completion is done after the payment method was successful.
What do you mean by "completed that purchase from admin side"?
Rule was set to pending after
The user is set to pending in the case there are required courses for that course, that the user has not completed.
So the user is in fact added to the course correct? If you go to the course he is listed under the users?
sorry actually i meant rule
Opigno comes with a ruled called (Give access to OG on checkout). This rule is triggered on checkout complete. As i said this is completly independent of the payment method. If you have or not a payment method, at the end of the order checkout, it will be set as checkout complete. This will check the products in the order and add the user placing the order inside the course.
There is also another rule that opigno comes with that after the checkout is complete it is set as pending.
When users click on Subscribe to group, they are directed to a page where they buy it. Did you click on subscribe to a group with a normal user?
If you created the corse with the admin, how where you able to buy the course with the admin? If he is part of the course he cant buy it.
"Give access to OG on
Yes it should be a permission
Yes it should be a permission, under admin people permissions do registered users have the permission access checkout set?
But the fact the other admin does not see the course means there is something else. Does this second admin get added to the course? Or he just cant see it under the my courses view?
Yes they do have the
You should enable install the
You should enable install the devel module, and inside the rule Give access to OG on checkout add a debug action to display a message to see if it is beeing called.
You said previouly "Rule was set to pending after checkout completion.now i set it complete." Can you elaborate? If the payment rule is sending to order complete instead of checkout complete, the rule to add the user is never called (Give access to OG on checkout).
i think "Give access to OG on
If you desactivate the
If you desactivate the payment method you have, does it work?
Now i noticed that even admin
You activated the Organic groups access control module. You cannot do this. We have our own module Opigno og access control.
Please disable and uninstall the module Organic groups access control. There is a warning in the module to not activate both.
uninstalled og group access
Hi vantony, after you
Hi vantony, after you uninstalled the organic access control module, did you clear the cache?
What do you mean the problem still exists? they get access denied? Does it work for an admin now?
Since you had those two
Since you had those two modules enabled at the same time, i sugest you create a new course and test it with a fresh course.
uninstalled organic access
In reply to uninstalled organic access by vantony
With a fresh new course?
With a fresh new course?
Deleted all old course and
In reply to Deleted all old course and by vantony
And if you go to group/node/%
And if you go to group/node/%/admin/permissions. The % is the id of the course.
Do users have permissions to subscribe?
here is the screenshot for
Inside the opigno_commerce
Inside the opigno_commerce_app.module inside the function opigno_commerce_app_join_link add a line
return og_ui_subscribe($entity_type, $gid);And let me know if you get a white screen when trying to subscribe.
No..same error "You are not
Issue fixed by upgrading