From 6a307397fd4c8cc558031a33d6c1c29e090bc9ad Mon Sep 17 00:00:00 2001 From: Ruben Ramirez Date: Fri, 4 Apr 2025 02:55:32 -0500 Subject: [PATCH] More Stripe Troubleshooting --- functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions.php b/functions.php index 022e337..b83aeaa 100644 --- a/functions.php +++ b/functions.php @@ -238,15 +238,15 @@ function quiztech_handle_credit_purchase_submission() { // Only process if our action is set and we are on the frontend if ( ! isset( $_POST['quiztech_action'] ) ) { log_to_file("Stripe - quiztech_action unset"); - // return; + return; } if ($_POST['quiztech_action'] !== 'initiate_credit_purchase') { log_to_file("Stripe - invalid action"); - // return; + return; } if (is_admin()) { log_to_file("Stripe - is_admin"); - // return; + return; } // Get the Manage Credits page URL reliably