More Stripe Troubleshooting

This commit is contained in:
Ruben Ramirez 2025-04-04 02:57:29 -05:00
parent 6f393bf8d1
commit 0c62dad786

View file

@ -283,6 +283,7 @@ function quiztech_handle_credit_purchase_submission() {
exit;
}
log_to_file("Stripe - Sanitize inputs");
// Sanitize inputs
$user_id = get_current_user_id();
$package_id = isset( $_POST['package_id'] ) ? sanitize_key( $_POST['package_id'] ) : '';