Thanks for the help, I was beginning to think I would never find any help! :) I'm assuming you put this GlobalSub stuff in interchange.cfg? It's just you said put the 'module' in the 'directory' interchange/globalsub... But I don't have any directories called 'globalsub' in my (default) install (using 4.8.7). Because there is more than one way of doing the same thing, which is the 'better' way of doing it? GlobalSub vs. Custom payment vs. Usertag? Once again, thanks for the help you have pointed me in the right direction. I've got it doing PGP Encrypted mail orders for now, until I get this payment order sorted out. Thanks, Ryan. -----Original Message----- From: webmaster [mailto:suppressed Sent: Monday, 28 April 2003 12:00 AM To: suppressed; Ryan Hunt Subject: Re: [ic] Custom Payment Gateway (Australia - Dialect) On Sun, 27 Apr 2003 19:13:34 +1000, Ryan Hunt wrote: >Dear list, >The problem I'm having is, I don't know if I have 'require'd/'use'd the >correct modules, and in the correct places. When I try to include >Vend::Payments::Dialect, I get this error message: There are three ways to add code to Interchange: usertag, globalsub. and custom payment. You probably should use one of these, although the custom payment would be the most natural. Your ".pm" module would need to be rewritten into the globalsub format - read the documents and they explain it. Here is what I used to identify my custom payment module to Interchange: Variable MV_PAYMENT_MODE custom planetpayment The module "planetpayment" was saved in the directory interchange/globalsub (add the path prefix as appropriate). I hope this points you in the correct direction. Mike > ><paste> >Required Perl module Vend::Payment::Dialect not present. Aborting >catalog. >In line 0 of the configuration file 'interchange.cfg': >Require module Vend::Payment::Dialect > >Required Perl module Vend::Payment::Dialect not present. Aborting >catalog. >In line 0 of the configuration file 'interchange.cfg': >Require module Vend::Payment::Dialect > > >Required Perl module Vend::Payment::Dialect not present. Aborting >catalog. >In line 0 of the configuration file 'interchange.cfg': >Require module Vend::Payment::Dialect ></paste> > >In my QSI.pm code, I have this at the top of my code - but I'm not sure >if it works... > > use Switch; > use Socket; > use IO::Handle; > >Throughout the code (in separate perl functions) I use Switch, Socket, >IO::Socket, and IO::Handle. > >Does anyone know why it wouldn't be loading? QSI.pm should need these >modules, but since Dialect.pm simply calls functions in QSI, does it >need them? The code in QSI.pm works, I've tested in a separate .pl >script but I don't know enough about how .pm files work, or where or >what I should be including/using/requiring where. > >Here are links to the files in question: > >http://ryanhunt.net/interchange/pg/QSI.pm >http://ryanhunt.net/interchange/pg/Dialect.pm > >I would like to be able to get these working, so I can send these >modules back into the Open Source community. > >I'd appreciate any help I can get, my client is expecting this site up >ASAP. :\ > >Thanks in advance, > Ryan. > > > >_______________________________________________ >interchange-users mailing list >suppressed >http://www.icdevgroup.org/mailman/listinfo/interchange-users > > _______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.