mirror of
https://github.com/bitwarden/server
synced 2025-12-25 12:43:14 +00:00
Fix PayPal to Stripe credit truncation bug (#5561)
This commit is contained in:
@@ -32,7 +32,7 @@ public class PremiumUserBillingService(
|
||||
var customer = await subscriberService.GetCustomer(user);
|
||||
|
||||
// Negative credit represents a balance and all Stripe denomination is in cents.
|
||||
var credit = (long)amount * -100;
|
||||
var credit = (long)(amount * -100);
|
||||
|
||||
if (customer == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user