Try our conversational search powered by Generative AI!

Interface IPaymentPlugin

Interface to process payment.

Namespace: EPiServer.Commerce.Order
Assembly: EPiServer.Business.Commerce.dll
Version: 12.17.2
Syntax
public interface IPaymentPlugin

Properties

Settings

Returns the configuration data associated with a plugin. Sets the configuration plugin data. This data typically includes information like plugin URL, account info and so on.

Declaration
IDictionary<string, string> Settings { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

Methods

ProcessPayment(IOrderGroup, IPayment)

Processes the payment. Can be used for both positive and negative transactions.

Declaration
PaymentProcessingResult ProcessPayment(IOrderGroup orderGroup, IPayment payment)
Parameters
Type Name Description
IOrderGroup orderGroup

The order group.

IPayment payment

The payment.

Returns
Type Description
PaymentProcessingResult

The payment processing result.