Skip to content

Commit 7d53f87

Browse files
Release 2.1.23
1 parent 2f23b6d commit 7d53f87

14 files changed

+50
-22
lines changed

Model/Service/Invoice/TransactionService.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ public function updateLineItems(Invoice $invoice, $expectedAmount)
108108
$lineItems = $this->lineItemService->convertInvoiceLineItems($invoice, $expectedAmount);
109109

110110
$data = [
111-
'external_id' => uniqid(),
112-
'line_items' => $lineItems,
113-
'transaction' => (int)$transactionInfo->getTransactionId()
111+
'external_id' => uniqid(),
112+
'line_items' => $lineItems,
113+
'transaction' => (int)$transactionInfo->getTransactionId()
114114
];
115115

116116
$lineItemsCreate = new TransactionLineItemVersionCreate($data);
@@ -164,4 +164,4 @@ public function complete(Payment $payment, Invoice $invoice, $amount)
164164
\__('The associated authorization transaction for the payment could not be found.')));
165165
}
166166
}
167-
}
167+
}

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This repository contains the Magento 2 extension that enables to process payment
1212

1313
## Documentation
1414

15-
* [Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.22/docs/en/documentation.html)
15+
* [Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.23/docs/en/documentation.html)
1616

1717

1818
## Support
@@ -25,7 +25,7 @@ ________________________________________________________________________________
2525
| Magento variant | Shop version | Plugin major version | Supported until |
2626
|------------------------------|------------------------|------------------------|------------------------|
2727
| Magento 2 Enterprise Edition | Contact us | Contact us | Contact us |
28-
| Magento 2 Community Edition | 2.4.4 - 2.4.7 | 2.x | Further notice |
28+
| Magento 2 Community Edition | 2.4.4 - 2.4.8 | 2.x | Further notice |
2929
| Magento 2 Community Edition | 2.3.4 - 2.4.3 | 1.x | February 2024 |
3030
-----------------------------------------------------------------------------------------------------------
3131

@@ -39,4 +39,4 @@ We do provide special integrations for the following one step checkouts:
3939

4040
## License
4141

42-
Please see the [license file](https://github.com/pfpayments/magento-2/blob/2.1.22/LICENSE) for more information.
42+
Please see the [license file](https://github.com/pfpayments/magento-2/blob/2.1.23/LICENSE) for more information.

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"type" : "magento2-module",
19-
"version" : "2.1.22",
19+
"version" : "2.1.23",
2020
"require" : {
2121
"php" : "~7.1.3||~7.2.0||~7.3.0||~7.4.0||~8.0||~8.1||~8.2",
2222
"magento/framework" : "^102.0.0||^103.0.0",

docs/en/documentation.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h2>Documentation</h2> </div>
2323
</a>
2424
</li>
2525
<li>
26-
<a href="https://github.com/pfpayments/magento-2/releases/tag/2.1.22/">
26+
<a href="https://github.com/pfpayments/magento-2/releases/tag/2.1.23/">
2727
Source
2828
</a>
2929
</li>

etc/adminhtml/system.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<resource>PostFinanceCheckout_Payment::config</resource>
2020
<group id="information" translate="label comment" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
2121
<label>Information</label>
22-
<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/2.1.22/docs/en/documentation.html" target="_blank">documentation</a>.]]></comment>
22+
<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/2.1.23/docs/en/documentation.html" target="_blank">documentation</a>.]]></comment>
2323
<field id="version" translate="label" type="label" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
2424
<label>Module Version</label>
2525
</field>

etc/config.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<default>
1616
<postfinancecheckout_payment>
1717
<information>
18-
<version>2.1.22</version>
18+
<version>2.1.23</version>
1919
<sdk_version>4.6.0</sdk_version>
2020
</information>
2121
<general>

etc/module.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
-->
1414
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
15-
<module name="PostFinanceCheckout_Payment" setup_version="2.1.22">
15+
<module name="PostFinanceCheckout_Payment" setup_version="2.1.23">
1616
<sequence>
1717
<module name="Magento_Sales"/>
1818
<module name="Magento_Payment"/>

i18n/de_CH.csv

+6-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"Hold Delivery","Lieferung halten"
5252
"ID required","ID erforderlich"
5353
"When a refund request is in a pending state, update its status to successful", "Wenn die Rückerstattung aussteht, markieren Sie sie als erfolgreich"
54-
"If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.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/2.1.22/docs/en/documentation.html"" target=""_blank"">Dokumentation</a> an."
54+
"If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.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/2.1.23/docs/en/documentation.html"" target=""_blank"">Dokumentation</a> an."
5555
"Inactive","Inaktiv"
5656
"Information","Informationen"
5757
"Invoice","Rechnung"
@@ -136,4 +136,8 @@
136136
"Failing authorization in store failed: %1.","Das Fehlschlagen der authorisation ist fehlgeschlagen: %1."
137137
"The capture of the invoice failed in the store: %1.","Die Verbuchung konnte im Store nicht verarbeitet werden: %1."
138138
"The associated authorization transaction for the payment could not be found.","Die verknüpfte authorisations-Transaktion konnte für die Zahlung nicht gefunden werden.."
139-
"Enabled: this can impact certain payment methods and slow down the payment process","Aktiviert: Dies kann sich auf bestimmte Zahlungsarten auswirken und den Zahlungsvorgang verlangsamen."
139+
"Enabled: this can impact certain payment methods and slow down the payment process","Aktiviert: Dies kann sich auf bestimmte Zahlungsarten auswirken und den Zahlungsvorgang verlangsamen."
140+
"Your cart has already been paid for and cannot be restored.", "Ihr Warenkorb wurde bereits bezahlt und kann nicht wiederhergestellt werden."
141+
"No cart to restore.", "Kein Warenkorb zum Wiederherstellen."
142+
"An error occurred while restoring your cart.", "Beim Wiederherstellen Ihres Warenkorbs ist ein Fehler aufgetreten."
143+
"Payment Page", "Zahlungsseite"

i18n/de_DE.csv

+6-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"Hold Delivery","Lieferung halten"
5252
"ID required","ID erforderlich"
5353
"When a refund request is in a pending state, update its status to successful", "Wenn die Rückerstattung aussteht, markieren Sie sie als erfolgreich"
54-
"If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.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/2.1.22/docs/en/documentation.html"" target=""_blank"">Dokumentation</a> an."
54+
"If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.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/2.1.23/docs/en/documentation.html"" target=""_blank"">Dokumentation</a> an."
5555
"Inactive","Inaktiv"
5656
"Information","Informationen"
5757
"Invoice","Rechnung"
@@ -136,4 +136,8 @@
136136
"Failing authorization in store failed: %1.","Das Fehlschlagen der authorisation ist fehlgeschlagen: %1."
137137
"The capture of the invoice failed in the store: %1.","Die Verbuchung konnte im Store nicht verarbeitet werden: %1."
138138
"The associated authorization transaction for the payment could not be found.","Die verknüpfte authorisations-Transaktion konnte für die Zahlung nicht gefunden werden.."
139-
"Enabled: this can impact certain payment methods and slow down the payment process","Aktiviert: Dies kann sich auf bestimmte Zahlungsarten auswirken und den Zahlungsvorgang verlangsamen."
139+
"Enabled: this can impact certain payment methods and slow down the payment process","Aktiviert: Dies kann sich auf bestimmte Zahlungsarten auswirken und den Zahlungsvorgang verlangsamen."
140+
"Your cart has already been paid for and cannot be restored.", "Ihr Warenkorb wurde bereits bezahlt und kann nicht wiederhergestellt werden."
141+
"No cart to restore.", "Kein Warenkorb zum Wiederherstellen."
142+
"An error occurred while restoring your cart.", "Beim Wiederherstellen Ihres Warenkorbs ist ein Fehler aufgetreten."
143+
"Payment Page", "Zahlungsseite"

i18n/en_US.csv

+6-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"Hold Delivery","Hold Delivery"
5252
"ID required","ID required"
5353
"When a refund request is in a pending state, update its status to successful", "When a refund request is in a pending state, update its status to successful"
54-
"If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.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/2.1.22/docs/en/documentation.html"" target=""_blank"">documentation</a>."
54+
"If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.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/2.1.23/docs/en/documentation.html"" target=""_blank"">documentation</a>."
5555
"Inactive","Inactive"
5656
"Information","Information"
5757
"Invoice","Invoice"
@@ -137,4 +137,8 @@
137137
"Failing authorization in store failed: %1.","Failing authorization in store failed: %1."
138138
"The capture of the invoice failed in the store: %1.","The capture of the invoice failed in the store: %1."
139139
"The associated authorization transaction for the payment could not be found.","The associated authorization transaction for the payment could not be found."
140-
"Enabled: this can impact certain payment methods and slow down the payment process", "Enabled: this can impact certain payment methods and slow down the payment process"
140+
"Enabled: this can impact certain payment methods and slow down the payment process", "Enabled: this can impact certain payment methods and slow down the payment process"
141+
"Your cart has already been paid for and cannot be restored.", "Your cart has already been paid for and cannot be restored."
142+
"No cart to restore.", "No cart to restore."
143+
"An error occurred while restoring your cart.", "An error occurred while restoring your cart."
144+
"Payment Page", "Payment Page"

i18n/fr_CH.csv

+5-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"Gift Wrap","Papier cadeau"
5151
"Hold Delivery","Suspendre la livraison"
5252
"ID required","Pièce d'identité requise"
53-
"If you need help setting up the postfinancecheckout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.22/docs/en/documentation.html"" target=""_blank"">documentation</a>.","Si vous avez besoin d'aide pour configurer l'extension postfinancecheckout, consultez la <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.22/docs/en/documentation.html"" target=""_blank"">documentation</a> an."
53+
"If you need help setting up the postfinancecheckout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.23/docs/en/documentation.html"" target=""_blank"">documentation</a>.","Si vous avez besoin d'aide pour configurer l'extension postfinancecheckout, consultez la <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.23/docs/en/documentation.html"" target=""_blank"">documentation</a> an."
5454
"Inactive","Inactif"
5555
"Information","Information"
5656
"Invoice","Facture"
@@ -138,3 +138,7 @@
138138
"The capture of the invoice failed in the store: %1.","La capture de la facture a échoué dans la boutique : %1."
139139
"The associated authorization transaction for the payment could not be found.","La transaction d'autorisation associée au paiement est introuvable."
140140
"Enabled: this can impact certain payment methods and slow down the payment process","Activé : cela peut avoir un impact sur certaines méthodes de paiement et ralentir le processus de paiement."
141+
"Your cart has already been paid for and cannot be restored.", "Votre panier a déjà été payé et ne peut être restauré."
142+
"No cart to restore.", "Pas de panier à restaurer."
143+
"An error occurred while restoring your cart.", "Une erreur s'est produite lors de la restauration de votre panier."
144+
"Payment Page", "Page de paiement"

i18n/fr_FR.csv

+5-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"Hold Delivery","Suspendre la livraison"
5252
"ID required","Pièce d'identité requise"
5353
"When a refund request is in a pending state, update its status to successful", "Lorsqu'une demande de remboursement est en état d'attente, mettre à jour son statut pour le marquer comme réussi"
54-
"If you need help setting up the postfinancecheckout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.22/docs/en/documentation.html"" target=""_blank"">documentation</a>.","Si vous avez besoin d'aide pour configurer l'extension postfinancecheckout, consultez la <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.22/docs/en/documentation.html"" target=""_blank"">documentation</a> an."
54+
"If you need help setting up the postfinancecheckout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.23/docs/en/documentation.html"" target=""_blank"">documentation</a>.","Si vous avez besoin d'aide pour configurer l'extension postfinancecheckout, consultez la <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.23/docs/en/documentation.html"" target=""_blank"">documentation</a> an."
5555
"Inactive","Inactif"
5656
"Information","Information"
5757
"Invoice","Facture"
@@ -138,3 +138,7 @@
138138
"The capture of the invoice failed in the store: %1.","La capture de la facture a échoué dans la boutique : %1."
139139
"The associated authorization transaction for the payment could not be found.","La transaction d'autorisation associée au paiement est introuvable."
140140
"Enabled: this can impact certain payment methods and slow down the payment process","Activé : cela peut avoir un impact sur certaines méthodes de paiement et ralentir le processus de paiement."
141+
"Your cart has already been paid for and cannot be restored.", "Votre panier a déjà été payé et ne peut être restauré."
142+
"No cart to restore.", "Pas de panier à restaurer."
143+
"An error occurred while restoring your cart.", "Une erreur s'est produite lors de la restauration de votre panier."
144+
"Payment Page", "Page de paiement"

i18n/it_CH.csv

+5-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"Hold Delivery","Sospendi la consegna"
5252
"ID required","ID richiesto"
5353
"When a refund request is in a pending state, update its status to successful", "Quando una richiesta di rimborso è in stato di attesa, contrassegnalo come eseguito con successo."
54-
"If you need help setting up the postfinancecheckout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.22/docs/en/documentation.html"" target=""_blank"">documentation</a>.","Se hai bisogno di aiuto per configurare l'estensione postfinancecheckout, consulta la <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.22/docs/en/documentation.html"" target=""_blank"">documentazione</a> an."
54+
"If you need help setting up the postfinancecheckout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.23/docs/en/documentation.html"" target=""_blank"">documentation</a>.","Se hai bisogno di aiuto per configurare l'estensione postfinancecheckout, consulta la <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.23/docs/en/documentation.html"" target=""_blank"">documentazione</a> an."
5555
"Inactive","Inattivo"
5656
"Information","Informazione"
5757
"Invoice","Fattura"
@@ -138,3 +138,7 @@
138138
"The capture of the invoice failed in the store: %1.","L'acquisizione della fattura nel negozio non è riuscita: %1."
139139
"The associated authorization transaction for the payment could not be found.","Impossibile trovare la transazione di autorizzazione associata per il pagamento."
140140
"Enabled: this can impact certain payment methods and slow down the payment process","Abilitato: può influire su alcuni metodi di pagamento e rallentare il processo di pagamento."
141+
"Your cart has already been paid for and cannot be restored.", "Il carrello è già stato pagato e non può essere ripristinato."
142+
"No cart to restore.", "Nessun carrello da ripristinare."
143+
"An error occurred while restoring your cart.", "Si è verificato un errore durante il ripristino del carrello."
144+
"Payment Page", "Pagina di pagamento"

i18n/it_IT.csv

+5-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"Hold Delivery","Sospendi la consegna"
5252
"ID required","ID richiesto"
5353
"When a refund request is in a pending state, update its status to successful", "Quando una richiesta di rimborso è in stato di attesa, contrassegnalo come eseguito con successo."
54-
"If you need help setting up the postfinancecheckout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.22/docs/en/documentation.html"" target=""_blank"">documentation</a>.","Se hai bisogno di aiuto per configurare l'estensione postfinancecheckout, consulta la <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.22/docs/en/documentation.html"" target=""_blank"">documentazione</a> an."
54+
"If you need help setting up the postfinancecheckout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.23/docs/en/documentation.html"" target=""_blank"">documentation</a>.","Se hai bisogno di aiuto per configurare l'estensione postfinancecheckout, consulta la <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2/2.1.23/docs/en/documentation.html"" target=""_blank"">documentazione</a> an."
5555
"Inactive","Inattivo"
5656
"Information","Informazione"
5757
"Invoice","Fattura"
@@ -138,3 +138,7 @@
138138
"The capture of the invoice failed in the store: %1.","L'acquisizione della fattura nel negozio non è riuscita: %1."
139139
"The associated authorization transaction for the payment could not be found.","Impossibile trovare la transazione di autorizzazione associata per il pagamento."
140140
"Enabled: this can impact certain payment methods and slow down the payment process","Abilitato: può influire su alcuni metodi di pagamento e rallentare il processo di pagamento."
141+
"Your cart has already been paid for and cannot be restored.", "Il carrello è già stato pagato e non può essere ripristinato."
142+
"No cart to restore.", "Nessun carrello da ripristinare."
143+
"An error occurred while restoring your cart.", "Si è verificato un errore durante il ripristino del carrello."
144+
"Payment Page", "Pagina di pagamento"

0 commit comments

Comments
 (0)