Skip to content

Commit

Permalink
Merge pull request #102 from paynl/feature/release167
Browse files Browse the repository at this point in the history
Updates for new release
  • Loading branch information
woutse authored Nov 10, 2020
2 parents 9a622d5 + f8b83ae commit 850f61a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions Model/Paymentmethod/PaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,14 @@ public function getDOB()
return [];
}

public function getDisallowedShippingMethods(){
return $this->_scopeConfig->getValue('payment/'.$this->_code.'/disallowedshipping', 'store');
public function getDisallowedShippingMethods()
{
return $this->_scopeConfig->getValue('payment/' . $this->_code . '/disallowedshipping', 'store');
}

public function getCompany(){
return $this->_scopeConfig->getValue('payment/'.$this->_code.'/showforcompany', 'store');
public function getCompany()
{
return $this->_scopeConfig->getValue('payment/' . $this->_code . '/showforcompany', 'store');
}

public function initialize($paymentAction, $stateObject)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "paynl/magento2-plugin",
"description": "PAY. Magento2 Payment methods",
"type": "magento2-module",
"version": "1.6.6",
"version": "1.6.7",
"require": {
"magento/module-sales": "100 - 103",
"magento/module-payment": "100 - 103",
Expand Down

0 comments on commit 850f61a

Please sign in to comment.