- Posts: 2
Joomdle wrapper paypal redirection not working.
- ewd
- Topic Author
- Offline
- New Member
-
Less
More
13 years 11 months ago #1
by ewd
Joomdle wrapper paypal redirection not working. was created by ewd
Hi I am using moodle in the joomdle wrapper, which seem to be ok for now.
Only issue I have is:
When in “home page” click on a paid course, the course description shows up with the paypal logo and the button at the bottom “Send payment via Paypal”. Click on the button and it just refresh the page.
Test it in moodle directly and works fine (is send to paypal), so I think there is an issue with the redirection…
Any help???
Tks.
Only issue I have is:
When in “home page” click on a paid course, the course description shows up with the paypal logo and the button at the bottom “Send payment via Paypal”. Click on the button and it just refresh the page.
Test it in moodle directly and works fine (is send to paypal), so I think there is an issue with the redirection…
Any help???
Tks.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
13 years 10 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Re: Joomdle wrapper paypal redirection not working.
Hi.
I tested and can confirm the problem: it's caused by the Paypal form being inside the wrapper. It posts to paypal, and the action happens inside the wrapper.
You cannot have Paypal in a wrapper, so it fails.
I tested a solution that seems to work fine: in enrol.html file in paypal enrolment plugin, add:
target="_parent"
to the form definition:
I tested and can confirm the problem: it's caused by the Paypal form being inside the wrapper. It posts to paypal, and the action happens inside the wrapper.
You cannot have Paypal in a wrapper, so it fails.
I tested a solution that seems to work fine: in enrol.html file in paypal enrolment plugin, add:
target="_parent"
to the form definition:
Code:
<form action="<?php echo $paypalurl ?>" method="post" target="_parent">
Please Log in or Create an account to join the conversation.
- ewd
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
13 years 10 months ago #3
by ewd
Replied by ewd on topic Re: Joomdle wrapper paypal redirection not working.
Tks
I set it up, but with blank instead. Even is not what I´d like to.
Now the issue is that after paying in PayPal the user is directed to Moddle not to Joomdle (Joomla). Anyway to fix that?
Also I had set up a course page where user can also buy the courses through PayPal, which works, but when the user is redirect to the site (Joomdle wrapper) is not auto enrolled.
Anyway to change that?
A couple more:
Can a user create a course within Joomdle? Not talking about the wrapper.
Setting up virtumart to sell courses would avoid any of the issues with PayPal and enrolments?
I need users to buy the courses in Joomla/Joomdle and get back there too after payment and enrolled in the course. Then they should do everything through the wrapper…
Also I found out that if I use XI Profiles types the users are not created in moodle/Joomdle just in Joomla, which does not happen when “Use Profiles Types: none” is set. Mean users a created in Joomla/Joomdle/moodle when “none”.
I asked XI about it and they send me to you. Any work around?
Sorry, I am asking many things together but I have a deadline and need to fix this issues ASAP.
Thanks.
PS: anyway I can get answers faster?
I set it up, but with blank instead. Even is not what I´d like to.
Now the issue is that after paying in PayPal the user is directed to Moddle not to Joomdle (Joomla). Anyway to fix that?
Also I had set up a course page where user can also buy the courses through PayPal, which works, but when the user is redirect to the site (Joomdle wrapper) is not auto enrolled.
Anyway to change that?
A couple more:
Can a user create a course within Joomdle? Not talking about the wrapper.
Setting up virtumart to sell courses would avoid any of the issues with PayPal and enrolments?
I need users to buy the courses in Joomla/Joomdle and get back there too after payment and enrolled in the course. Then they should do everything through the wrapper…
Also I found out that if I use XI Profiles types the users are not created in moodle/Joomdle just in Joomla, which does not happen when “Use Profiles Types: none” is set. Mean users a created in Joomla/Joomdle/moodle when “none”.
I asked XI about it and they send me to you. Any work around?
Sorry, I am asking many things together but I have a deadline and need to fix this issues ASAP.
Thanks.
PS: anyway I can get answers faster?
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
13 years 10 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Re: Joomdle wrapper paypal redirection not working.
Hi.
Faster replies: you can always hire the Joomdle team to do your installation,which includes email support. Write to development@joomdle.com if you want more info.
Redirect to Moodle: if you use Moodle to buy, it's normal that it redirects you to Moodle.
If you want to buy and get back to Joomla, why don't you use the Paypal button un course description page?
Of course, you can also use VM.
XI Profiles: you need to create profiles in XI, and then in Joomdle->Profiles, select which ones you want to create in Moodle.
Faster replies: you can always hire the Joomdle team to do your installation,which includes email support. Write to development@joomdle.com if you want more info.
Redirect to Moodle: if you use Moodle to buy, it's normal that it redirects you to Moodle.
If you want to buy and get back to Joomla, why don't you use the Paypal button un course description page?
Of course, you can also use VM.
XI Profiles: you need to create profiles in XI, and then in Joomdle->Profiles, select which ones you want to create in Moodle.
Please Log in or Create an account to join the conversation.