Skip to content

Commit

Permalink
cart checkout params updated #179
Browse files Browse the repository at this point in the history
  • Loading branch information
shamsbd71 committed Aug 14, 2015
1 parent 2f62567 commit eda41cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/com_digicom/models/cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ function updateOrder($order_id,$result,$data,$pg_plugin,$status,$items,$customer
}

if($type == 'complete_order'){
DigiComSiteHelperLicense::updateLicenses($order_id, $orderTable->number_of_products, $items, $customer , $type);
DigiComSiteHelperLicense::updateLicenses($order_id, $orderTable->number_of_products, $items, $orderTable->userid , $type);
}

$comment = array();
Expand Down
2 changes: 1 addition & 1 deletion components/com_digicom/views/checkout/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function display($tpl = null)
//prepare the url
///processPayment
$url = JRoute::_(JURI::root()."index.php?option=com_digicom&task=cart.processPayment&processor={$pg_plugin}&order_id=".$params['order_id']."&sid=".$customer->_sid, true, false);
$vars->url = JRoute::_("index.php?option=com_digicom&view=cart");
$vars->url = JRoute::_(JURI::root()."index.php?option=com_digicom&view=cart");
//echo $url;die;
$vars->return = $vars->notify_url = $url;
$vars->currency_code = $configs->get('currency','USD');
Expand Down

0 comments on commit eda41cf

Please sign in to comment.