
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Payment Processor integration
hi all,
i'm trying to integrate ic with a separate online payment processor.
we've got some perl modules and a demo perl script. since these are thrid
party modules we have put those modules in a separate directory as
/opt/paygateway/perl. We tried to create a global subroutine in
interchange.cfg as follows :
GlobalSub <<EOR
sub test {
use lib '/opt/paygateway/perl';
use SecureHttp;
use TransactionResponse;
use constants;
use AdditionalField;
use TransactionRequest;
use TransactionClient;
use CreditCardResponse;
use CountryCodes;
use CreditCardRequest;
my $tranclient = new TransactionClient;
my $ccreq = new CreditCardRequest;
return 1;
}
EOR
catalog/testsub.html Safe: Can't locate object method "new" via package
"TransactionClient" at (eval 6) line 13.
>
>
> test();
>
>
If it is not integrated with IC, the same code works fine.
Please help us to solve this problem.
joy.
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users