- Posts: 37
- Thank you received: 0
What plugin hooks is available ?
- Daniel Duvald
-
Topic Author
- Offline
- Junior Member
-
Less
More
9 years 6 months ago #88008
by Daniel Duvald
What plugin hooks is available ? was created by Daniel Duvald
Hi
I'm creating a new plugin for event booking. Is there a place where I can find the available plugin hooks like onAfterStoreRegistrant?
I'm looking for one after payment is registered.
Thanks.
I'm creating a new plugin for event booking. Is there a place where I can find the available plugin hooks like onAfterStoreRegistrant?
I'm looking for one after payment is registered.
Thanks.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 6 months ago #88009
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic What plugin hooks is available ?
Hi Daniel
See eventbookingdoc.joomservices.com/develop...mentation/dev-plugin
For event after payment is processed, you can use onAfterPaymentSuccess event trigger
Regards,
Tuan
See eventbookingdoc.joomservices.com/develop...mentation/dev-plugin
For event after payment is processed, you can use onAfterPaymentSuccess event trigger
Regards,
Tuan
The following user(s) said Thank You: Daniel Duvald
Please Log in or Create an account to join the conversation.
- Daniel Duvald
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
9 years 6 months ago #88010
by Daniel Duvald
Replied by Daniel Duvald on topic What plugin hooks is available ?
Thanks - just what I needed
Please Log in or Create an account to join the conversation.
- Daniel Duvald
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
9 years 6 months ago #88014
by Daniel Duvald
Replied by Daniel Duvald on topic What plugin hooks is available ?
Do you have a hook for the case where a user event registration is unpublished/cancelled ?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 6 months ago #88043
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic What plugin hooks is available ?
Hi Daniel
At the moment, we don't have that event trigger. If we were going to add support for it, I will only add support for the event when the registration is cancelled
You ca expect us to support that we will have support for it next week. The event which we will trigger will be named onRegistrationCancel.
Regards,
Tuan
At the moment, we don't have that event trigger. If we were going to add support for it, I will only add support for the event when the registration is cancelled
You ca expect us to support that we will have support for it next week. The event which we will trigger will be named onRegistrationCancel.
Regards,
Tuan
The following user(s) said Thank You: Daniel Duvald
Please Log in or Create an account to join the conversation.
- Daniel Duvald
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
9 years 5 months ago #88376
by Daniel Duvald
Replied by Daniel Duvald on topic What plugin hooks is available ?
Thats great news - thank you!
Please Log in or Create an account to join the conversation.
- Daniel Duvald
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
9 years 5 months ago #88377
by Daniel Duvald
Replied by Daniel Duvald on topic What plugin hooks is available ?
I have another question. I have created a plugin that adds the users to a jomsocial group onAfterStoreRegistrant.
Now I wanted to use that together with your user profile plugin, so a user can be created on event registration and also added to the group through my plugin.
It seems as if my plugin is not triggered if I'm not logged in - as if onAfterStoreRegistrant is not being fired, or the required information about the user is not yet available on the time of triggering onAfterStoreRegistrant.
Do you have any idea about this?
Now I wanted to use that together with your user profile plugin, so a user can be created on event registration and also added to the group through my plugin.
It seems as if my plugin is not triggered if I'm not logged in - as if onAfterStoreRegistrant is not being fired, or the required information about the user is not yet available on the time of triggering onAfterStoreRegistrant.
Do you have any idea about this?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 5 months ago #88394
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic What plugin hooks is available ?
I don't have idea about this issue. Do you set Access Level of the plugin to public? Not really understand what you are doing, so I could not know what might be the reason causing that error
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Daniel Duvald
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
9 years 5 months ago #88547
by Daniel Duvald
Replied by Daniel Duvald on topic What plugin hooks is available ?
Plugin is public - after some tests, I believe there is an issue with the onAfterPaymentSuccess hook. I did a test today with PayPal payment, and my plugin should fire onAfterPaymentSuccess but nothing happens...
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 5 months ago #88581
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic What plugin hooks is available ?
Hi Daniel
Please note that that hook (we call it event) will only be triggered after a successful payment - status of the registration record is active
So the question is during your test, what's the status of the registration record, is it Pending or active?
The easiest way to test is creating a new registration record manually from backend, make sure set Published -> Yes
Regards,
Tuan
Please note that that hook (we call it event) will only be triggered after a successful payment - status of the registration record is active
So the question is during your test, what's the status of the registration record, is it Pending or active?
The easiest way to test is creating a new registration record manually from backend, make sure set Published -> Yes
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.