Cash Payment plugin is tested and working. Added new features to the payment superclass to restrict who can use payment gateways based on their group memberships. Fixed some lingering Commerce system bugs.

This commit is contained in:
Roy Johnson 2006-04-12 18:25:06 +00:00
parent 287835e3c2
commit bdcfc87380
3 changed files with 39 additions and 28 deletions

View file

@ -102,6 +102,13 @@ sub configurationForm {
-value => $self->enabled,
-label => $i18n->get('enable'),
);
$f->group(
-name => $self->prepend('whoCanUse'),
-value => [1],
-label => 'Who Can Use?',
-hoverHelp => 'Members belonging to this group will see this payment gateway as a choice at the payment gateway selection screen during checkout.'
);
$f->raw($form);
return $f->printRowsOnly;