use C4::Members;
use Koha::Database;
my $cgi = new CGI;
my $cgi = new CGI qw( -utf8 );
unless ( C4::Context->preference('EnablePayPalOpacPayments') ) {
print $cgi->redirect("/cgi-bin/koha/errors/404.pl");
-