- Posts: 6
[Solved] Tienda prolem with Joomdle
- Chris Duke
- Topic Author
- Offline
- New Member
-
Less
More
15 years 4 months ago - 15 years 4 months ago #1
by Chris Duke
[Solved] Tienda prolem with Joomdle was created by Chris Duke
Hi,
I was wondering if anyone has successfully managed to get Joomdle working with Tienda? I have a fresh install of Joomla 1.5.22 with the latest version of Tienda installed. I can add a product to my cart, register, select my payment (PayPal Sandbox) and complete the order perfectly.
I have installed Joomdle as per the instructions and can see my Moodle courses and add them to my cart but once I go to the registration page, enter registration details and click the Select Payment Method nothing appears to happen i.e. the select payment option doesn't appear. However, what does happen is that in the background I am registered on Joomla and Moodle.
I was wondering if anyone has run into this issue and could suggest a fix. I've uploaded a screencast here that shows the process I am going through and the console output in Firebug when I click Select Payment.
If you click the Select Payment a second time it produces the proper response i.e. it says the email address is already registered, which suggests to me that the Joomdle add user process may be getting in the way of submitting the form elements to the Tienda checkout controller.
Any thoughts would be much appreciated!
All the best
Chris
I was wondering if anyone has successfully managed to get Joomdle working with Tienda? I have a fresh install of Joomla 1.5.22 with the latest version of Tienda installed. I can add a product to my cart, register, select my payment (PayPal Sandbox) and complete the order perfectly.
I have installed Joomdle as per the instructions and can see my Moodle courses and add them to my cart but once I go to the registration page, enter registration details and click the Select Payment Method nothing appears to happen i.e. the select payment option doesn't appear. However, what does happen is that in the background I am registered on Joomla and Moodle.
I was wondering if anyone has run into this issue and could suggest a fix. I've uploaded a screencast here that shows the process I am going through and the console output in Firebug when I click Select Payment.
If you click the Select Payment a second time it produces the proper response i.e. it says the email address is already registered, which suggests to me that the Joomdle add user process may be getting in the way of submitting the form elements to the Tienda checkout controller.
Any thoughts would be much appreciated!
All the best
Chris
Last edit: 15 years 4 months ago by Antonio Durán.
The topic has been locked.
- Chris
-
- Offline
- Moderator
-
15 years 4 months ago #2
by Chris
Replied by Chris on topic Re: Tienda prolem with Joomdle
Hi there,
What happens if you are not integrated with Joomdle? Are you able to select payment method?
Joomdle should not be involved in the payment process in Tienda. Joomdle should be involved in 1) registration of new users and 2) enrollment of users into a course. The later is done after a successful payment has been made and is part of the standard Tienda plugin approach which gets called post payment.
Please let us know what happens without any integration.
Thanks
What happens if you are not integrated with Joomdle? Are you able to select payment method?
Joomdle should not be involved in the payment process in Tienda. Joomdle should be involved in 1) registration of new users and 2) enrollment of users into a course. The later is done after a successful payment has been made and is part of the standard Tienda plugin approach which gets called post payment.
Please let us know what happens without any integration.
Thanks
The topic has been locked.
- Chris Duke
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
15 years 4 months ago #3
by Chris Duke
Replied by Chris Duke on topic Re: Tienda prolem with Joomdle
Hi Chris,
Sorry, it's not too clear in my previous post. It worked fine before I installed Joomdle i.e. I could go through the whole payment process etc. After installing Joomdle it stalls at the Select Payment screen.
All the best
Chris
Sorry, it's not too clear in my previous post. It worked fine before I installed Joomdle i.e. I could go through the whole payment process etc. After installing Joomdle it stalls at the Select Payment screen.
All the best
Chris
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
15 years 4 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Re: Tienda prolem with Joomdle
Hi.
Are you alwyas starting process with a guest user? You say in the background you are logged, so I guess you weren't before.
If so, try logging in first and then going to shop, to see if that changes anything.
Antonio
Are you alwyas starting process with a guest user? You say in the background you are logged, so I guess you weren't before.
If so, try logging in first and then going to shop, to see if that changes anything.
Antonio
The topic has been locked.
- Chris Duke
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
15 years 4 months ago #5
by Chris Duke
Replied by Chris Duke on topic Re: Tienda prolem with Joomdle
Hi Antonio,
Initially I'm not logged in. From this state, If I go through the process and click select payment it adds me as a user in the background but won't allow me to select the payment. However, if I then go back to the home page I am automatically logged in as a user. If I then go to the checkout, add an address and click select payment it will allow me to choose paypal and then review my order. Once I then click on the Pay with PayPal button on the Review Orders screen it redirects to PayPal but PayPal shows an error message saying "This invoice has already been paid. For more information, please contact the merchant.". If I look at the order in Tienda it's still set to prepayment.
All the best
Chris
Initially I'm not logged in. From this state, If I go through the process and click select payment it adds me as a user in the background but won't allow me to select the payment. However, if I then go back to the home page I am automatically logged in as a user. If I then go to the checkout, add an address and click select payment it will allow me to choose paypal and then review my order. Once I then click on the Pay with PayPal button on the Review Orders screen it redirects to PayPal but PayPal shows an error message saying "This invoice has already been paid. For more information, please contact the merchant.". If I look at the order in Tienda it's still set to prepayment.
All the best
Chris
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
15 years 4 months ago #6
by Antonio Durán
Replied by Antonio Durán on topic Re: Tienda prolem with Joomdle
So, try starting with a fully logged user who is already migrated to Joomdle, to see if it works.
I am thinking your problem may have to do with the fact that Joomdle uses redirection for SSO, so it can break some processes like checkout.
I am thinking your problem may have to do with the fact that Joomdle uses redirection for SSO, so it can break some processes like checkout.
The topic has been locked.
- Chris Duke
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
15 years 4 months ago #7
by Chris Duke
Replied by Chris Duke on topic Re: Tienda prolem with Joomdle
Hi Antonio,
Yes, just tried it and it works fine if I am a fully logged in user who is already migrated to Joomla.
If I try adding to my cart then registering as a new user using www.mathsprep.ie/sandbox rather than sandbox.mathsprep.ie it actually shows the "Error while validating parameters" error message. If I profile it this way using firebug it shows that there an initial POST of the form elements, then a GET to Joomdle in my moodle site and then a GET. I've uploaded a small movie showing the firebug results here .
All the best
Chris
Yes, just tried it and it works fine if I am a fully logged in user who is already migrated to Joomla.
If I try adding to my cart then registering as a new user using www.mathsprep.ie/sandbox rather than sandbox.mathsprep.ie it actually shows the "Error while validating parameters" error message. If I profile it this way using firebug it shows that there an initial POST of the form elements, then a GET to Joomdle in my moodle site and then a GET. I've uploaded a small movie showing the firebug results here .
All the best
Chris
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
15 years 4 months ago #8
by Antonio Durán
Replied by Antonio Durán on topic Re: Tienda prolem with Joomdle
Hi.
As I sais, Joomdle uses redirection to perform SSO.
I guess what happens is that Tienda is autologging users when they register, and so kicking the SSO process, with redirection breaking process flow.
I don't remember if I tested this with Tienda, but I will when I have the time, and let you know.
Antonio
As I sais, Joomdle uses redirection to perform SSO.
I guess what happens is that Tienda is autologging users when they register, and so kicking the SSO process, with redirection breaking process flow.
I don't remember if I tested this with Tienda, but I will when I have the time, and let you know.
Antonio
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
15 years 4 months ago #9
by Antonio Durán
Replied by Antonio Durán on topic Re: Tienda prolem with Joomdle
I finally found some time to test this.
I can confirm that I get the same results as yours.
However, we plan to introduce a new option for next release, "redirect-less SSO", that makes this work as expected (just tested).
That option will only work with some conditions, though:
- cURL available
- Joomla and Moodle using the same domain
Antonio
I can confirm that I get the same results as yours.
However, we plan to introduce a new option for next release, "redirect-less SSO", that makes this work as expected (just tested).
That option will only work with some conditions, though:
- cURL available
- Joomla and Moodle using the same domain
Antonio
The topic has been locked.
- Chris Duke
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
15 years 4 months ago #10
by Chris Duke
Replied by Chris Duke on topic Re: Tienda prolem with Joomdle
Hi Antonio,
Thanks for looking into this. Is there any chance of getting the updated code for this via PM? My moodle and joomla site are on the same domain and this would fix my problem for site I have to get up and running before Christmas. Thanks again.
Chris
Thanks for looking into this. Is there any chance of getting the updated code for this via PM? My moodle and joomla site are on the same domain and this would fix my problem for site I have to get up and running before Christmas. Thanks again.
Chris
The topic has been locked.