Skip to content

Commit

Permalink
fix Amazon Pay method not appearing in available payment options at f…
Browse files Browse the repository at this point in the history
…inal checkout step (#446)

Tested - works good.
  • Loading branch information
bear-mmartin authored and tarishah committed Apr 8, 2019
1 parent 8be05c8 commit ba4fe0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Payment/Model/Method/AmazonLoginMethod.php
Expand Up @@ -60,7 +60,7 @@ class AmazonLoginMethod extends \Magento\Payment\Model\Method\AbstractMethod
public function isActive($storeId = null)
{
return (bool)(int)$this->_scopeConfig->getValue(
'payment/amazon_pay/active',
AmazonCoreHelper::AMAZON_ACTIVE,
\Magento\Store\Model\ScopeInterface::SCOPE_STORE,
$storeId
) && (bool)(int)$this->getConfigData('active', $storeId);
Expand Down

0 comments on commit ba4fe0f

Please sign in to comment.