Skip to content

Commit

Permalink
UNZER-516 [Oxid 7] Remove auth/charge switch for ApplePay
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniil Tkachev committed Nov 14, 2024
1 parent 0229369 commit d6e2ba6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,11 @@
'constraints' => '0|1'
],
[
'group' => 'unzerapplepay',
'name' => 'UnzerOption_oscunzer_applepay',
'type' => 'select',
'value' => '0',
'constraints' => '0|1'
'group' => 'unzerapplepay',
'name' => 'UnzerOption_oscunzer_applepay',
'type' => 'select',
'value' => '0',
'constraints' => '0'
],
[
'group' => 'unzerapplepay',
Expand Down
2 changes: 1 addition & 1 deletion views/smarty/admin/blocks/admin_module_config_var.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</dl>
[{elseif $var_group eq "unzerapplepay"}]
[{if $module_var eq "UnzerOption_oscunzer_applepay"}]
[{$smarty.block.parent}]
&nbsp;
[{elseif $module_var eq "applepay_merchant_capabilities" or $module_var eq "applepay_networks"}]
<dl>
<dd>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</dl>
{% elseif var_group == "unzerapplepay" %}
{% if module_var == "UnzerOption_oscunzer_applepay" %}
{{ parent() }}
&nbsp;
{% elseif module_var == "applepay_merchant_capabilities" or module_var == "applepay_networks" %}
<dl>
<dd>
Expand Down
2 changes: 1 addition & 1 deletion views/twig/frontend/tpl/order/unzer_applepay.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
formData.append('merchantValidationUrl', event.validationURL);
formData.append('stoken', '{{ oViewConf.getSessionChallengeToken() }}');
fetch(decodedUrl, {
fetch(shopSelfUrl, {
method: 'POST',
mode: 'no-cors',
headers: headers,
Expand Down

0 comments on commit d6e2ba6

Please sign in to comment.