Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LLMS_Controller_Orders::validate_selected_gateway( string $gateway_id, LLMS_Access_Plan $plan )

Validate a gateway can be used to process the current action / transaction


Description Description


Parameters Parameters

$gateway_id

(Required) Gateway's id.

$plan

(Required) Instance of the LLMS_Access_Plan related to the action/transaction.


Top ↑

Return Return

(WP_Error|LLMS_Payment_Gateway) WP_Error or LLMS_Payment_Gateway subclass.


Top ↑

Source Source

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


			

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.