- Posts: 20
[Solved] VM, Joomdle & Moodle Paid Course Enrollment Problem
- Todd
- Topic Author
- Offline
- Junior Member
-
Less
More
14 years 11 months ago - 14 years 11 months ago #11
by Todd
Replied by Todd on topic Re: VirtueMart, Joomdle & Moodle Paid Course Enrollment Problem
Antonio,
I have tried your suggestion; however, when I use the "Go to Course" button it doesn't act correctly:
1. First I get a blank white browser page if I refresh it will show me the Moodle edit profile page inside the Joomla wrapper.
2. I populate the Moodle Profile information and hit save.
3. I then click on the Moodle Home button within the Joomla wrapper so that I can click on the course where I only have an enrollment key set so that I can enrol into the course and Moodle gives me this page that says "Login to SOTB" SOTB is the name of my course even though I am already logged into Moodle. It also doesn't give me an option to enter the enrollment key.
4. So I logged directly into Moodle with the admin account and Browsed the List of users and moodle is showing that I still haven't submited the First name / Surname or Email address which is really strange.
It doesn't matter how many times I enter the Moodle required profile information within the Joomla page it doesn't accept it therefore resulting in not allowing me to enroll into the course!
Video shows entire walk through between Joomla, Moodle and Joomdle Note: No Audio - just captions! - www.efaithdemo.com/elms/problems/Go%20to...tton%20problems.html
Video with Audio for Enrollment Issues while using the Joomdle Enrol Button - www.efaithdemo.com/elms/problems/enrollment/enrollment%20.html
I have tried your suggestion; however, when I use the "Go to Course" button it doesn't act correctly:
1. First I get a blank white browser page if I refresh it will show me the Moodle edit profile page inside the Joomla wrapper.
2. I populate the Moodle Profile information and hit save.
3. I then click on the Moodle Home button within the Joomla wrapper so that I can click on the course where I only have an enrollment key set so that I can enrol into the course and Moodle gives me this page that says "Login to SOTB" SOTB is the name of my course even though I am already logged into Moodle. It also doesn't give me an option to enter the enrollment key.
4. So I logged directly into Moodle with the admin account and Browsed the List of users and moodle is showing that I still haven't submited the First name / Surname or Email address which is really strange.
It doesn't matter how many times I enter the Moodle required profile information within the Joomla page it doesn't accept it therefore resulting in not allowing me to enroll into the course!
Video shows entire walk through between Joomla, Moodle and Joomdle Note: No Audio - just captions! - www.efaithdemo.com/elms/problems/Go%20to...tton%20problems.html
Video with Audio for Enrollment Issues while using the Joomdle Enrol Button - www.efaithdemo.com/elms/problems/enrollment/enrollment%20.html
Last edit: 14 years 11 months ago by Todd.
The topic has been locked.
- Todd
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
14 years 11 months ago #12
by Todd
Replied by Todd on topic Re: VirtueMart, Joomdle & Moodle Paid Course Enrollment Problem
Antonio,
I have reverted back from using VM to just using the PayPal function within Moodle and it works just fine; however, I am having one slight issue:
Once I get to the point of purchasing the course via PayPal from within the Joomla wrapper I click on the PayPal link which works Great outside the Joomla wrapper and I get this PayPal error:
Sorry - your last action could not be completed
- after doing some research I found that the reason i am getting this error is because I am tring to open PayPal within a frame/wrapper; therefore, I need to add a line of code to get this to stop from happening; however, i just don't know where I need to add it!
This is the paragraph that explains that:
For those of you that are running your own online stores, and your Paypal payment page currently resides in a frame - you will need to add code to force the payment page to open in a new window when the user clicks on it. You want to add the following attribute to the anchor link that calls the payment page:
<a target="_blank" href=" paypal.com ...">Buy Now
This will effectively bust the payments page out of the frame and open it in a new window.
Here is the weblink that talks about that : www.werockyourweb.com/paypal-sorry-your-...uld-not-be-completed
Any help would be GREAT!
I have reverted back from using VM to just using the PayPal function within Moodle and it works just fine; however, I am having one slight issue:
Once I get to the point of purchasing the course via PayPal from within the Joomla wrapper I click on the PayPal link which works Great outside the Joomla wrapper and I get this PayPal error:
Sorry - your last action could not be completed
- after doing some research I found that the reason i am getting this error is because I am tring to open PayPal within a frame/wrapper; therefore, I need to add a line of code to get this to stop from happening; however, i just don't know where I need to add it!
This is the paragraph that explains that:
For those of you that are running your own online stores, and your Paypal payment page currently resides in a frame - you will need to add code to force the payment page to open in a new window when the user clicks on it. You want to add the following attribute to the anchor link that calls the payment page:
<a target="_blank" href=" paypal.com ...">Buy Now
This will effectively bust the payments page out of the frame and open it in a new window.
Here is the weblink that talks about that : www.werockyourweb.com/paypal-sorry-your-...uld-not-be-completed
Any help would be GREAT!
The topic has been locked.
- Todd
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
14 years 11 months ago #13
by Todd
Replied by Todd on topic Re: VirtueMart, Joomdle & Moodle Paid Course Enrollment Problem
Nevermind I solved the PayPal issue within the Joomla Frame -
I edited the enrol.html file located within the moodle/enrol/paypal directory
by simply replacing this line:
<form action="<?php echo $paypalurl ?>" method="post">
With this line:
<form action="<?php echo $paypalurl ?>" method="post" target = "paypal">
This will open PayPal in a new Window resolving the following PayPal Error:
SORRY - YOUR LAST ACTION COULD NOT BE COMPLETED PAYPAL ERROR
I edited the enrol.html file located within the moodle/enrol/paypal directory
by simply replacing this line:
<form action="<?php echo $paypalurl ?>" method="post">
With this line:
<form action="<?php echo $paypalurl ?>" method="post" target = "paypal">
This will open PayPal in a new Window resolving the following PayPal Error:
SORRY - YOUR LAST ACTION COULD NOT BE COMPLETED PAYPAL ERROR
The topic has been locked.