From 49426161fc9ff7d12f37f543dcb308d1f20b3270 Mon Sep 17 00:00:00 2001 From: Jonathan Bourdon Date: Thu, 31 Jul 2025 14:11:53 -0400 Subject: [PATCH] bug(tipping): the computed application fee was wrong --- .../Payments/Stripe/Services/StripeTipProcessor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/Infrastructure/Payments/Stripe/Services/StripeTipProcessor.cs b/backend/Infrastructure/Payments/Stripe/Services/StripeTipProcessor.cs index 761748b..389d8f8 100644 --- a/backend/Infrastructure/Payments/Stripe/Services/StripeTipProcessor.cs +++ b/backend/Infrastructure/Payments/Stripe/Services/StripeTipProcessor.cs @@ -58,7 +58,7 @@ public class StripeTipProcessor( PaymentIntentData = new SessionPaymentIntentDataOptions { ApplicationFeeAmount = - Convert.ToInt64(amount * 100 * stripeOptions.Value.HutopyRate), // Platform fee + Convert.ToInt64(amount * stripeOptions.Value.HutopyRate), // Platform fee TransferData = new SessionPaymentIntentDataTransferDataOptions { Destination = creator.StripeAccountId // Creator's Stripe account ID