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).

Was this article helpful?