Description #
This action runs if the PayPal ipn verification is failed. You can hook into this and get the error data.
/*
* Source Action
*/
do_action('fluentform/ipn_paypal_action_' . $txn_type, $encoded_data_array, $submissionId, $submission, $ipnVerified);
Usage #
add_action('fluentform/ipn_paypal_action_web_accept', function($encoded_data_array, $submissionId, $submission, $ipnVerified) {
// Do your stuff here
}, 10, 4);
This code should be placed in the functions.php file of your active theme.
Parameters #
$
encoded_data_array (array) Encoded Data- $submissionId (int) Submission ID
- $submission (object) Submission Object
- $ipnVerified (boolean) Ipn Verification
Source Code #
This hook is located in /fluentformpro/src/Payments/PaymentMethods/PayPal/API/IPN.php