File tree 2 files changed +41
-0
lines changed
2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <page
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : noNamespaceSchemaLocation =" urn:magento:framework:View/Layout/etc/page_configuration.xsd"
5
+ >
6
+ <body >
7
+ <referenceContainer name =" content" >
8
+ <block name =" buckaroo.success.hyva"
9
+ template =" Buckaroo_HyvaCheckout::checkout/success.phtml"
10
+ after =" -"
11
+ />
12
+ </referenceContainer >
13
+ </body >
14
+ </page >
Original file line number Diff line number Diff line change
1
+ <?php
2
+ /**
3
+ * NOTICE OF LICENSE
4
+ *
5
+ * This source file is subject to the MIT License
6
+ * It is available through the world-wide-web at this URL:
7
+ * https://tldrlegal.com/license/mit-license
8
+ * If you are unable to obtain it through the world-wide-web, please send an email
9
+ * to support@buckaroo.nl so we can send you a copy immediately.
10
+ *
11
+ * DISCLAIMER
12
+ *
13
+ * Do not edit or add to this file if you wish to upgrade this module to newer
14
+ * versions in the future. If you wish to customize this module for your
15
+ * needs please contact support@buckaroo.nl for more information.
16
+ *
17
+ * @copyright Copyright (c) Buckaroo B.V.
18
+ * @license https://tldrlegal.com/license/mit-license
19
+ */
20
+ ?>
21
+
22
+ <script>
23
+ window.addEventListener('load', function() {
24
+ window.dispatchEvent(new CustomEvent('reload-customer-section-data'));
25
+ console.log('Reload shopping cart on success via Hyvä method');
26
+ });
27
+ </script>
You can’t perform that action at this time.
0 commit comments