Try our conversational search powered by Generative AI!

Interface IPaymentPlugin

Interface to process payment.

Namespace: EPiServer.Commerce.Order
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
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(IPayment, ref String)

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

Declaration
bool ProcessPayment(IPayment payment, ref string message)
Parameters
Type Name Description
IPayment payment

The payment.

System.String message

The message.

Returns
Type Description
System.Boolean

True if payment processed successfully, otherwise False