Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Commit

Permalink
Merge branch 'bugfix/HEIDELPAY-121' into 'master'
Browse files Browse the repository at this point in the history
[HEIDELPAY-121] Improve loading of external resources

Closes HEIDELPAY-121

See merge request heidelpay/heidelpayment6!32
  • Loading branch information
Niklas Gödde committed Sep 23, 2019
2 parents d849a3e + bdd5f5e commit 08af218
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
7 changes: 0 additions & 7 deletions src/Resources/views/storefront/base.html.twig

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{% block heidelpay_base_js_library %}
<script type="text/javascript" src="https://static.heidelpay.com/v1/heidelpay.js"></script>
{% endblock %}

{% block heidelpay_base_style_sheet %}
<link rel="stylesheet" href="https://static.heidelpay.com/v1/heidelpay.css" />
{% endblock %}
7 changes: 0 additions & 7 deletions src/Resources/views/storefront/layout/meta.html.twig

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
{% block page_checkout_confirm_product_table %}
{% if context.paymentMethod.customFields.heidelpay_frame %}
{% block heidelpay_checkout_confirm_frame %}
{% sw_include '@Storefront/component/heidelpay/base/heidelpay-library.html.twig' %}

{% block page_checkout_heidelpay_form_elements %}
<input type="hidden" id="heidelpayResourceId" name="heidelpayResourceId" form="confirmOrderForm">
{% endblock %}
Expand Down

0 comments on commit 08af218

Please sign in to comment.