LLMS_Payment_Gateway_Manual::handle_recurring_transaction( obj $order )

Called by scheduled actions to charge an order for a scheduled recurring transaction This function must be defined by gateways which support recurring transactions


Parameters Parameters

$order

(obj) (Required) Instance LLMS_Order for the order being processed


Top ↑

Return Return

(mixed)


Top ↑

Source Source

File: includes/class.llms.gateway.manual.php

233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
public function handle_recurring_transaction( $order ) {
 
    // Switch to order on hold if it's a paid order.
    if ( $order->get_price( 'total', array(), 'float' ) > 0 ) {
 
        // Update status.
        $order->set_status( 'on-hold' );
 
        /**
         * @hooked LLMS_Notification: manual_payment_due - 10
         */
        do_action( 'llms_manual_payment_due', $order, $this );
 
    }
 
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.10.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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