More Stripe Troubleshooting
This commit is contained in:
parent
235f88f59e
commit
6fb79da0e1
1 changed files with 2 additions and 3 deletions
|
|
@ -1,6 +1,3 @@
|
||||||
|
|
||||||
log_to_file("Stripe - Handler function started on template_redirect.");
|
|
||||||
log_to_file("Stripe - POST data inside handler:", $_POST);
|
|
||||||
<?php
|
<?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.
|
* Handle the submission from the "Buy Credits" forms on the Manage Credits page.
|
||||||
*/
|
*/
|
||||||
function quiztech_handle_credit_purchase_submission() {
|
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
|
// Only process if our action is set and we are on the frontend
|
||||||
if ( ! isset( $_POST['quiztech_action'] ) ) {
|
if ( ! isset( $_POST['quiztech_action'] ) ) {
|
||||||
log_to_file("Stripe - quiztech_action unset");
|
log_to_file("Stripe - quiztech_action unset");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue