SilverShop\Forms\OrderActionsForm
Perform actions on placed orders
Synopsis
class OrderActionsForm
extends Form
{
- // members
- private static array $allowed_actions = ;
- private static boolean $email_notification = false;
- private static boolean $allow_paying = true;
- private static boolean $allow_cancelling = true;
- private static boolean $include_jquery = true;
- protected Order $order;
- // methods
- public void __construct()
- public HTTPResponse dopayment()
- public void docancel()
- protected CompositeField|null getCCFields()
Hierarchy
Extends
- SilverStripe\Forms\Form
Members
private
- $allow_cancelling
- $allow_paying
- $allowed_actions
- $email_notification
- $include_jquery
protected
- $order — SilverShop\Model\Order
Methods
protected
- getCCFields() — Get credit card fields for the given gateways
public
- __construct() — OrderActionsForm constructor.
- docancel() — Form action handler for CancelOrderForm.
- dopayment() — Make payment for a place order, where payment had previously failed.