Moodle not in wrapper after PayPal payment. I need help ASAP

9 years 5 months ago 9 years 5 months ago by Omar Nery's.
Omar Nery's
Posts: 12
More
Topic Author
Moodle not in wrapper after PayPal payment. I need help ASAP #1
Okay I have spent over a week on this! I seriously need help! Please!

I have put Tienda on the "shelf" for now. So I am using the regular PayPal pluging that comes with Moodle (no Tienda or VM). I have tried too many things (suggested by forums here, moodle forums, and paypal forums) to mention here. I guess you can ask me if I did A or B and I can give a Yes or No answer with some detail.

Here is what happens:
1) I click the PayPal button in moodle (inside the Joomla wrapper)
2) I get redirected to PayPal site you make payment (so far so good)
3) I login (PayPal) and click the "Pay Now" button.
4) I get redirected to the purchased course page. But NOT wrapped in Joomla!

Here are some screen shots. I hope they make clear what I am trying to say:






I am over one month past my deadline. Not only did I loose a bonus, I am at the risk of loosing my job!!!
I hope someone can help me PLEASE!!!

Thank you in advanced!
-Omar
Attachments:

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

9 years 5 months ago
Antonio Durán
Posts: 7255
More
Moodle not in wrapper after PayPal payment. I need help ASAP #2
Hi.

I tried your scenario and can confirm your problem.

I have a fix that seems to work, so please try it and let us know if it gives the expected results.

In file "components/com_joomdle/views/buycourse/tmpl/default.php", replace:
<input type="hidden" name="return" value="<?php echo $this->moodle_url.'/enrol/paypal/return.php?id='.$course_id ?>" />

By:
<?php
if ($this->params->get( 'linkstarget' ) == 'wrapper') :
    $url = "index.php?option=com_joomdle&view=wrapper&course_id=$course_id";
    $url = JoomdleHelperContent::get_course_url ($course_id);
?>
<input type="hidden" name="return" value="<?php echo $url; ?>" />
<?php else : ?>
<input type="hidden" name="return" value="<?php echo $this->moodle_url.'/enrol/paypal/return.php?id='.$course_id ?>" />
<?php endif; ?>

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

9 years 5 months ago 9 years 5 months ago by Omar Nery's.
Omar Nery's
Posts: 12
More
Topic Author
Moodle not in wrapper after PayPal payment. I need help ASAP #3
Antonio!! YOU ARE THE MAN!! Woohoo! :woohoo: You have no idea how happy you have made me! :cheer:
Needless to say, it worked perfectly. I should have posted my problem weeks ago. But even though I'm a designer, not a coder, I like to dig in first to see what I can learn.

Thank you! Thank you! Thank you!

I need to talk to you about some (paid) work we need from you. What is your email?

Have an awesome day!

Espero que no te ofendas pero,
Que Dios te bendiga!:)

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

9 years 5 months ago
Antonio Durán
Posts: 7255
More
Moodle not in wrapper after PayPal payment. I need help ASAP #4
I am happy to hear that it worked fine for you.

Our email for professional matters is This email address is being protected from spambots. You need JavaScript enabled to view it.. Feel free to email us with your requirements.

Thanks for your kind words :)

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

9 years 5 months ago
Omar Nery's
Posts: 12
More
Topic Author
Moodle not in wrapper after PayPal payment. I need help ASAP #5
I was going to send an email, but then I figured someone else might need this too.
So here it goes:

I have installed a Certificate module (in Moodle). I would like to integrate this Certificate Module into a Joomla module through Joomdle. Is this something that you could create for us? How soon can we do this? How much would it cost? I need to implement this "Joomdle Certificate Module" as soon as possible.

Specs:
Very simple. All I need is the module to show (in Joomla) all the certificates (PDF links) available to the (registered) user for his/her completed courses.
Example:
Module name: My Certifcates
Course: Polka 101
Course: Macrame 202
Etc.

Here are some screen shots of what I would like to achieve:







P.S. I wrote Chris about this but I think he might be too busy

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

9 years 5 months ago
Antonio Durán
Posts: 7255
More
Moodle not in wrapper after PayPal payment. I need help ASAP #6
Hi Omar.

Just wanted to let you know that I will look into this ASAP and write you privately.

This would be for Moodle 1.9, right?

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

9 years 5 months ago 9 years 5 months ago by Omar Nery's. Reason: Double post
Omar Nery's
Posts: 12
More
Topic Author
Moodle not in wrapper after PayPal payment. I need help ASAP #7
Oops! Double post! Sorry. Deleted

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

9 years 5 months ago
Omar Nery's
Posts: 12
More
Topic Author
Moodle not in wrapper after PayPal payment. I need help ASAP #8
Thank you for your quick response.
Yes, Moodle 1.9 is correct.
I'm looking forward to it.

onerys [at] gmail [dot] com
or
omar.cpe [at] gmail [dot] com

Thank you so much!
-Omar

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