More Stripe Troubleshooting

This commit is contained in:
Ruben Ramirez 2025-04-04 02:55:32 -05:00
parent 84bf673037
commit 6a307397fd

View file

@ -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