hikashop-joomdle Paypal works ok but doesn't enroll

  • Paolo
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 7 months ago #1 by Paolo
Hi everyone,
I have a problem with Paypal payment. Everything works ok, the payment is received, and on Hikashop order it gets shipped how it should be. I tried switching between the order status but nothing changes.
Basically, I see that the order is never put in Joomdle_purchased_courses table in joomla database. The whole problem is that joomdle doesn't update that table but I can't find where is the function that control it. With bank transfer is everything fine and the table updated.

Hikashop 1.5.7
Joomdle 0.81
Joomla! 2.5.4

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

More
13 years 7 months ago #2 by Chris
There was a few other reporting problems similar to this in the forum - I can't recall the exact resolution. Did you try searching through?

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

  • Paolo
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 7 months ago #3 by Paolo
Hi Chris, yes first I searched and read all the topics about this but I didn't find a solution

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

More
13 years 7 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic hikashop-joomdle Paypal works ok but doesn't enroll
Did you enable the joomdlehikashop plugin?

That table is only used if you use "buy courses for children", so normally it will be empty.

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

  • Paolo
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 7 months ago - 13 years 7 months ago #5 by Paolo
Hi Antonio, yes the plugin is enabled and I actually use Buy courses for children. If the user pay with Bank Transfer everything works fine, the courses go in the "Joomdle_purchased_courses" table and I can assign the courses, but if the user pays with Paypal the payment works fine, but there aren't courses in "Joomdle_purchased_courses" table, and there aren't courses to assign..
I solved with a work around, I wrote a function that basically looks in Hikashop orders table, if there are orders from paypal it put the courses of the order in joomdle purchased courses.. it works but it's not a great solution and it checks everytime a user log in, so it slows the system..
Last edit: 13 years 7 months ago by Paolo.

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

More
13 years 7 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic hikashop-joomdle Paypal works ok but doesn't enroll
If it works with a payment method, it should work with the other.
Maybe Paypal is not confirming your orders in VM? Joomdle needs that.

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

  • Paolo
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 7 months ago #7 by Paolo
Yes, this is why I think there could be a bug.. Paypal confirms the orders, I see the confirmation on hikashop page but joomdle doesn't see it. But if I'm the only one experiencing this, probably I messed up something :whistle:

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

More
13 years 7 months ago #8 by Fernando Acedo
Replied by Fernando Acedo on topic hikashop-joomdle Paypal works ok but doesn't enroll
did you setup the joomdlehikashop plugin ?

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

  • Paolo
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 7 months ago #9 by Paolo
I don't have any settings in that plugin.. but anyway, the system works with bank transfer, so the problem is just in the paypal stuff..

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

More
13 years 7 months ago #10 by Fernando Acedo
Replied by Fernando Acedo on topic hikashop-joomdle Paypal works ok but doesn't enroll
Sorry, I see Antonio asked you about the plugin.

Are you using the Paypal sandbox ?

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