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.


Top ↑

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


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/abstracts/abstract.llms.payment.gateway.php

	abstract public function handle_pending_order( $order, $plan, $person, $coupon = false );

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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