\OrderConfirmationPage_Controller

Synopsis

class OrderConfirmationPage_Controller extends CartPage_Controller {
}

Hierarchy

Members

private

  • $allowed_actions

protected

  • $currentOrder$order
    order currently being shown on this page
  • $overrideCanView — boolean
    show the order even if canView returns false
  • $showCreateAccountFormBoolean
  • $workedOutMessagesAndActions$workedOutMessagesAndActions
    to ensure messages and actions links are only worked out once...

Methods

protected

public

  • CancelForm() — Returns the form to cancel the current order, checking to see if they can cancel their order first of all.
  • CheckoutSteps() — Returns a dataobject set of the checkout steps if the OrderConfirmationPage is shown as part of the checkout process We repeat these here so that you can show the user that (s)he has reached the last step
  • IsPaid() — Is the Order paid? This can be useful for choosing what header to show
  • OrderIsCancelled()
  • PaymentForm() — show the payment form
  • PaymentHeader()
  • PaymentIsPending() — Are there any order Payments Pending This can be useful for choosing what header to show
  • PaymentMessage()
  • PercentageDone() — returns the percentage of checkout steps done (0 - 100)
  • copyorder() — copies either the current order into the shopping cart
  • init() — standard controller function
  • retrieveorder() — This is an additional way to look at an order.
  • sendemail() — sends an order email, which can be specified in the URL and displays a sample email typically this link is opened in a new window.
  • sendreceipt()
  • showorder() — This method exists just so that template sets CurrentOrder variable

Inherited from CartPage_Controller

protected

public