APP_Gateway_Registry::is_gateway_enabled( string $gateway_id, string $service = 'instant' )
Checks if a given gateway is enabled
Package
Description Description
Parameters Parameters
- $gateway_id
(string) (Required) Identifier for registered gateway
- $service
(string) (Optional) supported service to check
Default value: 'instant'
Return Return
(boolean) True if the gateway is enabled, false otherwise