From cdffb087edf288fb707c8fb75cb5d60305f2c2aa Mon Sep 17 00:00:00 2001 From: JT Smith Date: Mon, 24 Mar 2008 18:44:45 +0000 Subject: [PATCH] added handlesRecurring() --- lib/WebGUI/Shop/PayDriver.pm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/WebGUI/Shop/PayDriver.pm b/lib/WebGUI/Shop/PayDriver.pm index 087d1b14b..4b3fc7576 100644 --- a/lib/WebGUI/Shop/PayDriver.pm +++ b/lib/WebGUI/Shop/PayDriver.pm @@ -381,6 +381,18 @@ sub getName { return $definition->[0]->{name}; } +#------------------------------------------------------------------- + +=head2 handlesRecurring () + +Returns 0. Should be overridden to return 1 by any subclasses that can handle recurring payments. + +=cut + +sub handlesRecurring { + return 0; +} + #-------------------------------------------------------------------