LLMS_Payment_Gateway::handle_pending_order( obj $order, obj $plan, obj $person, obj|false $coupon = false )
Handle a Pending Order Called by LLMS_Controller_Orders->create_pending_order() on checkout form submission All data will be validated before it’s passed to this function
Description Description
Parameters Parameters
- $order
-
(obj) (Required) Instance LLMS_Order for the order being processed
- $plan
-
(obj) (Required) Instance LLMS_Access_Plan for the order being processed
- $person
-
(obj) (Required) Instance of LLMS_Student for the purchasing customer
- $coupon
-
(obj|false) (Optional) Instance of LLMS_Coupon applied to the order being processed, or false when none is being used
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. |