Skip to content

Commit 18c14e0

Browse files
author
Simon Schurter
committed
Release 1.0.23
1 parent 1f192e6 commit 18c14e0

File tree

9 files changed

+17
-14
lines changed

9 files changed

+17
-14
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ This repository contains the Magento 2.3 extension that enables to process payme
1010

1111
## Documentation
1212

13-
* [Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.22/docs/en/documentation.html)
13+
* [Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.23/docs/en/documentation.html)
1414

1515
## License
1616

17-
Please see the [license file](https://github.com/pfpayments/magento-2.3/blob/1.0.22/LICENSE) for more information.
17+
Please see the [license file](https://github.com/pfpayments/magento-2.3/blob/1.0.23/LICENSE) for more information.

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
],
2020
"type" : "magento2-module",
21-
"version" : "1.0.22",
21+
"version" : "1.0.23",
2222
"require" : {
2323
"php": "~7.1.3||~7.2.0",
2424
"magento/framework" : "^102.0.0",

docs/en/documentation.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h2>Documentation</h2> </div>
2121
</a>
2222
</li>
2323
<li>
24-
<a href="https://github.com/pfpayments/magento-2.3/releases/tag/1.0.22/">
24+
<a href="https://github.com/pfpayments/magento-2.3/releases/tag/1.0.23/">
2525
Source
2626
</a>
2727
</li>

etc/adminhtml/system.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<resource>PostFinanceCheckout_Payment::config</resource>
1919
<group id="information" translate="label comment" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
2020
<label>Information</label>
21-
<comment><![CDATA[If you need help setting up the PostFinance Checkout extension, check out the <a href="https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.22/docs/en/documentation.html" target="_blank">documentation</a>.]]></comment>
21+
<comment><![CDATA[If you need help setting up the PostFinance Checkout extension, check out the <a href="https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.23/docs/en/documentation.html" target="_blank">documentation</a>.]]></comment>
2222
<field id="version" translate="label" type="label" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
2323
<label>Module Version</label>
2424
</field>

etc/config.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<default>
1515
<postfinancecheckout_payment>
1616
<information>
17-
<version>1.0.22</version>
17+
<version>1.0.23</version>
1818
<sdk_version>1.1.9</sdk_version>
1919
</information>
2020
<general>

etc/module.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212
-->
1313
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
14-
<module name="PostFinanceCheckout_Payment" setup_version="1.0.22">
14+
<module name="PostFinanceCheckout_Payment" setup_version="1.0.23">
1515
<sequence>
1616
<module name="Magento_Sales"/>
1717
<module name="Magento_Payment"/>

i18n/de_DE.csv

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"General","Allgemein"
4343
"Hold Delivery","Lieferung halten"
4444
"ID required","ID erforderlich"
45-
"If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.22/docs/en/documentation.html"" target=""_blank"">documentation</a>.","Falls Sie Hilfe benötigen beim Einrichten der PostFinance Checkout-Erweiterung, sehen Sie sich die <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.22/docs/en/documentation.html"" target=""_blank"">Dokumentation</a> an."
45+
"If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.23/docs/en/documentation.html"" target=""_blank"">documentation</a>.","Falls Sie Hilfe benötigen beim Einrichten der PostFinance Checkout-Erweiterung, sehen Sie sich die <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.23/docs/en/documentation.html"" target=""_blank"">Dokumentation</a> an."
4646
"Inactive","Inaktiv"
4747
"Information","Informationen"
4848
"Invoice","Rechnung"

i18n/en_US.csv

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"General","General"
4343
"Hold Delivery","Hold Delivery"
4444
"ID required","ID required"
45-
"If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.22/docs/en/documentation.html"" target=""_blank"">documentation</a>.","If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.22/docs/en/documentation.html"" target=""_blank"">documentation</a>."
45+
"If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.23/docs/en/documentation.html"" target=""_blank"">documentation</a>.","If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.23/docs/en/documentation.html"" target=""_blank"">documentation</a>."
4646
"Inactive","Inactive"
4747
"Information","Information"
4848
"Invoice","Invoice"

view/frontend/web/js/view/payment/method-renderer/postfinancecheckout-method.js

+8-5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ define([
2424
template: 'PostFinanceCheckout_Payment/payment/form'
2525
},
2626
redirectAfterPlaceOrder: false,
27+
submitDisabled: false,
2728

2829
/**
2930
* @override
@@ -47,17 +48,19 @@ define([
4748
},
4849

4950
createHandler: function(){
50-
if (this.handler) return;
51-
52-
if (typeof window.IframeCheckoutHandler != 'undefined') {
51+
if (this.handler) {
52+
$('button.checkout').prop('disabled', this.submitDisabled);
53+
} else if (typeof window.IframeCheckoutHandler != 'undefined') {
5354
fullScreenLoader.startLoader();
5455
this.handler = window.IframeCheckoutHandler(this.getConfigurationId());
5556
this.handler.setEnableSubmitCallback(function(){
5657
$('button.checkout').prop('disabled', false);
57-
});
58+
this.submitDisabled = false;
59+
}.bind(this));
5860
this.handler.setDisableSubmitCallback(function(){
5961
$('button.checkout').prop('disabled', true);
60-
});
62+
this.submitDisabled = true;
63+
}.bind(this));
6164
this.handler.create(this.getFormId(), (function(validationResult){
6265
if (validationResult.success) {
6366
this.placeOrder();

0 commit comments

Comments
 (0)