omnipay get payment details to update table code example
Example: omnipay testmode
$settings = $gateway->getDefaultParameters();
// default settings array format:
array(
'username' => '', // string variable
'testMode' => false, // boolean variable
'landingPage' => array('billing', 'login'), // enum variable, first item should be treated as default
);