R0.24 No Longer Supported

Course sold, not showing in my courses

  • Munish Sethi
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
15 years 9 months ago #1 by Munish Sethi
Course sold, not showing in my courses was created by Munish Sethi
Hi.

Thanks for your earlier assistance. I m able to raise the application joomla and moodle both and is going to start with my further development on this.

I want to sell the courses online. I have integrated virtuemart category with the joomle and now when i add a new course in moodle, it does shows up on joomla products items.

I logged in as a buyer in joomla and bought a course. I paid for the course and have seen that the status of the order is shipped in joomla.
But problem is that i dont see that course in MY COURSES in moodle. I belive the bought course must have shown on my Moodle My courses even.

How can that happen ?Kindly guide.

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

More
15 years 9 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: Course sold, not showing in my courses
Hi.

You don't say if you used paypal for payment. Did you? That is the only current working method, without patching VM.

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

  • Munish Sethi
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
15 years 9 months ago #3 by Munish Sethi
Replied by Munish Sethi on topic Re: Course sold, not showing in my courses
aah..
i didnt used paypal.. i used the "cash on delivery" instead.
But i changed the status of the order to "Confirmed" from joomla control panel.

So u mean if i try with paypal.. that may add the course to my courses automatically??

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

More
15 years 9 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Re: Course sold, not showing in my courses
If you configure everything correctly as the doc explains, it should.

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

  • Munish Sethi
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
15 years 9 months ago #5 by Munish Sethi
Replied by Munish Sethi on topic Re: Course sold, not showing in my courses
so it means u are adding the purchased course to the moodle my courses.. Can u tell me where in which file are u doing it, so that i can add that functionality of auto adding course to my couses for the other payment modules as well..

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

More
15 years 9 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic Re: Course sold, not showing in my courses
It is done in the modified paypal ipn handler: paypal_notify.php, in admin side of joomla.

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

  • Munish Sethi
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
15 years 9 months ago #7 by Munish Sethi
Replied by Munish Sethi on topic Re: Course sold, not showing in my courses
thanks.

yes i can see how you are using
JoomdleHelperContent::add_order_enrols ($order_id, $user_id);
I can see many other functions in this content.php. Can i makeuse of those functions to get the data?

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

More
15 years 9 months ago #8 by Antonio Durán
Replied by Antonio Durán on topic Re: Course sold, not showing in my courses
Sure. You can use them as any other Joomla functions.

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