1
0
mirror of https://github.com/bitwarden/server synced 2026-01-05 18:13:31 +00:00

[PM-28128] Create transaction for bank transfer charges (#6691)

* Create transaction for charges that were the result of a bank transfer

* Claude feedback

* Run dotnet format
This commit is contained in:
Alex Morask
2025-12-16 10:12:56 -06:00
committed by GitHub
parent 794240f108
commit 04efe402be
6 changed files with 87 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ public class ChargeSucceededHandler : IChargeSucceededHandler
return;
}
var transaction = _stripeEventUtilityService.FromChargeToTransaction(charge, organizationId, userId, providerId);
var transaction = await _stripeEventUtilityService.FromChargeToTransactionAsync(charge, organizationId, userId, providerId);
if (!transaction.PaymentMethodType.HasValue)
{
_logger.LogWarning("Charge success from unsupported source/method. {ChargeId}", charge.Id);