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_' . $encoded_data_array['txn_type'], $encoded_data_array, $submissionId, $ipnVerified);

Usage #

add_action('fluentform_ipn_paypal_action_{$txn_type}', function ($encoded_data_array, $submissionId, $ipnVerified) {
     // Do your stuffs here
 }, 10, 3);

This code should be placed in the functions.php file of your active theme.

Paramertes #

  • $encoded_data_array (array) Encoded Data
  • $submissionId (int) Submission Id
  • $ipnVerified (boolean) Ipn Verification

Source Code #

This hook is located in /fluentformpro/src/Payments/PaymentMethods/PayPal/API/IPN.php

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *