Warning: This method has been deprecated. Deprecated in favor of LLMS_Controller_Checkout::create_pending_order() instead.


Handle form submission of the checkout / payment form.

Description Description

  1. Logs in or Registers a user

    1. Validates all fields
    2. Handles coupon pricing adjustments
    3. 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.

Top ↑

Return Return


Top ↑

Source Source

File: includes/controllers/class.llms.controller.orders.php


	 * Handle form submission of the checkout / payment form.

Top ↑

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.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.