Payment processors

The payment processors are used for online payments. This allows you to process the payment through a third party like PayPal for example.

The Ecommerce module supports the following payment processors:

  • Authorize.Net
  • Payflow Pro
  • Sage Pay
  • eWay
  • Paymill

Working with payment processors

The available payment processors are stored in the Payment processors configuration section. When creating a payment method that uses payment processors, you must perform the following:

  1. Get the ID of the payment processor provider.
    You can do this by querying the processor provider.
  2. Create settings for the respective provider.

Payment settings

For each of the payment processors there is a settings object that exposes its properties. All of the payment settings implement the IPaymentSettings interface. The interface has the following members:

  • ProcessorCreditCards
    Gets or sets an array containing the credit cards that are supported by the provider. For more information about the available credit cards, see the Supported credit cards section in this article.
  • PaymentType
    Gets or sets the type of the payment. For more information about the available payment types, see the Payment types section in this articles.

The different payment processor settings are represented by the following classes:

  • AuthorizeNetSettings
    For more information, see Creating Authorize.Net settings.
  • PayFlowProSettings
    For more information, see Creating Payflow Pro settings.
  • SagePaySettings
    For more information, see Creating Sage Pay settings.

NOTE: These classes are located under the following namespace: Telerik.Sitefinity.Modules.Ecommerce.Orders.PaymentSettings.

Payment types

Here is a list of the payment types that the Ecommerce module supports and their programmatic string representations:

  • Authorize – “authorize”
  • Authorize and capture – “authorizeandcapture”
  • Sale – “sale”

Each payment processor supports a different set of these types. Here is a list of the payment processor and their supported payment types.

  • Authorize.Net
    • Sale
    • Authorize
    • Authorize and capture
  • Payflow Pro
    • Sale
    • Authorize
    • Authorize and capture
  • Sage Pay
    • Sale

These types are assigned to the PaymentType property of the IPaymentSettings objects.

Supported credit cards

Here is a list of the credit cards that the Ecommerce module supports and their programmatic string representation:

  • America Express – “americanexpress”
  • Discover – “discover”
  • MasterCard – “mastercard”
  • Visa – “visa”
  • Delta – “delta”
  • Solo – “solo”
  • Maestro – “maestro”
  • Uke – “uke”
  • DinersClub – “dinersclub”
  • JCB – “jcb”
  • Laser – “laser”

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?