Commit e06e2a35 authored by Eric Windham's avatar Eric Windham

fixes issues where PayPal or Stripe actions seemingly are not processing on...

fixes issues where PayPal or Stripe actions seemingly are not processing on return from PayPal/Stripe
parent 67b4ef57
Pipeline #2849 passed with stages
in 1 minute and 36 seconds
......@@ -13,7 +13,7 @@ class NF_AJAX_Controllers_Submission extends NF_Abstracts_Controller
public function __construct()
{
if( isset( $_POST[ 'nf_resume' ] ) && isset( $_COOKIE[ 'nf_wp_session' ] ) ){
add_action( 'ninja_forms_loaded', array( $this, 'resume' ) );
add_action( 'init', array( $this, 'resume' ) );
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment