From c765c1ebfb275b815403487c094ddd6e0a05fe82 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Fri, 31 Dec 2004 04:29:39 +0000 Subject: [PATCH] added more tie-ins for itransact commerce --- docs/gotcha.txt | 17 ++--------------- docs/install.txt | 1 + docs/upgrades/upgrade_6.2.9-6.3.0.pl | 3 +++ etc/WebGUI.conf.original | 2 ++ sbin/testEnvironment.pl | 13 +++++++++++++ 5 files changed, 21 insertions(+), 15 deletions(-) diff --git a/docs/gotcha.txt b/docs/gotcha.txt index 1b84073eb..de0a72cb6 100644 --- a/docs/gotcha.txt +++ b/docs/gotcha.txt @@ -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 - * 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 diff --git a/docs/install.txt b/docs/install.txt index 7687808be..a39b43c23 100644 --- a/docs/install.txt +++ b/docs/install.txt @@ -25,6 +25,7 @@ QnD INSTALL INSTRUCTIONS: SOAP::Lite Cache::Cache Time::HiRes + XML::Simple Image::Magick (optional) diff --git a/docs/upgrades/upgrade_6.2.9-6.3.0.pl b/docs/upgrades/upgrade_6.2.9-6.3.0.pl index 314ec7823..5cf4b05f4 100644 --- a/docs/upgrades/upgrade_6.2.9-6.3.0.pl +++ b/docs/upgrades/upgrade_6.2.9-6.3.0.pl @@ -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', diff --git a/etc/WebGUI.conf.original b/etc/WebGUI.conf.original index 1021c5610..ae99c7e64 100644 --- a/etc/WebGUI.conf.original +++ b/etc/WebGUI.conf.original @@ -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 diff --git a/sbin/testEnvironment.pl b/sbin/testEnvironment.pl index be469c492..f00b170f9 100644 --- a/sbin/testEnvironment.pl +++ b/sbin/testEnvironment.pl @@ -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";