More Stripe Troubleshooting

This commit is contained in:
Ruben Ramirez 2025-04-04 02:45:52 -05:00
parent 235f88f59e
commit 6fb79da0e1

View file

@ -1,6 +1,3 @@
log_to_file("Stripe - Handler function started on template_redirect.");
log_to_file("Stripe - POST data inside handler:", $_POST);
<?php
/**
@ -234,6 +231,8 @@ add_action( 'wp_ajax_send_job_invite', 'quiztech_ajax_send_job_invite' );
* Handle the submission from the "Buy Credits" forms on the Manage Credits page.
*/
function quiztech_handle_credit_purchase_submission() {
log_to_file("Stripe - Handler function started on template_redirect.");
log_to_file("Stripe - POST data inside handler:", $_POST);
// 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");