return: an array of gateways (table) or nil in a case of an error.
Edit
require "core"
local gateways = core.get_gateways()
if gateways then
for _, gate in ipairs( gateways ) do
print( "gateway name:" .. gate.name )
end
end
How can we help?
A premium WordPress theme with integrated Knowledge Base,
providing 24/7 community based support.