debug
This commit is contained in:
parent
5bdaa49f95
commit
ee4bcaf415
1 changed files with 3 additions and 1 deletions
|
|
@ -292,6 +292,8 @@ sub www_checkoutConfirm {
|
|||
$var{total} = sprintf('%.2f', $total + $shipping->calc);
|
||||
|
||||
$plugin = WebGUI::Commerce::Payment->load($session, $session->scratch->get('paymentGateway'));
|
||||
use Data::Dumper;
|
||||
$session->errorHandler->warn(Dumper($plugin->session));
|
||||
|
||||
$f = WebGUI::HTMLForm->new($session);
|
||||
$f->hidden(
|
||||
|
|
@ -363,7 +365,7 @@ sub www_checkoutSubmit {
|
|||
|
||||
# check submitted form params
|
||||
$formError = $plugin->validateFormData;
|
||||
return www_checkoutConfirm($formError) if ($formError);
|
||||
return www_checkoutConfirm($session,$formError) if ($formError);
|
||||
|
||||
# Combine all non recurring item in one transaction and combine with all recurring ones
|
||||
map {push(@transactions, {recurring => 1, items => [$_]})} @$recurring;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue