one more stripe option
need to check if case matters
This commit is contained in:
parent
7044edc63c
commit
377cd8bcf3
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user