We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

Commit d1e99d66 authored by Rik ter Beek's avatar Rik ter Beek Committed by GitHub

Merge pull request #296 from ho-nl-fork/payment-link

[VM-297] +: Also show frontend payment link when nothing is invoiced yet
parents 48aee2d6 24c3d333
...@@ -88,7 +88,6 @@ class PaymentLink extends AbstractInfo ...@@ -88,7 +88,6 @@ class PaymentLink extends AbstractInfo
return strpos($this->getPayment()->getMethod(), 'adyen_') === 0 return strpos($this->getPayment()->getMethod(), 'adyen_') === 0
&& $this->_scopeConfig->getValue('payment/adyen_hpp/active') && $this->_scopeConfig->getValue('payment/adyen_hpp/active')
&& $this->_scopeConfig->getValue('payment/adyen_pay_by_mail/active') && $this->_scopeConfig->getValue('payment/adyen_pay_by_mail/active')
&& $this->getOrder()->getTotalInvoiced() > 0
&& $this->getOrder()->getTotalDue() > 0 && $this->getOrder()->getTotalDue() > 0
? parent::_toHtml() ? parent::_toHtml()
: ''; : '';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment