Skip to content

Commit

Permalink
Merge pull request #55 from wirecard/magicalInvoiceCheck
Browse files Browse the repository at this point in the history
Magical invoice check
  • Loading branch information
jpy authored Sep 14, 2017
2 parents 6efe2f2 + 40d4845 commit d8970d9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Frontend/WirecardCheckoutPage/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function getCapabilities()
*/
public function getVersion()
{
return '1.5.5';
return '1.5.6';
}

/**
Expand Down Expand Up @@ -1019,7 +1019,6 @@ public function onPostDispatch(Enlight_Event_EventArgs $args)
private function isActivePayment($paymentName)
{
switch ($paymentName) {
case 'invoice':
case 'wcp_invoice':
$currencies = Shopware()->WirecardCheckoutPage()->getConfig()->INVOICE_CURRENCY;
if (isset($currencies)) {
Expand All @@ -1036,7 +1035,6 @@ private function isActivePayment($paymentName)
}

return true;
case 'installment':
case 'wcp_installment':
$currencies = Shopware()->WirecardCheckoutPage()->getConfig()->INSTALLMENT_CURRENCY;
if (isset($currencies)) {
Expand Down

0 comments on commit d8970d9

Please sign in to comment.