- Posts: 5
- Thank you received: 0
Triggers required
- F4Services
- Topic Author
- Offline
- New Member
-
Less
More
10 years 10 months ago #45445
by F4Services
Triggers required was created by F4Services
Hi are there any built in triggers which will run once a donation is made and secondly one which will run when the paypal module receives confirmation that payment has been made
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 10 months ago #45486
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Triggers required
Hi
If you look at the code, you will see the two events triggered :
1. onAfterStoreDonor : This event is triggered after the donation record stored in the database.
2. onAfterPaymentSuccess: The event is triggered when the user complete the payment for the donation.
Below is the code :
Regards,
Tuan
If you look at the code, you will see the two events triggered :
1. onAfterStoreDonor : This event is triggered after the donation record stored in the database.
2. onAfterPaymentSuccess: The event is triggered when the user complete the payment for the donation.
Below is the code :
Code:
JPluginHelper::importPlugin( 'jdonation' );
$dispatcher = JDispatcher::getInstance();
$dispatcher->trigger( 'onAfterPaymentSuccess', array($row));
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Dũng Nguyễn Việt
Support
Documentation
Information
Copyright © 2025 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.