November Happy Hour will be moved to Thursday December 5th.

Class ProcessPaymentActivity

This activity handles processing different types of payments. It will call the appropriate payment handler configured in the database and raise exceptions if something goes wrong. It also deals with removing sensitive data for credit card types of payments depending on the configuration settings.

Inheritance
System.Object
ProcessPaymentActivity
Namespace: Mediachase.Commerce.Workflow.Activities.Cart
Assembly: Mediachase.Commerce.Workflow.dll
Version: 12.17.2
Syntax
public class ProcessPaymentActivity : CartActivityBase

Constructors

ProcessPaymentActivity()

Declaration
public ProcessPaymentActivity()

Properties

Payment

Gets or sets the payment.

Declaration
[ActivityFlowContextProperty]
public IPayment Payment { get; set; }
Property Value
Type Description
IPayment

The payment.

Shipment

Gets or sets the shipment.

Declaration
[ActivityFlowContextProperty]
public Shipment Shipment { get; set; }
Property Value
Type Description
Shipment

The shipment.

Methods

Execute(ActivityExecutionContext)

Executes the specified execution context.

Declaration
protected override ActivityExecutionStatus Execute(ActivityExecutionContext executionContext)
Parameters
Type Name Description
ActivityExecutionContext executionContext

The execution context.

Returns
Type Description
ActivityExecutionStatus
Overrides

ValidateOrderProperties(ValidationErrorCollection)

Validates the order properties.

Declaration
protected override void ValidateOrderProperties(ValidationErrorCollection validationErrors)
Parameters
Type Name Description
ValidationErrorCollection validationErrors

The validation errors.

Overrides