Skip to content

Commit

Permalink
Merge pull request #63 from Archipel/master
Browse files Browse the repository at this point in the history
Fixed problem with payment method availability check: the global setting was used instead of the store view setting
  • Loading branch information
Marvin-Magmodules authored Jun 13, 2018
2 parents 4eec4f7 + 3a14edf commit eac5331
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Helper/General.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function __construct(
*/
public function isAvailable($storeId)
{
$active = $this->getStoreConfig(self::XML_PATH_MODULE_ACTIVE);
$active = $this->getStoreConfig(self::XML_PATH_MODULE_ACTIVE, $storeId);
if (!$active) {
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/web/js/view/payment/method-renderer/ideal.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ define(
{
defaults: {
template: 'Mollie_Payment/payment/ideal',
selectedIssuer: null
selectedIssuer: ko.observable()
},
getIssuers: function () {
return checkoutConfig.issuers[this.item.method];
Expand Down

0 comments on commit eac5331

Please sign in to comment.