Payment methods

The payment methods are represented by the Telerik.Sitefinity.Ecommerce.Orders.Model.PaymentMethod class. The PaymentMethod class exposes the following specific properties:

  • Title
    Gets or sets the title of the payment method.
  • Description
    Gets or sets the description of the payment method.
  • PaymentMethodType
    Gets or sets the type of the payment method. For more information, see the Types of payment method section of this article.
  • PaymentProcessorId
    Gets or sets the ID of the payment processor provider. This property is only required when creating a payment method of type payment processor. For more information, see the For developers: Payment processors article.
  • PaymentProcessorSettings
    Gets or sets the serialized JSON string of the settings of the payment processor. This property is only required when creating a payment method of type payment processor. For more information, see the For developers: Payment processors article.

Types of payment methods

To specify the type of the payment method you use the PaymentMethodType property of the PaymentMethod class. It is of type Telerik.Sitefinity.Ecommerce.Orders.Model.PaymentMethodType. The enumeration has the following values:
  • PaymentProcessor
    Payment will be processed through a payment processor (e.g PayPal, Authorize.net).
  • Offline
    Payment will be processed offline (e.g. bank wire, cash).

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?