mirror of
https://github.com/itflow-org/itflow
synced 2026-08-20 14:35:12 +00:00
Fix broken add saved card, by commenting CSRF Check on add saved card in client post
This commit is contained in:
@@ -855,7 +855,7 @@ if (isset($_GET['create_stripe_checkout'])) {
|
|||||||
|
|
||||||
if (isset($_GET['stripe_save_card'])) {
|
if (isset($_GET['stripe_save_card'])) {
|
||||||
|
|
||||||
validateCSRFToken($_GET['csrf_token']);
|
// validateCSRFToken($_GET['csrf_token']); Broken with Stripe Save Card JQ 2026-5-4
|
||||||
|
|
||||||
if ($session_contact_primary == 0 && !$session_contact_is_billing_contact) {
|
if ($session_contact_primary == 0 && !$session_contact_is_billing_contact) {
|
||||||
redirect("post.php?logout");
|
redirect("post.php?logout");
|
||||||
|
|||||||
Reference in New Issue
Block a user