LLMS_Payment_Gateway::handle_pending_order( LLMS_Order $order, LLMS_Access_Plan $plan, LLMS_Student $person, LLMS_Coupon|false $coupon = false )
Handle a Pending Order
Description Description
Called by LLMS_Controller_Orders->create_pending_order() on checkout form submission.
All data will be validated before it’s passed to this function.
Parameters Parameters
- $order
-
(LLMS_Order) (Required) The order being processed.
- $plan
-
(LLMS_Access_Plan) (Required) Access plan the order is built from.
- $person
-
(LLMS_Student) (Required) The purchasing customer.
- $coupon
-
(LLMS_Coupon|false) (Optional) Coupon used during order processing or
false
if none supplied.Default value: false
Return Return
(void)
Source Source
File: includes/abstracts/abstract.llms.payment.gateway.php
abstract public function handle_pending_order( $order, $plan, $person, $coupon = false );
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |