You are here

function _uc_payment_gateway_data in Ubercart 7.3

Returns data from a payment gateway by gateway ID and the array key.

Parameters

$gateway_id: The ID of the payment gateway to query.

$key: The key of the data being requested.

Return value

The requested data.

1 call to _uc_payment_gateway_data()
uc_credit_gateway_txn_types in payment/uc_credit/uc_credit.module
Returns the credit transaction types available for a payment gateway.

File

payment/uc_payment/uc_payment.module, line 675

Code

function _uc_payment_gateway_data($gateway_id, $key) {
  $gateways = _uc_payment_gateway_list();
  return isset($gateways[$gateway_id][$key]) ? $gateways[$gateway_id][$key] : NULL;
}