Hi @didierjm
Thank you so much for the kind words and for testing the plugin 🙌
If you have any feedback, ideas, or feature suggestions during your testing, please feel free to share them. We built this plugin to help the community, and we truly appreciate every piece of feedback and suggestion.
Hi,
You don’t need to send data to this hook. You have to receive data from this hook.
Here you get the submitted data of the form entry $submission, and the $transaction has the vendor transaction data. If you want to validate a specific form use $form_id then. If you want certain data to be stored in the database no need to receive or use those $submission, $transaction, $form_id, $updateData
variables just call the action to do whatever you want.
Example use case for your purpose:
add_action('wppayform/form_payment_success',function($submission, $transaction, $form_id, $updateData){
// store your data on your database
}, 10, 4);
Thanks