A very powerful feature in Joomla is the use of plugins. These little workers can perform various tasks at different stages during a workflow. Plugins are triggered by calling a specific trigger name. This document lists all the plugin triggers that RO Payment fires.
System Plugins
For system plugins the group needs to be set to system.
onCancelSubscriptionComplete
When a Mollie subscription is cancelled this is triggered.
Parameters
The subscription details.
onPrepareThankYouMessage
This trigger is called from the RO Payments RSForms!Pro plugin when preparing the Thank You message to allow you to modify the message to your needs.
Parameters
The message, the payment details and the form ID
onPrepareRedirectUrl
This trigger is called from the RO Payments RSForms!Pro plugin when preparing the URL to send the user to after payment.
Parameters
The URL, the payment details and the form ID
RO Payment Plugins
For RO Payment plugins the group needs to be set to jdideal.
onPaymentComplete
When a payment done via the RO Payments payment page is complete this trigger is fired. The payment details are passed as parameters
Parameters
The payment details.
onCreateRenewal
When Mollie has created a recurring payment and called the webhook this trigger will be called.
Parameters
The Mollie payment ID and the RO Payments transaction ID
onCreate<ResponseStatus>
This is actually a flexible trigger as it depends on the response status received from the payment provider. Some examples are:
- onCreateOpen
- onCreateCancelled
- onCreateFailure
- onCreateSuccess
- and many more...
Parameters
The Mollie payment ID, the RO Payments transaction ID, and the RO Payments log ID
Content Plugins
For content plugins the group needs to be set to content.
onContentPrepare
In case a Joomla article is set as payment message, while preparing the message this trigger is called on the content plugins.
Parameters
The article details and the com_content parameters.