From f5376c3c0efee31a87e4d35a4627d3bc216c4a95 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Tue, 13 Mar 2007 01:58:51 +0000 Subject: Fixing 8.0 compatibility bug in session management git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@887 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/CreditCard.pm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'LedgerSMB/CreditCard.pm') diff --git a/LedgerSMB/CreditCard.pm b/LedgerSMB/CreditCard.pm index d924ce53..8e2a4e1a 100644 --- a/LedgerSMB/CreditCard.pm +++ b/LedgerSMB/CreditCard.pm @@ -15,12 +15,13 @@ # POS Credit card processing-- could be extended for ecommerce package CreditCard; -use LedgerSMB::CreditCard::Config; -BEGIN { - $gateway_module = ${Config::gateway_module}; - require "LedgerSMB/CreditCard/$gateway_module.pm"; - import $gateway_module qw(sale credit); -} +use LedgerSMB; +use LedgerSMB::DBObject; + +our @ISA qw(LedgerSMB::DBObject); +# use LedgerSMB::CreditCard::Config; # moving elsewhere + +## TODO: Add code for credit card number validation and the like 1; -- cgit v1.2.3