More Stripe Troubleshooting
This commit is contained in:
parent
84bf673037
commit
6a307397fd
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue