Skip to content

Commit

Permalink
Fixed issue with paypal plus methods
Browse files Browse the repository at this point in the history
  • Loading branch information
harism2 committed Dec 1, 2022
1 parent bbd88b8 commit cfceacd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
File renamed without changes.
3 changes: 0 additions & 3 deletions frontend/js/plugin-1-0-10.js → frontend/js/plugin-1-0-11.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@ class MonduCheckoutPlugin {
if (typeof ppp !== 'undefined') {
if (ppp.getPaymentMethod() != null) {
$('.active-mondu-method').removeClass('active-mondu-method');

$('[name="Zahlungsart"]').filter(':checked').prop('checked', false);
$('[name="Zahlungsart"]').filter(':checked').trigger('change');
}
}
}
Expand Down
9 changes: 9 additions & 0 deletions frontend/template/checkout/step5_confirmation.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
extends file="{$parent_template_path}/checkout/step5_confirmation.tpl"}

{block name='checkout-step5-confirmation-payment-method'}
<p><strong class="title">{lang key='paymentOptions'}</strong></p>
<p>{$smarty.session.Zahlungsart->angezeigterName|trans}</p>
{if isset($smarty.session.Zahlungsart->cHinweisText) && !empty($smarty.session.Zahlungsart->cHinweisText)}{* this should be localized *}
<p class="small text-muted-util">{$smarty.session.Zahlungsart->cHinweisText|replace:"[url=": "<a target=\"_blank\" href=\""|replace:"[/url]":"</a>"|replace:"]":"\" >"}</p>
{/if}
{/block}
6 changes: 3 additions & 3 deletions info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<PluginID>MonduPayment</PluginID>
<XMLVersion>100</XMLVersion>
<ShopVersion>5.0.0</ShopVersion>
<Version>1.0.10</Version>
<Version>1.0.11</Version>
<CreateDate>2022-06-07</CreateDate>
<Install>
<Hooks>
Expand Down Expand Up @@ -476,7 +476,7 @@
<position>body</position>
</file>
<file>
<name>plugin-1-0-10.js</name>
<name>plugin-1-0-11.js</name>
<priority>1</priority>
<position>body</position>
</file>
Expand All @@ -489,7 +489,7 @@

<CSS>
<file>
<name>style-1-0-10.css</name>
<name>style-1-0-11.css</name>
<priority>4</priority>
</file>
</CSS>
Expand Down

0 comments on commit cfceacd

Please sign in to comment.