diff --git a/src/GravityFormsExtensions.php b/src/GravityFormsExtensions.php index 7494b4d091..a24b8a0b32 100644 --- a/src/GravityFormsExtensions.php +++ b/src/GravityFormsExtensions.php @@ -500,7 +500,7 @@ public function p4_gf_stripe_custom_success_event($entry, $form): array !isset($entry['payment_status']) || !in_array($entry['payment_status'], $allowed) ) { - return ''; + return []; } $tType = [