Added messages about new postback url.
This commit is contained in:
parent
518648d0c5
commit
adcd560cba
4 changed files with 42 additions and 17 deletions
|
|
@ -69,6 +69,13 @@ save you many hours of grief.
|
||||||
will be generated. The upgrade script print all the new codes in the case.
|
will be generated. The upgrade script print all the new codes in the case.
|
||||||
The new codes will also be logged in the webgui log file.
|
The new codes will also be logged in the webgui log file.
|
||||||
|
|
||||||
|
* With the new shop system the Payment plugins have been changed too. The default
|
||||||
|
WebGUI Payment Plugins are automatically migrated for you, but custom plugins
|
||||||
|
will have to be adapted to use the new WebGUI::Shop API.
|
||||||
|
|
||||||
|
* If you are using the ITransact payment plugin you'll have to change the postback
|
||||||
|
url. The new value is printed by the upgrade script and can also be found in
|
||||||
|
the edit screen of the ITransact plugin.
|
||||||
|
|
||||||
7.5.9
|
7.5.9
|
||||||
--------------------------------------------------------------------
|
--------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -1436,6 +1436,14 @@ sub migratePaymentPlugins {
|
||||||
$properties
|
$properties
|
||||||
])
|
])
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if ( $namespace eq 'ITransact' && $properties->{ vendorId } ) {
|
||||||
|
print "\n\t\t!!CAUTION!!: The postback url for ITransact has changed. Please log in to your virtual "
|
||||||
|
."terminal and change the postback url to:\n\n\t\t"
|
||||||
|
.'https://'.$session->config->get("sitename")->[0]
|
||||||
|
.'/?shop=pay;method=do;do=processRecurringTransactionPostback;paymentGatewayId='.$plugin->getId."\n\t";
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
print "Done\n" unless $quiet;
|
print "Done\n" unless $quiet;
|
||||||
|
|
|
||||||
|
|
@ -344,23 +344,6 @@ sub getEditForm {
|
||||||
my $definition = $self->definition($self->session);
|
my $definition = $self->definition($self->session);
|
||||||
my $form = WebGUI::HTMLForm->new($self->session);
|
my $form = WebGUI::HTMLForm->new($self->session);
|
||||||
$form->submit;
|
$form->submit;
|
||||||
# $form->hidden(
|
|
||||||
# -name => 'shop',
|
|
||||||
# -value => 'pay',
|
|
||||||
# );
|
|
||||||
# $form->hidden(
|
|
||||||
# -name => 'method',
|
|
||||||
# -value => 'do',
|
|
||||||
# );
|
|
||||||
# $form->hidden(
|
|
||||||
# -name => 'do',
|
|
||||||
# -value => 'editSave',
|
|
||||||
# );
|
|
||||||
#
|
|
||||||
# $form->hidden(
|
|
||||||
# name => 'paymentGatewayId',
|
|
||||||
# value => $self->getId,
|
|
||||||
# );
|
|
||||||
|
|
||||||
$self->getDoFormTags('editSave', $form);
|
$self->getDoFormTags('editSave', $form);
|
||||||
$form->hidden(
|
$form->hidden(
|
||||||
|
|
|
||||||
|
|
@ -439,6 +439,33 @@ sub getButton {
|
||||||
return $payForm;
|
return $payForm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------
|
||||||
|
sub getEditForm {
|
||||||
|
my $self = shift;
|
||||||
|
my $session = $self->session;
|
||||||
|
my $i18n = WebGUI::International->new($session, 'CommercePaymentITransact');
|
||||||
|
|
||||||
|
my $f = $self->SUPER::getEditForm( @_ );
|
||||||
|
$f->readOnly(
|
||||||
|
-value => '<br />'
|
||||||
|
);
|
||||||
|
$f->readOnly(
|
||||||
|
-value => '<a target="_blank" href="https://secure.paymentclearing.com/support/login.html">'.$i18n->get('show terminal').'</a>'
|
||||||
|
) if $self->get('vendorId');
|
||||||
|
$f->readOnly(
|
||||||
|
-value => '<br />'
|
||||||
|
);
|
||||||
|
$f->readOnly(
|
||||||
|
-value =>
|
||||||
|
$i18n->get('extra info')
|
||||||
|
.'<br />'
|
||||||
|
.'<b>https://'.$session->config->get("sitename")->[0]
|
||||||
|
.'/?shop=pay;method=do;do=processRecurringTransactionPostback;paymentGatewayId='.$self->getId.'</b>'
|
||||||
|
);
|
||||||
|
|
||||||
|
return $f;
|
||||||
|
}
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
|
|
||||||
=head2 handlesRecurring
|
=head2 handlesRecurring
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue