Moodle's PayPal Not Working

More
14 years 8 months ago #1 by Adam
Moodle's PayPal Not Working was created by Adam
Hi, maybe someone here can help me.

I'm using Joomla 1.7, Moodle 2.0.2, and Joomdle 0.6

I'm using the PayPal integration that is part of Moodle 2.0

I've confirmed that PayPal is working correctly through Moodle, when I click on a course within Moodle I'm told I have to buy the course through PayPal and I'm given a button to click, I click the payment button and it takes me to PayPal to buy the course; but when I turn on the show PayPal button in the Joomdle configuration it doesn't work in Joomla. The button shows up and I get a link, but it doesn't redirect to PayPal, it just refreshes the page. I'm logged in as a registered user testing this.

Also, if I use the Joomdle menu item, Buy course through PayPal, it works correctly. I click the course menu link and it redirects me to PayPal to buy the course; but that PayPal button that you can turn on and off in the Joomdle configuration within Joomla isn't working for me. I've turned all other buttons off except the PayPal button.
I've made sure that the courses in Moodle are set up to accept PayPal. Guest is disabled, student self-enroll is disabled, PayPal enrollment is enabled, and manual enrollment is enabled.

Using Firebug I can manipulate the code for the PayPal button and get it to work. I just changed the hyperlink to match the 'buy course through PayPal' link that is working correctly. However, I can't locate the actual html file to change the code.
I don't understand why the 'Buy Course through PayPal' menu item is working; but the Show PayPal button in the Joomdle configuration isn't working properly.

Any suggestions or help would be appreciated.

Thank you,
Adam

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

More
14 years 8 months ago #2 by Adam
Replied by Adam on topic Re: Moodle's PayPal Not Working
After further testing I've discovered that the PayPal button put in via Joomdle will not work for me if I'm using a Joomdle menu item, but it will work if I use a Joomdle module as long as that module is not active on a Joomdle menu. For example...

I've created a single articule menu item with some links and modules within the article. I've got the Joomdle Courses module active in a side column. I can access the course, read the course summary, and when I click the PayPal button I'm taken to PayPal to pay.

If I put the same Joomdle Courses module (or create a new, similar module) and have it active on a Joomdle menu item that calls in Moodle course information, the paypal buttom stops working. It either refreshes and stays on the same page, or it seems to randomly jump to a different course, sometimes I also get "A course is not selected" on the page.

The one problem that I'm having with my single articule menu item with the Joomdle Courses module active in the side column is that after the initial click of a course the module and all other navigational menus disappear. I've noticed that number at the end of the url (itemid=#) disappears. When that id number is gone, my module and other menu items are gone. The only option is the hit the back button on the browser.

I was excited to discover that the paypal button is working partially for me. I'm new to joomla, joomdle, and moodle. I've been using joomla for less than a month, and the other 2 barely one week. I like joomdle, but I'm finding it frustrating.

I'm still looking for any tips, suggestions, or advice that anyone is willing to offer.

Thanks,
Adam

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

More
14 years 8 months ago #3 by Antonio Durán
Replied by Antonio Durán on topic Re: Moodle's PayPal Not Working
Hi there.

Please note that Joomdle for Joomla 1.6/1.7 is labeled alpha, so it is sure that you can find bugs/problems with it.

I tried to replicate your problem, and I succesfully got the "no course selected message" when turning on SEF.

Will keep on looking into it and let you know.

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

More
14 years 8 months ago #4 by Adam
Replied by Adam on topic Re: Moodle's PayPal Not Working
Thanks for the response and for looking into it. I had actually forgotten that Joomdle for Joomla 1.6/1.7 is still labeled alpha.

Thank you for Joomdle

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

More
14 years 7 months ago #5 by Antonio Durán
Replied by Antonio Durán on topic Re: Moodle's PayPal Not Working
Sorry for the long wait, it's been busy lately...

We just released alpha8 which shoud fix this problem. Please test and let us know if you find any isssues.

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

More
14 years 7 months ago #6 by Adam
Replied by Adam on topic Re: Moodle's PayPal Not Working
No worries. I worked around the issue to get it to work close to what I wanted, it just wasn't as smooth as I would have liked. Anyway, I did some light testing this morning on the Joomdle menu item types after upgrading to this new alpha 8 release.

The PayPal button now works for the following menu item types. Course Categories and Course List. Course Categories is the menu item I had wanted to use initially, so this is great for me!

The PayPal button for the following menu item types still does not work for me. Course Category, Courses by Category, and Courses ABC. Clicking the PayPal button still just refreshes the page and nothing else happens, or it jumps back one page.

Regardless, Joomdle 0.6 alpha 8 has currently resolved my personal issue.

I appreciate you posting here and letting me know about the alpha 8 release.

Thank you!

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

More
14 years 7 months ago #7 by Antonio Durán
Replied by Antonio Durán on topic Re: Moodle's PayPal Not Working
Hi.
Thanks for the report, I will work into fixing the other menu item types for next release.

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