diff uc_nab_transact/uc_nab_transact.info uc_nab_transact_new/uc_nab_transact.info
1,3c1,2
< ; $Id: uc_nab_transact.info,v 1.2 2010/10/15 17:17:05 jmfederico Exp $
< name = NAB Transact
< description = Integrates the NAB Transact XML API for processing CC payments.
---
> name = "NAB Transact"
> description = "Integrates the NAB Transact XML API for processing CC payments."
7,13c6
< core = 6.x
< ; Information added by drupal.org packaging script on 2010-12-31
< version = "6.x-1.0"
< core = "6.x"
< project = "uc_nab_transact"
< datestamp = "1293783391"
< 
---
> core = 7.x
diff uc_nab_transact/uc_nab_transact.module uc_nab_transact_new/uc_nab_transact.module
13c13
<  * Implements hook_payment_gateway().
---
>  * Implements hook_uc_payment_gateway().
15c15,19
< function uc_nab_transact_payment_gateway() {
---
> function uc_nab_transact_uc_payment_gateway() {
>   if (!module_exists('uc_credit')) {
>     drupal_set_message(t('You must <a href="@modules">enable the Credit Card module</a> to use the NAB payment gateway.', array('@modules' => url('admin/modules', array('fragment' => 'edit-modules-ubercart-payment')))), 'warning');
>     return;
>   }
18,19c22
<   $gateways[] = array(
<     'id' => 'nab_transact',
---
>   $gateways['nab_transact'] = array(
23a27
>     'credit_txn_types' => array(UC_CREDIT_AUTH_ONLY, UC_CREDIT_PRIOR_AUTH_CAPTURE, UC_CREDIT_AUTH_CAPTURE),
