Create an offsite payment processor provider

In addition to the direct payment processors available in the E-commerce module, the following offsite payment processors are available out of the box:

  • PayPal Payments Standard
  • WorldPay

If you want to use another payment processor, you have to create a custom payment provider. To do so, you have to perform the following:

  1. Implement the IPaymentSettings interface and specify the properties required by the payment processor.
    To do this, perform procedure For developers: Create the payment settings.
  2. Implement the IOffsitePaymentProcessorProvider interface.
    Its methods will wrap the logic that contacts the payment processor API. This interface extends the old direct payments processor provider IPaymentProcessorProvider with two additional methods.
    To do this, perform procedure For developers: Create an offsite payment provider class.

    For more information how to implement IPaymentProcessorProvider, see For developers: Create the payment processor provider

  3. Create a custom control that derives for the FieldControl class.
    This control will allow you to specify the settings for the payment processor while creating a payment method in the Sitefinity CMS back-end.
    To do this, perform procedure For developers: Create the settings control.
  4. Add the payment processor provider to the Ecommerce module.
    To do this, perform procedure For developers: Install the payment processor provider.

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?