More Stripe Troubleshooting
This commit is contained in:
parent
6f393bf8d1
commit
0c62dad786
1 changed files with 1 additions and 0 deletions
|
|
@ -283,6 +283,7 @@ function quiztech_handle_credit_purchase_submission() {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log_to_file("Stripe - Sanitize inputs");
|
||||||
// Sanitize inputs
|
// Sanitize inputs
|
||||||
$user_id = get_current_user_id();
|
$user_id = get_current_user_id();
|
||||||
$package_id = isset( $_POST['package_id'] ) ? sanitize_key( $_POST['package_id'] ) : '';
|
$package_id = isset( $_POST['package_id'] ) ? sanitize_key( $_POST['package_id'] ) : '';
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue