From 377cd8bcf38e32341b58e2ccc5c8dde9cc061c52 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Sat, 1 Jul 2023 09:12:50 -0700 Subject: [PATCH] one more stripe option need to check if case matters --- web3_proxy/src/frontend/users/payment_stripe.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web3_proxy/src/frontend/users/payment_stripe.rs b/web3_proxy/src/frontend/users/payment_stripe.rs index 00507245..35a0a29f 100644 --- a/web3_proxy/src/frontend/users/payment_stripe.rs +++ b/web3_proxy/src/frontend/users/payment_stripe.rs @@ -103,6 +103,8 @@ pub async fn user_balance_stripe_post( // TODO Get this from the header let signature = if let Some(x) = headers.get("stripe-signature") { x + } else if let Some(x) = headers.get("Stripe-Signature") { + x } else if let Some(x) = headers.get("STRIPE_SIGNATURE") { x } else if let Some(x) = headers.get("HTTP_STRIPE_SIGNATURE") {