Class GenericPaymentGateway
Generic Payment Gateway should be used in the place of gateways that do no provide real time credit card charges. For instance pay by phone, pay by fax, invoice or gateways that redirect to the gateway website, like PayPal.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Plugins.Payment
Assembly: Mediachase.Commerce.Plugins.Payment.dll
Version: 13.30.0Syntax
public class GenericPaymentGateway : AbstractPaymentGateway, IPaymentGateway, IPaymentPlugin
Constructors
GenericPaymentGateway()
Declaration
public GenericPaymentGateway()
Methods
ProcessPayment(IOrderGroup, IPayment)
Charges the order, no recurrence pattern is checked.
Declaration
public PaymentProcessingResult ProcessPayment(IOrderGroup orderGroup, IPayment payment)
Parameters
Type | Name | Description |
---|---|---|
IOrderGroup | orderGroup | The order group. |
IPayment | payment | The payment. |
Returns
Type | Description |
---|---|
PaymentProcessingResult |
ProcessPayment(Payment, ref String)
Charges the order, no recurrence pattern is checked.
Declaration
public override bool ProcessPayment(Payment payment, ref string message)
Parameters
Type | Name | Description |
---|---|---|
Payment | payment | The Payment. |
System.String | message | The message passed back, most often an error if transaction failed. |
Returns
Type | Description |
---|---|
System.Boolean |
|