diff --git a/src/Billing/Controllers/PayPalController.cs b/src/Billing/Controllers/PayPalController.cs index 0403d0273..2acf1f270 100644 --- a/src/Billing/Controllers/PayPalController.cs +++ b/src/Billing/Controllers/PayPalController.cs @@ -70,7 +70,7 @@ namespace Bit.Billing.Controllers CreationDate = sale.CreateTime, OrganizationId = ids.Item1, UserId = ids.Item2, - Type = sale.GetCreditFromCustom() ? TransactionType.Credit : TransactionType.Charge, + Type = TransactionType.Charge, Gateway = GatewayType.PayPal, GatewayId = sale.Id, PaymentMethodType = PaymentMethodType.PayPal, diff --git a/src/Billing/Utilities/PayPalClient.cs b/src/Billing/Utilities/PayPalClient.cs index df40df936..0e203df57 100644 --- a/src/Billing/Utilities/PayPalClient.cs +++ b/src/Billing/Utilities/PayPalClient.cs @@ -218,11 +218,6 @@ namespace Bit.Billing.Utilities return new Tuple(orgId, userId); } - - public bool GetCreditFromCustom() - { - return Custom.Contains("credit:true"); - } } public class AmountInfo