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: 10.8.0Syntax
public class GenericPaymentGateway : AbstractPaymentGateway, IPaymentGateway, IPaymentPlugin
Constructors
GenericPaymentGateway()
Declaration
public GenericPaymentGateway()
Methods
ProcessPayment(IPayment, ref String)
Charges the order, no recurrence pattern is checked.
Declaration
public bool ProcessPayment(IPayment payment, ref string message)
Parameters
Type | Name | Description |
---|---|---|
IPayment | payment | The IPayment. |
System.String | message | The message passed back, most often an error if transaction failed. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Remarks
Implemented by IChargePaymentGateway and ECheckPaymentGateway.
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 |
|
Overrides
Remarks
Implemented by IChargePaymentGateway and ECheckPaymentGateway.