We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 24c3d333 authored by Maikel Koek's avatar Maikel Koek

[VM-297] +: Also show frontend payment link when nothing is invoiced yet

parent acbd2670
...@@ -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