diff --git a/i18n/de_DE.csv b/i18n/de_DE.csv
index ffc04215f39..4659350dcea 100644
--- a/i18n/de_DE.csv
+++ b/i18n/de_DE.csv
@@ -223,6 +223,7 @@
"Point Of Sale (POS)","Point Of Sale (POS)"
"Przelewy24","Przelewy24"
"Sofort","Sofort"
+"TWINT","TWINT"
"Voucher","Gutschein"
"Category","Kategorie"
"Product attribute","Artikelattribut"
@@ -392,3 +393,4 @@ ending,Ende
"Encrypt payment details","Zahlungsdetails verschlüsseln"
"Send an e-mail to customers with a failed or unfinished payment to give them a second chance on finishing the payment through the PaymentLink and revive their order.
You can either send these payment reminders manually or activate the e-mail fully automated.","Senden Sie eine E-Mail an Kunden mit einer fehlgeschlagenen oder unvollständigen Zahlung, um ihnen eine zweite Chance zu geben, die Zahlung über den PaymentLink abzuschließen und ihre Bestellung wiederzubeleben.
Sie können diese Zahlungserinnerungen entweder manuellsenden oder die E-Mail vollständig automatisiert aktivieren."
"Payment Method To Use For Second Change Payments","Zahlungsmethode für Zahlungen bei zweiter Änderung verwenden"
+"Your order has already been paid.","Ihre Bestellung wurde bereits bezahlt."
diff --git a/i18n/en_US.csv b/i18n/en_US.csv
index bf91ace9770..3da26903d4d 100644
--- a/i18n/en_US.csv
+++ b/i18n/en_US.csv
@@ -223,6 +223,7 @@
"Point Of Sale (POS)","Point Of Sale (POS)"
"Przelewy24","Przelewy24"
"Sofort","Sofort"
+"TWINT","TWINT"
"Voucher","Voucher"
"Category","Category"
"Product attribute","Product attribute"
@@ -369,3 +370,4 @@ ending,ending
"Encrypt payment details","Encrypt payment details"
"Send an e-mail to customers with a failed or unfinished payment to give them a second chance on finishing the payment through the PaymentLink and revive their order.
You can either send these payment reminders manually or activate the e-mail fully automated.","Send an e-mail to customers with a failed or unfinished payment to give them a second chance on finishing the payment through the PaymentLink and revive their order.
You can either send these payment reminders manually or activate the e-mail fully automated."
"Payment Method To Use For Second Change Payments","Payment Method To Use For Second Change Payments"
+"Your order has already been paid.","Your order has already been paid."
diff --git a/i18n/es_ES.csv b/i18n/es_ES.csv
index b47786c5312..f6e00ae3a0a 100644
--- a/i18n/es_ES.csv
+++ b/i18n/es_ES.csv
@@ -223,6 +223,7 @@
"Point Of Sale (POS)","Point Of Sale (POS)"
"Przelewy24","Przelewy24"
"Sofort","Sofort"
+"TWINT","TWINT"
"Voucher","Vale"
"Category","Categoría"
"Product attribute","Atributo del producto"
@@ -392,3 +393,4 @@ ending,finalizando
"Encrypt payment details","Cifrar detalles de pago"
"Send an e-mail to customers with a failed or unfinished payment to give them a second chance on finishing the payment through the PaymentLink and revive their order.
You can either send these payment reminders manually or activate the e-mail fully automated.","Envíe un correo electrónico a los clientes con un pago fallido o inconcluso para darles una segunda oportunidad de finalizar el pago a través del enlace de pago y revivir su pedido.
Puede enviar estos recordatorios de pago manualmente o activar el correo electrónico completamente automatizado."
"Payment Method To Use For Second Change Payments","Método de pago para usar en pagos de segunda oportunidad"
+"Your order has already been paid.","Su pedido ya ha sido pagado."
diff --git a/i18n/fr_FR.csv b/i18n/fr_FR.csv
index 4a68eba30eb..494000d05f3 100644
--- a/i18n/fr_FR.csv
+++ b/i18n/fr_FR.csv
@@ -223,6 +223,7 @@
"Point Of Sale (POS)","Point Of Sale (POS)"
"Przelewy24","Przelewy24"
"Sofort","Sofort"
+"TWINT","TWINT"
"Voucher","Voucher"
"Category","Catégorie"
"Product attribute","Attributs du produit"
@@ -392,3 +393,4 @@ ending,fin
"Encrypt payment details","Chiffrer les détails du paiement"
"Send an e-mail to customers with a failed or unfinished payment to give them a second chance on finishing the payment through the PaymentLink and revive their order.
You can either send these payment reminders manually or activate the e-mail fully automated.","Envoyez un e-mail aux clients ayant échoué ou n'ayant pas terminé le paiement pour leur donner une seconde chance de finaliser le paiement via le PaymentLink et de relancer leur commande.
Vous pouvez envoyer ces rappels de paiement manuellement ou activer l'e-mail entièrement automatisé."
"Payment Method To Use For Second Change Payments","Méthode de paiement à utiliser pour les paiements de seconde chance"
+"Your order has already been paid.","Votre commande a déjà été payée."
diff --git a/i18n/nl_NL.csv b/i18n/nl_NL.csv
index 81ccf595230..55b1f8368c4 100644
--- a/i18n/nl_NL.csv
+++ b/i18n/nl_NL.csv
@@ -223,6 +223,7 @@
"Point Of Sale (POS)","Point Of Sale (POS)"
"Przelewy24","Przelewy24"
"Sofort","Sofort"
+"TWINT","TWINT"
"Voucher","Bon"
"Category","Categorie"
"Product attribute","Productkenmerk"
@@ -394,3 +395,4 @@ ending,eindigend
"Encrypt payment details","Betaalgegevens versleutelen"
"Send an e-mail to customers with a failed or unfinished payment to give them a second chance on finishing the payment through the PaymentLink and revive their order.
You can either send these payment reminders manually or activate the e-mail fully automated.","Stuur een e-mail naar klanten met een mislukte of onvoltooide betaling om hen een tweede kans te geven de betaling te voltooien via de PaymentLink en hun bestelling te herstellen.
U kunt deze betalingsherinneringen handmatig verzenden of de e-mail volledig geautomatiseerd activeren."
"Payment Method To Use For Second Change Payments","Betaalmethode te gebruiken voor tweede kans betalingen"
+"Your order has already been paid.","Uw bestelling is al betaald."
diff --git a/view/adminhtml/templates/form/mollie_paymentlink.phtml b/view/adminhtml/templates/form/mollie_paymentlink.phtml
index fe94803e4b0..b65ea5baa92 100644
--- a/view/adminhtml/templates/form/mollie_paymentlink.phtml
+++ b/view/adminhtml/templates/form/mollie_paymentlink.phtml
@@ -38,29 +38,11 @@ $code; ?>" style="display:none">
+
= $block->escapeHtml(__('If only one method is chosen, the selection screen is skipped and the customer is sent directly to the payment method.')); ?>
-
-
-
-
-
diff --git a/view/adminhtml/templates/info/mollie_paymentlink.phtml b/view/adminhtml/templates/info/mollie_paymentlink.phtml
index 25567ab3375..1b89946138b 100644
--- a/view/adminhtml/templates/info/mollie_paymentlink.phtml
+++ b/view/adminhtml/templates/info/mollie_paymentlink.phtml
@@ -23,12 +23,12 @@ $status = $block->getPaymentStatus();
= ucfirst($block->getCheckoutType()); ?> |
- getCheckoutUrl() && $status == 'created'): ?>
+
= __('Checkout Url'); ?> |
- = $block->getCheckoutUrl(); ?>
-
+ = __('Click here to pay', $block->getPaymentLinkUrl()); ?>
+
⎘
|
diff --git a/view/adminhtml/web/images/twint.svg b/view/adminhtml/web/images/twint.svg
new file mode 100644
index 00000000000..5b148147f18
--- /dev/null
+++ b/view/adminhtml/web/images/twint.svg
@@ -0,0 +1,44 @@
+
diff --git a/view/frontend/email/second_chance.html b/view/frontend/email/second_chance.html
index 822cbe05f8e..7c814f15ff2 100644
--- a/view/frontend/email/second_chance.html
+++ b/view/frontend/email/second_chance.html
@@ -26,7 +26,7 @@
-
+
{{trans "Click here to complete your payment" }}
|
diff --git a/view/frontend/layout/checkout_index_index.xml b/view/frontend/layout/checkout_index_index.xml
index 3c108332b73..d89ec3e7119 100644
--- a/view/frontend/layout/checkout_index_index.xml
+++ b/view/frontend/layout/checkout_index_index.xml
@@ -91,6 +91,9 @@
-
- true
+ -
+
- true
+
-
- true
diff --git a/view/frontend/templates/info/mollie_paymentlink.phtml b/view/frontend/templates/info/mollie_paymentlink.phtml
index aabaf34b560..3ee59cdfe51 100644
--- a/view/frontend/templates/info/mollie_paymentlink.phtml
+++ b/view/frontend/templates/info/mollie_paymentlink.phtml
@@ -17,12 +17,9 @@ $title = $block->escapeHtml($block->getMethod()->getTitle());
= /* @noEscape */
$title; ?>
- getPaymentStatus(), ['created', 'open']) &&
- $paymentUrl = $block->getPaymentLink($block->getMethod()->getStore())
- ): ?>
+ getPaymentLink()): ?>
- = /* @noEscape */ $paymentUrl; ?>
+ = /* @noEscape */ $url; ?>
diff --git a/view/frontend/web/images/methods/twint.svg b/view/frontend/web/images/methods/twint.svg
new file mode 100644
index 00000000000..5b148147f18
--- /dev/null
+++ b/view/frontend/web/images/methods/twint.svg
@@ -0,0 +1,44 @@
+
diff --git a/view/frontend/web/js/view/payment/method-renderer.js b/view/frontend/web/js/view/payment/method-renderer.js
index c4d767dee89..6c982ec556c 100644
--- a/view/frontend/web/js/view/payment/method-renderer.js
+++ b/view/frontend/web/js/view/payment/method-renderer.js
@@ -46,6 +46,7 @@ define(
{type: 'mollie_methods_pointofsale', component: pointofsaleComponent},
{type: 'mollie_methods_przelewy24', component: defaultComponent},
{type: 'mollie_methods_sofort', component: defaultComponent},
+ {type: 'mollie_methods_twint', component: defaultComponent},
{type: 'mollie_methods_voucher', component: defaultComponent}
];