added more tie-ins for itransact commerce

This commit is contained in:
JT Smith 2004-12-31 04:29:39 +00:00
parent b56a13fdfc
commit c765c1ebfb
5 changed files with 21 additions and 15 deletions

View file

@ -36,16 +36,6 @@ save you many hours of grief.
you'll need to update them after the upgrade. Most of WebGUI's
database tables will be changed during the upgrade process.
* If you want to use the e-commerce system, you'll have to enable the
PayFlowPro plugin in the config file. To do this correctly
you'll also have to download the Payflow Pro SDK from Verisign.
Be sure to export the cert path into the PFPRO_CERT_PATH
environment variable, and to start your server the hard way
(apachectl stop; apachectl start, restart won't do). Also be sure
that this variable is set in the environment in which cron
operates, or else the scheduler plugin ProcessRecurringPayments
will fail with a cert error.
* If you have any custom page templates, they'll need to be updated
to work with the new Layout system. The templates have been
changed significantly enough that automatic migration of them is
@ -72,11 +62,8 @@ save you many hours of grief.
PerlAccessHandler WebGUI::UploadsAccessHandler
</Location>
* In order to use the CDG Commerce iTransact payment plugin you'll have to
make sure that the following modules are installed:
- XML::Simple
- LWP::UserAgent
- HTTP::Cookies
* You need to install the XML::Simple perl module which is ued in the
new commerce system and will eventually be used in other systems.
6.2.8

View file

@ -25,6 +25,7 @@ QnD INSTALL INSTRUCTIONS:
SOAP::Lite
Cache::Cache
Time::HiRes
XML::Simple
Image::Magick (optional)

View file

@ -466,6 +466,8 @@ print "\tDeleting files which are no longer used.\n" unless ($quiet);
#unlink("../../lib/WebGUI/Wobject/DataForm.pm");
#unlink("../../lib/WebGUI/Wobject/USS.pm");
#unlink("../../lib/WebGUI/Wobject/FileManager.pm");
#unlink("../../lib/WebGUI/Operation/Clipboard.pm");
#unlink("../../lib/WebGUI/Operation/Trash.pm");
#unlink("../../lib/WebGUI/Operation/Collateral.pm");
#unlink("../../lib/WebGUI/Collateral.pm");
#unlink("../../lib/WebGUI/CollateralFolder.pm");
@ -494,6 +496,7 @@ $macros->{"AssetProxy"} = "AssetProxy";
$macros->{"RandomAssetProxy"} = "RandomAssetProxy";
$macros->{"FileUrl"} = "FileUrl";
$macros->{"PageUrl"} = "PageUrl";
$conf->set("paymentPlugins"=>"ITransact");
$conf->set("macros"=>$macros);
$conf->set("assets"=>[
'WebGUI::Asset::Wobject::Navigation',

View file

@ -1,10 +1,12 @@
assets = WebGUI::Asset::File::Image, \
WebGUI::Asset::File, \
WebGUI::Asset::Snippet, \
WebGUI::Asset::Redirect, \
WebGUI::Asset::Wobject::Layout, \
WebGUI::Asset::Wobject::USS, \
WebGUI::Asset::Wobject::SyndicatedContent, \
WebGUI::Asset::Wobject::Article, \
WebGUI::Asset::Wobject::Navigation, \
WebGUI::Asset::FilePile
sitename = www.example.com, example.com

View file

@ -213,6 +213,19 @@ if (eval { require SOAP::Lite }) {
}
}
print "XML::Simple module ....................... ";
if (eval { require XML::Simple }) {
print "OK\n";
} else {
if ($< == 0 && $os eq "Linuxish") {
print "Attempting to install...\n";
CPAN::Shell->install("XML::Simple");
} else {
print "Please install.\n";
$prereq = 0;
}
}
print "Time::HiRes module ....................... ";
if (eval { require Time::HiRes }) {
print "OK\n";