Commerce changes:
Credit Card failures now bounce user back to checkout screen with error there Added Check commerce plugin and removed select box from Cash plugin. Users now don't have to chose twice. Added label to each payment plugin. ITransact module now defaults to "Credit Card" for display purposes.
This commit is contained in:
parent
b5be9f79a3
commit
2c1005522b
9 changed files with 364 additions and 44 deletions
|
|
@ -353,6 +353,20 @@ sub errorCode {
|
|||
return undef;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 label ( )
|
||||
|
||||
Returns the label for the commerce plugin.
|
||||
|
||||
=cut
|
||||
|
||||
sub label {
|
||||
my $self = shift;
|
||||
my $i18n = WebGUI::International->new($self->session,'CommercePaymentITransact');
|
||||
return $self->get("label") || $i18n->get("label");
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub name {
|
||||
return 'ITransact';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue