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:
parent
287835e3c2
commit
bdcfc87380
3 changed files with 39 additions and 28 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue