diff --git a/web3_proxy/src/frontend/users/payment_stripe.rs b/web3_proxy/src/frontend/users/payment_stripe.rs index 27989071..b365e619 100644 --- a/web3_proxy/src/frontend/users/payment_stripe.rs +++ b/web3_proxy/src/frontend/users/payment_stripe.rs @@ -152,7 +152,7 @@ pub async fn user_balance_stripe_post( let txn = db_conn.begin().await?; // Assert that it's usd - if intent.currency.to_string() != "USD" || recipient.is_none() { + if intent.currency.to_string() != "usd" || recipient.is_none() { // In this case I should probably still save it to the database, // but not increase balance (this should be refunded) // TODO: I suppose we could send a refund request right away from here