fix: content handler and redirects
This commit is contained in:
parent
c776703568
commit
fb434a8b3a
26 changed files with 74 additions and 542 deletions
|
|
@ -604,8 +604,8 @@ The current WebGUI session object.
|
|||
sub www_purchaseSubscription {
|
||||
my $session = shift;
|
||||
WebGUI::Commerce::ShoppingCart->new($session)->add($session->form->process("sid"), 'Subscription');
|
||||
|
||||
return $session->http->setRedirect($session->url->page('op=checkout'));
|
||||
$session->http->setRedirect($session->url->page('op=checkout'));
|
||||
return undef;
|
||||
}
|
||||
|
||||
=head2 www_redeemSubscriptionCode ( $session )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue