public function getPaymentNotesFromArray(array $payment) { $variables = array(); foreach ($payment['variables'] as $arr) { $variables[$arr['name']] = \Jazzee\Entity\PaymentVariable::decodeValue($arr['value']); } $arr = array('Transaction ID' => $variables['transactionId'], 'Authorization Code' => $variables['authorizationCode']); return $arr; }
public function getPaymentNotesFromArray(array $payment) { $variables = array(); foreach ($payment['variables'] as $arr) { $variables[$arr['name']] = \Jazzee\Entity\PaymentVariable::decodeValue($arr['value']); } $arr = array('Transaction Number' => $variables['tx'], 'UCLA Reference Number' => $variables['UCLA_REF_NO'], 'Customer Code' => $variables['custcode'], 'Payment Code' => $variables['pmtcode'], 'Item Code' => $variables['itemcode']); return $arr; }
public function getPaymentNotesFromArray(array $payment) { $variables = array(); foreach ($payment['variables'] as $arr) { $variables[$arr['name']] = \Jazzee\Entity\PaymentVariable::decodeValue($arr['value']); } $arr = array(); $arr['Check Number'] = $variables['checkNumber']; if (array_key_exists('checkSettlementDate', $variables)) { $arr['Settlement Date'] = $variables['checkSettlementDate']; } return $arr; }