Skip to content

Commit

Permalink
Sort order was not working, config key was missing _payment
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Pieters committed Nov 27, 2017
1 parent aa64694 commit 4ecbd03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea/*
2 changes: 1 addition & 1 deletion upload/Pay/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public function getMethod($address = false, $total = false) {
'code' => $this->_paymentMethodName,
'title' => $this->getLabel(),
'terms' => '',
'sort_order' => $this->config->get($this->_paymentMethodName . '_sort_order')
'sort_order' => $this->config->get('payment_'.$this->_paymentMethodName . '_sort_order')
);
return $data;
}
Expand Down

0 comments on commit 4ecbd03

Please sign in to comment.