Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

PaymentSettings.cs

using Nop.Core.Configuration;

namespace Nop.Core.Domain.Payments;

/// 
/// Payment settings
/// 
public partial class PaymentSettings : ISettings
{
    public PaymentSettings()
    {
        ActivePaymentMethodSystemNames = new List();
    }

    /// 
    /// Gets or sets a system names of active payment methods
    /// 
    public List ActivePaymentMethodSystemNames { get; set; }

    /// 
    /// Gets or sets a value indicating whether customers are allowed to repost (complete) payments for redirection payment methods
    /// 
    public bool AllowRePostingPayments { get; set; }

    /// 
    /// Gets or sets a value indicating whether we should bypass 'select payment method' page if we have only one payment method
    /// 
    public bool BypassPaymentMethodSelectionIfOnlyOne { get; set; }

    /// 
    /// Gets or sets a value indicating whether to show payment method descriptions on "choose payment method" checkout page in the public store
    /// 
    public bool ShowPaymentMethodDescriptions { get; set; }

    /// 
    /// Gets or sets a value indicating whether we should skip 'payment info' page for redirection payment methods
    /// 
    public bool SkipPaymentInfoStepForRedirectionPaymentMethods { get; set; }

    /// 
    /// Gets or sets a value indicating whether to cancel the recurring payment after failed last payment 
    /// 
    public bool CancelRecurringPaymentsAfterFailedPayment { get; set; }

    /// 
    /// Gets or sets a interval (in seconds) to reuse the same order GUID during an order placement for multiple payment attempts (used for security purposes)
    /// Set to 0 to generate a new order GUID for each payment attempt
    /// 
    public int RegenerateOrderGuidInterval { get; set; }
}