Skip to content

Commit

Permalink
Merge pull request #13 from Bixie/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Matthijs Alles committed Apr 22, 2016
2 parents b8c67c0 + 224c764 commit 9bcbde7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ideal/ideal.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,12 @@ public function message($data = array()) {
return $html;
}

public function render($data = array()) {
public function zoocartRender($data = array()) {
$app = App::getInstance('zoo');
$data['order']->state = $app->zoocart->getConfig()->get('payment_pending_orderstate', 4);
$app->zoocart->table->orders->save($data['order']);

return parent::render($data);
return parent::zoocartRender($data);
}

/**
Expand All @@ -154,7 +154,7 @@ public function render($data = array()) {
* redirect: false (default) or internal url
* )
*/
public function callback($data = array()) {
public function zoocartCallback(&$data = array()) {
$data = $this->app->data->create($data);
//get the gatewaysettings
$idealType = $this->params->get('type', 'ideal-simulator');
Expand Down

0 comments on commit 9bcbde7

Please sign in to comment.