function uc_cybersource_payment_gateway in Ubercart 5
Same name and namespace in other branches
- 6.2 payment/uc_cybersource/uc_cybersource.module \uc_cybersource_payment_gateway()
File
- payment/
uc_cybersource/ uc_cybersource.module, line 73 - A module used for CyberSource's Silent Order POST method of payment.
Code
function uc_cybersource_payment_gateway() {
$gateways[] = array(
'id' => 'cybersource',
'title' => t('CyberSource'),
'description' => t('Process credit card payments using the Silent Order POST service of CyberSource.'),
'settings' => 'uc_cybersource_settings_form',
'credit' => 'uc_cybersource_charge',
'credit_txn_types' => array(
UC_CREDIT_AUTH_ONLY,
UC_CREDIT_PRIOR_AUTH_CAPTURE,
UC_CREDIT_AUTH_CAPTURE,
UC_CREDIT_REFERENCE_TXN,
),
);
return $gateways;
}