Warning: This method has been deprecated. Deprecated in favor of LLMS_Controller_Checkout::create_pending_order() instead.
LLMS_Controller_Orders::create_pending_order()
Handle form submission of the checkout / payment form.
Description Description
-
Logs in or Registers a user
- Validates all fields
- Handles coupon pricing adjustments
-
Creates a PENDING llms_order
If errors, returns error on screen to user If success, passes to the selected gateways "process_payment" method the process_payment method should complete by returning an error or triggering the "lifterlms_process_payment_redirect" // Todo check this last statement.
Return Return
(void)
Source Source
File: includes/controllers/class.llms.controller.orders.php
} /** * Handle form submission of the checkout / payment form.
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
7.0.0 | Deprecated in favor of LLMS_Controller_Checkout::create_pending_order(). |
5.9.0 | Stop using deprecated FILTER_SANITIZE_STRING . |
5.0.1 | Delegate sanitization of user information fields of the $_POST to LLMS_Form_Handler::submit(). |
5.0.0 | Build customer data using LLMS_Forms fields information. |
3.35.0 | Sanitize $_POST data. |
3.27.0 | Unknown. |
3.0.0 | Introduced. |