Class DefaultCheckoutHandler
- Namespace
- Dynamicweb.Ecommerce.Cart
- Assembly
- Dynamicweb.Ecommerce.dll
The default checkout handler that is used if no checkout handler is selected on a payment.
[AddInActive(false)]
public class DefaultCheckoutHandler : CheckoutHandler, IRecurring, ICheckoutHandlerAction
- Inheritance
-
DefaultCheckoutHandler
- Implements
- Inherited Members
Methods
BeginCheckout(Order, CheckoutParameters)
This method is called when the checkout procedure is started and the order is handled to the checkout handler.
public override OutputResult BeginCheckout(Order order, CheckoutParameters parameters)
Parameters
order
OrderThe order that need to be checked out.
parameters
CheckoutParameters
Returns
- OutputResult
The module output.
Remarks
Return a OutputResult to control the flow of checkout, be that content or redirection.
Recurring(Order, Order)
Recurrings the specified order.
public void Recurring(Order order, Order originalOrder)
Parameters
RecurringSupported(Order)
Shows if order supports recurring payments
public bool RecurringSupported(Order order)
Parameters
order
OrderInstance of order
Returns
- bool
True, if recurring payments are supported