This commit is contained in:
@@ -15,6 +15,5 @@ public sealed class PaymentGatewayConfiguration : IEntityTypeConfiguration<Payme
|
||||
builder.Property(f => f.MerchantId).IsRequired();
|
||||
builder.Property(f => f.Enabled);
|
||||
builder.Property(f => f.Name).IsRequired();
|
||||
builder.Property(f => f.Passphrase).IsRequired();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,6 @@ public class PaymentGateway
|
||||
|
||||
public string? MerchantKey { get; set; }
|
||||
|
||||
public string? Passphrase { get; set; }
|
||||
|
||||
public bool IsSandbox { get; set; }
|
||||
|
||||
public bool Enabled { get; set; }
|
||||
|
||||
@@ -174,7 +174,6 @@ public sealed class PaymentService(IDbContextFactory<MidrandBooksDbContext> cont
|
||||
MerchantKey = request.MerchantKey,
|
||||
Name = request.Name,
|
||||
Website = request.Website,
|
||||
Passphrase = "N/A",
|
||||
});
|
||||
|
||||
return await context.SaveChangesAsync(cancellationToken) > 0
|
||||
|
||||
Reference in New Issue
Block a user