From 81bc4f5f276fa83c80431d84d31d7686b493ce79 Mon Sep 17 00:00:00 2001 From: Nick Dijkstra Date: Tue, 11 Oct 2016 22:39:57 +0200 Subject: [PATCH] Add KBC/CBC Payment Button --- admin/controller/payment/mollie_kbc.php | 7 + admin/language/dutch/payment/mollie.php | 2 + admin/language/dutch/payment/mollie_kbc.php | 4 + admin/language/en-gb/payment/mollie.php | 2 + admin/language/en-gb/payment/mollie_kbc.php | 4 + admin/language/english/payment/mollie.php | 226 +++++++++--------- admin/language/english/payment/mollie_kbc.php | 4 + admin/language/fr-fr/payment/mollie.php | 2 + admin/language/fr-fr/payment/mollie_kbc.php | 4 + admin/language/french/payment/mollie.php | 226 +++++++++--------- admin/language/french/payment/mollie_kbc.php | 4 + admin/language/nl-nl/payment/mollie.php | 2 + admin/language/nl-nl/payment/mollie_kbc.php | 4 + catalog/controller/payment/mollie/helper.php | 4 +- catalog/controller/payment/mollie_kbc.php | 7 + catalog/language/dutch/payment/mollie.php | 1 + catalog/language/en-gb/payment/mollie.php | 3 +- catalog/language/english/payment/mollie.php | 151 ++++++------ catalog/language/fr-fr/payment/mollie.php | 1 + catalog/language/french/payment/mollie.php | 151 ++++++------ catalog/language/nl-nl/payment/mollie.php | 1 + catalog/model/payment/mollie_kbc.php | 7 + 22 files changed, 441 insertions(+), 376 deletions(-) create mode 100644 admin/controller/payment/mollie_kbc.php create mode 100644 admin/language/dutch/payment/mollie_kbc.php create mode 100644 admin/language/en-gb/payment/mollie_kbc.php create mode 100644 admin/language/english/payment/mollie_kbc.php create mode 100644 admin/language/fr-fr/payment/mollie_kbc.php create mode 100644 admin/language/french/payment/mollie_kbc.php create mode 100644 admin/language/nl-nl/payment/mollie_kbc.php create mode 100644 catalog/controller/payment/mollie_kbc.php create mode 100644 catalog/model/payment/mollie_kbc.php diff --git a/admin/controller/payment/mollie_kbc.php b/admin/controller/payment/mollie_kbc.php new file mode 100644 index 00000000..709c5087 --- /dev/null +++ b/admin/controller/payment/mollie_kbc.php @@ -0,0 +1,7 @@ + - * @copyright Mollie B.V. - * @link https://www.mollie.com - */ - -// These are called automatically by the Payment modules list - do not change the names -$method_list_logo = 'Mollie'; -$_['text_mollie_banktransfer'] = $method_list_logo; -$_['text_mollie_belfius'] = $method_list_logo; -$_['text_mollie_bitcoin'] = $method_list_logo; -$_['text_mollie_creditcard'] = $method_list_logo; -$_['text_mollie_directdebit'] = $method_list_logo; -$_['text_mollie_ideal'] = $method_list_logo; -$_['text_mollie_mistercash'] = $method_list_logo; -$_['text_mollie_paypal'] = $method_list_logo; -$_['text_mollie_paysafecard'] = $method_list_logo; -$_['text_mollie_sofort'] = $method_list_logo; - -// Heading -$_['heading_title'] = "Mollie"; -$_['title_global_options'] = "Options for all Mollie modules"; -$_['title_payment_status'] = "Payment statuses"; -$_['title_mod_about'] = "About this module"; -$_['footer_text'] = "Payment services"; - -// Module names -$_['name_mollie_banktransfer'] = "Bank transfer"; -$_['name_mollie_belfius'] = "Belfius Direct Net"; -$_['name_mollie_bitcoin'] = "Bitcoin"; -$_['name_mollie_creditcard'] = "Creditcard"; -$_['name_mollie_directdebit'] = "Direct debit"; -$_['name_mollie_ideal'] = "iDEAL"; -$_['name_mollie_mistercash'] = "Bancontact/MisterCash"; -$_['name_mollie_paypal'] = "PayPal"; -$_['name_mollie_paysafecard'] = "paysafecard"; -$_['name_mollie_sofort'] = "SOFORT Banking"; - -// Text -$_['text_edit'] = "Edit"; -$_['text_payment'] = "Payment"; -$_['text_success'] = "Success: You have successfully modified your Mollie settings!"; -$_['text_missing_api_key'] = "Please fill out your API key below."; -$_['text_activate_payment_method'] = 'Enable this payment method in your Mollie dashboard.'; -$_['text_no_status_id'] = "- Do not update the order status (not recommended) -"; - -// Entry -$_['entry_payment_method'] = "Payment method"; -$_['entry_activate'] = "Activate"; -$_['entry_sort_order'] = "Sort order"; -$_['entry_status'] = "Status"; -$_['entry_api_key'] = "API key"; -$_['entry_description'] = "Description"; -$_['entry_show_icons'] = "Show icons"; -$_['entry_show_order_canceled_page'] = "Show message if payment is cancelled"; - -// Help -$_['help_view_profile'] = 'You can find your API key in your Mollie website profiles.'; -$_['help_status'] = "Activate the module"; -$_['help_api_key'] = 'Enter the api_key of the website profile you want to use. The API key starts with test_ or live_.'; -$_['help_description'] = 'This description will appear on the bank / card statement of your customer. You may use a maximum of 29 characters. TIP: Use %, this will be replaced by the order id of the payment. Don\'t forget % can be multiple characters long!'; -$_['help_show_icons'] = 'Show icons next to the Mollie payment methods on the checkout page.'; -$_['help_show_order_canceled_page'] = 'Show a message to the customer if a payment is cancelled, before redirecting the customer back to their shopping cart.'; - -// Info -$_['entry_module'] = "Module"; -$_['entry_mod_status'] = "Module status"; -$_['entry_comm_status'] = "Communication status"; -$_['entry_support'] = "Support"; - -$_['entry_version'] = 'Mollie Opencart'; - -// Error -$_['error_permission'] = "Warning: You don't have permission to modify the Mollie payment methods."; -$_['error_api_key'] = "Mollie API key is required!"; -$_['error_api_key_invalid'] = "Invalid API key!"; -$_['error_description'] = "Description is required!"; -$_['error_file_missing'] = "File does not exist"; - -// Status -$_['entry_pending_status'] = "Payment created status"; -$_['entry_failed_status'] = "Payment failed status"; -$_['entry_canceled_status'] = "Payment canceled status"; -$_['entry_expired_status'] = "Payment expired status"; -$_['entry_processing_status'] = "Payment successful status"; + + * @copyright Mollie B.V. + * @link https://www.mollie.com + */ + +// These are called automatically by the Payment modules list - do not change the names +$method_list_logo = 'Mollie'; +$_['text_mollie_banktransfer'] = $method_list_logo; +$_['text_mollie_belfius'] = $method_list_logo; +$_['text_mollie_bitcoin'] = $method_list_logo; +$_['text_mollie_creditcard'] = $method_list_logo; +$_['text_mollie_directdebit'] = $method_list_logo; +$_['text_mollie_ideal'] = $method_list_logo; +$_['text_mollie_kbc'] = $method_list_logo; +$_['text_mollie_mistercash'] = $method_list_logo; +$_['text_mollie_paypal'] = $method_list_logo; +$_['text_mollie_paysafecard'] = $method_list_logo; +$_['text_mollie_sofort'] = $method_list_logo; + +// Heading +$_['heading_title'] = "Mollie"; +$_['title_global_options'] = "Options for all Mollie modules"; +$_['title_payment_status'] = "Payment statuses"; +$_['title_mod_about'] = "About this module"; +$_['footer_text'] = "Payment services"; + +// Module names +$_['name_mollie_banktransfer'] = "Bank transfer"; +$_['name_mollie_belfius'] = "Belfius Direct Net"; +$_['name_mollie_bitcoin'] = "Bitcoin"; +$_['name_mollie_creditcard'] = "Creditcard"; +$_['name_mollie_directdebit'] = "Direct debit"; +$_['name_mollie_ideal'] = "iDEAL"; +$_['name_mollie_kbc'] = "KBC/CBC Payment Button"; +$_['name_mollie_mistercash'] = "Bancontact/MisterCash"; +$_['name_mollie_paypal'] = "PayPal"; +$_['name_mollie_paysafecard'] = "paysafecard"; +$_['name_mollie_sofort'] = "SOFORT Banking"; + +// Text +$_['text_edit'] = "Edit"; +$_['text_payment'] = "Payment"; +$_['text_success'] = "Success: You have successfully modified your Mollie settings!"; +$_['text_missing_api_key'] = "Please fill out your API key below."; +$_['text_activate_payment_method'] = 'Enable this payment method in your Mollie dashboard.'; +$_['text_no_status_id'] = "- Do not update the order status (not recommended) -"; + +// Entry +$_['entry_payment_method'] = "Payment method"; +$_['entry_activate'] = "Activate"; +$_['entry_sort_order'] = "Sort order"; +$_['entry_status'] = "Status"; +$_['entry_api_key'] = "API key"; +$_['entry_description'] = "Description"; +$_['entry_show_icons'] = "Show icons"; +$_['entry_show_order_canceled_page'] = "Show message if payment is cancelled"; + +// Help +$_['help_view_profile'] = 'You can find your API key in your Mollie website profiles.'; +$_['help_status'] = "Activate the module"; +$_['help_api_key'] = 'Enter the api_key of the website profile you want to use. The API key starts with test_ or live_.'; +$_['help_description'] = 'This description will appear on the bank / card statement of your customer. You may use a maximum of 29 characters. TIP: Use %, this will be replaced by the order id of the payment. Don\'t forget % can be multiple characters long!'; +$_['help_show_icons'] = 'Show icons next to the Mollie payment methods on the checkout page.'; +$_['help_show_order_canceled_page'] = 'Show a message to the customer if a payment is cancelled, before redirecting the customer back to their shopping cart.'; + +// Info +$_['entry_module'] = "Module"; +$_['entry_mod_status'] = "Module status"; +$_['entry_comm_status'] = "Communication status"; +$_['entry_support'] = "Support"; + +$_['entry_version'] = 'Mollie Opencart'; + +// Error +$_['error_permission'] = "Warning: You don't have permission to modify the Mollie payment methods."; +$_['error_api_key'] = "Mollie API key is required!"; +$_['error_api_key_invalid'] = "Invalid API key!"; +$_['error_description'] = "Description is required!"; +$_['error_file_missing'] = "File does not exist"; + +// Status +$_['entry_pending_status'] = "Payment created status"; +$_['entry_failed_status'] = "Payment failed status"; +$_['entry_canceled_status'] = "Payment canceled status"; +$_['entry_expired_status'] = "Payment expired status"; +$_['entry_processing_status'] = "Payment successful status"; diff --git a/admin/language/english/payment/mollie_kbc.php b/admin/language/english/payment/mollie_kbc.php new file mode 100644 index 00000000..230777af --- /dev/null +++ b/admin/language/english/payment/mollie_kbc.php @@ -0,0 +1,4 @@ + - * @copyright Mollie B.V. - * @link https://www.mollie.com - */ - -// These are called automatically by the Payment modules list - do not change the names -$method_list_logo = 'Mollie'; -$_['text_mollie_banktransfer'] = $method_list_logo; -$_['text_mollie_belfius'] = $method_list_logo; -$_['text_mollie_bitcoin'] = $method_list_logo; -$_['text_mollie_creditcard'] = $method_list_logo; -$_['text_mollie_directdebit'] = $method_list_logo; -$_['text_mollie_ideal'] = $method_list_logo; -$_['text_mollie_mistercash'] = $method_list_logo; -$_['text_mollie_paypal'] = $method_list_logo; -$_['text_mollie_paysafecard'] = $method_list_logo; -$_['text_mollie_sofort'] = $method_list_logo; - -// Heading -$_['heading_title'] = "Mollie"; -$_['title_global_options'] = "Pour tous les modules Mollie"; -$_['title_payment_status'] = "États de paiement"; -$_['title_mod_about'] = "Sur ce module"; -$_['footer_text'] = "Services paiement"; - -// Module names -$_['name_mollie_banktransfer'] = "Virement bancaire"; -$_['name_mollie_belfius'] = "Belfius Direct Net"; -$_['name_mollie_bitcoin'] = "Bitcoin"; -$_['name_mollie_creditcard'] = "Creditcard"; -$_['name_mollie_directdebit'] = "Débit direct"; -$_['name_mollie_ideal'] = "iDEAL"; -$_['name_mollie_mistercash'] = "Bancontact/MisterCash"; -$_['name_mollie_paypal'] = "PayPal"; -$_['name_mollie_paysafecard'] = "paysafecard"; -$_['name_mollie_sofort'] = "SOFORT Banking"; - -// Text -$_['text_edit'] = "Éditer Mollie"; -$_['text_payment'] = "Paiement"; -$_['text_success'] = "Succès: Vous avez réussi à modifier les paramètres Mollie!"; -$_['text_missing_api_key'] = "Remplir votre clé API ci-dessous."; -$_['text_activate_payment_method'] = 'Activer ce mode de paiement via le Mollie dashboard.'; -$_['text_no_status_id'] = '- Ne pas mettre à jour le statut (non recommandé) -'; - -// Entry -$_['entry_payment_method'] = "Procédé de paiement"; -$_['entry_activate'] = "Activate"; -$_['entry_sort_order'] = "Ordre de triage"; -$_['entry_status'] = "État"; -$_['entry_api_key'] = "Clé API"; -$_['entry_description'] = "Description"; -$_['entry_show_icons'] = "Afficher des icônes"; -$_['entry_show_order_canceled_page'] = "Afficher un message si le paiement est annulé"; - -// Help -$_['help_view_profile'] = 'Vous pouvez trouver votre clé API dans vos profils de site à Mollie.'; -$_['help_status'] = "Activer le module"; -$_['help_api_key'] = 'Entrer ici le api_key du profil que vous souhaitez utiliser. Le clé API commence par test_ ou live_.'; -$_['help_description'] = 'Cette description apparaîtra sur le relevé bancaire de votre client. Vous pouvez utiliser un maximum de 29 caractères. ASTUCE: Utilisez le %, il sera remplacé par l\'id de la commande du paiement. N\'oubliez pas que %/code> peut devenir plusieurs caractères!'; -$_['help_show_icons'] = 'Afficher les icônes à côté des méthodes de paiement Mollie sur la page de paiement.'; -$_['help_show_order_canceled_page'] = 'Afficher un message au client si un paiement est annulé, avant de rediriger le client vers leur panier.'; - -// Info -$_['entry_module'] = "Module"; -$_['entry_mod_status'] = "État du module"; -$_['entry_comm_status'] = "État de la communication"; -$_['entry_support'] = "Assistance"; - -$_['entry_version'] = 'MollieOpenCart'; - -// Error -$_['error_permission'] = "Attention: Vous n'avez pas l'autorisation de modifier les méthodes de paiement Mollie."; -$_['error_api_key'] = "La clé API est nécessaire!"; -$_['error_api_key_invalid'] = "La clé API est invalide!"; -$_['error_description'] = "Description est nécessaire!"; -$_['error_file_missing'] = "Fichier ne existe pas"; - -// Status -$_['entry_pending_status'] = "État de paiement attente"; -$_['entry_failed_status'] = "État de paiement échoué"; -$_['entry_canceled_status'] = "État de paiement annulé"; -$_['entry_expired_status'] = "État de paiement expiré"; -$_['entry_processing_status'] = "État de paiement traitement"; + + * @copyright Mollie B.V. + * @link https://www.mollie.com + */ + +// These are called automatically by the Payment modules list - do not change the names +$method_list_logo = 'Mollie'; +$_['text_mollie_banktransfer'] = $method_list_logo; +$_['text_mollie_belfius'] = $method_list_logo; +$_['text_mollie_bitcoin'] = $method_list_logo; +$_['text_mollie_creditcard'] = $method_list_logo; +$_['text_mollie_directdebit'] = $method_list_logo; +$_['text_mollie_ideal'] = $method_list_logo; +$_['text_mollie_kbc'] = $method_list_logo; +$_['text_mollie_mistercash'] = $method_list_logo; +$_['text_mollie_paypal'] = $method_list_logo; +$_['text_mollie_paysafecard'] = $method_list_logo; +$_['text_mollie_sofort'] = $method_list_logo; + +// Heading +$_['heading_title'] = "Mollie"; +$_['title_global_options'] = "Pour tous les modules Mollie"; +$_['title_payment_status'] = "États de paiement"; +$_['title_mod_about'] = "Sur ce module"; +$_['footer_text'] = "Services paiement"; + +// Module names +$_['name_mollie_banktransfer'] = "Virement bancaire"; +$_['name_mollie_belfius'] = "Belfius Direct Net"; +$_['name_mollie_bitcoin'] = "Bitcoin"; +$_['name_mollie_creditcard'] = "Creditcard"; +$_['name_mollie_directdebit'] = "Débit direct"; +$_['name_mollie_ideal'] = "iDEAL"; +$_['name_mollie_kbc'] = "Bouton de paiement KBC/CBC"; +$_['name_mollie_mistercash'] = "Bancontact/MisterCash"; +$_['name_mollie_paypal'] = "PayPal"; +$_['name_mollie_paysafecard'] = "paysafecard"; +$_['name_mollie_sofort'] = "SOFORT Banking"; + +// Text +$_['text_edit'] = "Éditer Mollie"; +$_['text_payment'] = "Paiement"; +$_['text_success'] = "Succès: Vous avez réussi à modifier les paramètres Mollie!"; +$_['text_missing_api_key'] = "Remplir votre clé API ci-dessous."; +$_['text_activate_payment_method'] = 'Activer ce mode de paiement via le Mollie dashboard.'; +$_['text_no_status_id'] = '- Ne pas mettre à jour le statut (non recommandé) -'; + +// Entry +$_['entry_payment_method'] = "Procédé de paiement"; +$_['entry_activate'] = "Activate"; +$_['entry_sort_order'] = "Ordre de triage"; +$_['entry_status'] = "État"; +$_['entry_api_key'] = "Clé API"; +$_['entry_description'] = "Description"; +$_['entry_show_icons'] = "Afficher des icônes"; +$_['entry_show_order_canceled_page'] = "Afficher un message si le paiement est annulé"; + +// Help +$_['help_view_profile'] = 'Vous pouvez trouver votre clé API dans vos profils de site à Mollie.'; +$_['help_status'] = "Activer le module"; +$_['help_api_key'] = 'Entrer ici le api_key du profil que vous souhaitez utiliser. Le clé API commence par test_ ou live_.'; +$_['help_description'] = 'Cette description apparaîtra sur le relevé bancaire de votre client. Vous pouvez utiliser un maximum de 29 caractères. ASTUCE: Utilisez le %, il sera remplacé par l\'id de la commande du paiement. N\'oubliez pas que %/code> peut devenir plusieurs caractères!'; +$_['help_show_icons'] = 'Afficher les icônes à côté des méthodes de paiement Mollie sur la page de paiement.'; +$_['help_show_order_canceled_page'] = 'Afficher un message au client si un paiement est annulé, avant de rediriger le client vers leur panier.'; + +// Info +$_['entry_module'] = "Module"; +$_['entry_mod_status'] = "État du module"; +$_['entry_comm_status'] = "État de la communication"; +$_['entry_support'] = "Assistance"; + +$_['entry_version'] = 'MollieOpenCart'; + +// Error +$_['error_permission'] = "Attention: Vous n'avez pas l'autorisation de modifier les méthodes de paiement Mollie."; +$_['error_api_key'] = "La clé API est nécessaire!"; +$_['error_api_key_invalid'] = "La clé API est invalide!"; +$_['error_description'] = "Description est nécessaire!"; +$_['error_file_missing'] = "Fichier ne existe pas"; + +// Status +$_['entry_pending_status'] = "État de paiement attente"; +$_['entry_failed_status'] = "État de paiement échoué"; +$_['entry_canceled_status'] = "État de paiement annulé"; +$_['entry_expired_status'] = "État de paiement expiré"; +$_['entry_processing_status'] = "État de paiement traitement"; diff --git a/admin/language/french/payment/mollie_kbc.php b/admin/language/french/payment/mollie_kbc.php new file mode 100644 index 00000000..230777af --- /dev/null +++ b/admin/language/french/payment/mollie_kbc.php @@ -0,0 +1,4 @@ + - * @copyright Mollie B.V. - * @link https://www.mollie.com - */ - -/** - * English language file for iDEAL by Mollie - */ - -// Text -$_['heading_title'] = 'Payment by Mollie'; -$_['ideal_title'] = 'Your payment'; -$_['text_title'] = 'Pay online'; -$_['text_redirected'] = 'The client has been referred to the payment screen'; -$_['text_issuer'] = 'Select your bank'; -$_['button_retry'] = 'Return to checkout page'; - -// Status page: payment failed (e.g. cancelled). -$_['heading_failed'] = 'Your payment has not been completed'; -$_['msg_failed'] = 'Unfortunately your payment has failed. Please click the button below to return to the checkout page and retry setting up a payment.'; - -// Status page: payment pending. -$_['heading_unknown'] = 'Your payment is pending'; -$_['msg_unknown'] = 'Your payment has not been received yet. We will send you a confirmation email the moment the payment is received.'; - -// Status page: API failure. -$_['heading_error'] = 'An error occurred when setting up the payment'; -$_['text_error'] = 'An error occurred when setting up the payment with Mollie. Click the button below to return to the checkout page.'; - -// Response -$_['response_success'] = 'The payment is received'; -$_['response_none'] = 'The payment is not received yet'; -$_['response_cancelled'] = 'The client has canceled the payment'; -$_['response_failed'] = 'Unfortunately something went wrong. Please retry the payment.'; -$_['response_expired'] = 'The payment has expired'; -$_['response_unknown'] = 'An unknown error occurred'; - -// Methods -$_['method_ideal'] = 'iDEAL'; -$_['method_creditcard'] = 'Creditcard'; -$_['method_mistercash'] = 'Mister Cash'; -$_['method_banktransfer'] = 'Bank transfer'; -$_['method_directdebit'] = 'Bank transfer'; -$_['method_belfius'] = 'Belfius Direct Net'; -$_['method_bitcoin'] = 'Bitcoin'; -$_['method_sofort'] = 'SOFORT Banking'; -$_['method_paypal'] = 'PayPal'; + + * @copyright Mollie B.V. + * @link https://www.mollie.com + */ + +/** + * English language file for iDEAL by Mollie + */ + +// Text +$_['heading_title'] = 'Payment by Mollie'; +$_['ideal_title'] = 'Your payment'; +$_['text_title'] = 'Pay online'; +$_['text_redirected'] = 'The client has been referred to the payment screen'; +$_['text_issuer'] = 'Select your bank'; +$_['button_retry'] = 'Return to checkout page'; + +// Status page: payment failed (e.g. cancelled). +$_['heading_failed'] = 'Your payment has not been completed'; +$_['msg_failed'] = 'Unfortunately your payment has failed. Please click the button below to return to the checkout page and retry setting up a payment.'; + +// Status page: payment pending. +$_['heading_unknown'] = 'Your payment is pending'; +$_['msg_unknown'] = 'Your payment has not been received yet. We will send you a confirmation email the moment the payment is received.'; + +// Status page: API failure. +$_['heading_error'] = 'An error occurred when setting up the payment'; +$_['text_error'] = 'An error occurred when setting up the payment with Mollie. Click the button below to return to the checkout page.'; + +// Response +$_['response_success'] = 'The payment is received'; +$_['response_none'] = 'The payment is not received yet'; +$_['response_cancelled'] = 'The client has canceled the payment'; +$_['response_failed'] = 'Unfortunately something went wrong. Please retry the payment.'; +$_['response_expired'] = 'The payment has expired'; +$_['response_unknown'] = 'An unknown error occurred'; + +// Methods +$_['method_ideal'] = 'iDEAL'; +$_['method_creditcard'] = 'Creditcard'; +$_['method_mistercash'] = 'Mister Cash'; +$_['method_banktransfer'] = 'Bank transfer'; +$_['method_directdebit'] = 'Direct debit'; +$_['method_belfius'] = 'Belfius Direct Net'; +$_['method_kbc'] = 'KBC/CBC Payment Button'; +$_['method_bitcoin'] = 'Bitcoin'; +$_['method_sofort'] = 'SOFORT Banking'; +$_['method_paypal'] = 'PayPal'; $_['method_paysafecard'] = 'paysafecard'; \ No newline at end of file diff --git a/catalog/language/fr-fr/payment/mollie.php b/catalog/language/fr-fr/payment/mollie.php index 8567b02d..706a2877 100755 --- a/catalog/language/fr-fr/payment/mollie.php +++ b/catalog/language/fr-fr/payment/mollie.php @@ -70,6 +70,7 @@ $_['method_banktransfer'] = 'Bank transfer'; $_['method_directdebit'] = 'Bank transfer'; $_['method_belfius'] = 'Belfius Direct Net'; +$_['method_kbc'] = 'Bouton de paiement KBC/CBC'; $_['method_bitcoin'] = 'Bitcoin'; $_['method_sofort'] = 'SOFORT Banking'; $_['method_paypal'] = 'PayPal'; diff --git a/catalog/language/french/payment/mollie.php b/catalog/language/french/payment/mollie.php index a0e3604d..706a2877 100755 --- a/catalog/language/french/payment/mollie.php +++ b/catalog/language/french/payment/mollie.php @@ -1,76 +1,77 @@ - - * @copyright Mollie B.V. - * @link https://www.mollie.com - */ - -/** - * English language file for iDEAL by Mollie - */ - -// Text -$_['heading_title'] = 'Paiement par Mollie'; -$_['ideal_title'] = 'Votre paiement'; -$_['text_title'] = 'Payez en ligne'; -$_['text_redirected'] = 'Le client a été renvoyé à l\'écran de paiement'; -$_['text_issuer'] = 'Selectionnez votre banque:'; -$_['button_retry'] = 'Retour à la page de paiement'; - -// Status page: payment failed (e.g. cancelled). -$_['heading_failed'] = 'Votre paiement n\'a pas été achevée'; -$_['msg_failed'] = 'Malheureusement, votre paiement est échoué.'; - -// Status page: payment pending. -$_['heading_unknown'] = 'Votre paiement est en attente'; -$_['msg_unknown'] = 'Votre paiement n\'a pas encore été reçu. Nous vous enverrons un e-mail de confirmation au moment où le paiement est reçu.'; - -// Status page: API failure. -$_['heading_error'] = 'Une erreur s\'est produite lors de la mise en place du paiement'; -$_['text_error'] = 'Une erreur s\'est produite lors de la mise en place du paiement avec Mollie:'; - -// Response -$_['response_success'] = 'Le paiement est reçu'; -$_['response_none'] = 'Le paiement n\'est pas encore reçu'; -$_['response_cancelled'] = 'Le client a annulé le paiement'; -$_['response_failed'] = 'Malheureusement une erreur s\'est produite. S\'il vous plaît réessayer le paiement.'; -$_['response_expired'] = 'Le paiement a expiré'; -$_['response_unknown'] = 'Une erreur inconnue s\'est produite'; - -// Methods -$_['method_ideal'] = 'iDEAL'; -$_['method_creditcard'] = 'Creditcard'; -$_['method_mistercash'] = 'Mister Cash'; -$_['method_banktransfer'] = 'Bank transfer'; -$_['method_directdebit'] = 'Bank transfer'; -$_['method_belfius'] = 'Belfius Direct Net'; -$_['method_bitcoin'] = 'Bitcoin'; -$_['method_sofort'] = 'SOFORT Banking'; -$_['method_paypal'] = 'PayPal'; + + * @copyright Mollie B.V. + * @link https://www.mollie.com + */ + +/** + * English language file for iDEAL by Mollie + */ + +// Text +$_['heading_title'] = 'Paiement par Mollie'; +$_['ideal_title'] = 'Votre paiement'; +$_['text_title'] = 'Payez en ligne'; +$_['text_redirected'] = 'Le client a été renvoyé à l\'écran de paiement'; +$_['text_issuer'] = 'Selectionnez votre banque:'; +$_['button_retry'] = 'Retour à la page de paiement'; + +// Status page: payment failed (e.g. cancelled). +$_['heading_failed'] = 'Votre paiement n\'a pas été achevée'; +$_['msg_failed'] = 'Malheureusement, votre paiement est échoué.'; + +// Status page: payment pending. +$_['heading_unknown'] = 'Votre paiement est en attente'; +$_['msg_unknown'] = 'Votre paiement n\'a pas encore été reçu. Nous vous enverrons un e-mail de confirmation au moment où le paiement est reçu.'; + +// Status page: API failure. +$_['heading_error'] = 'Une erreur s\'est produite lors de la mise en place du paiement'; +$_['text_error'] = 'Une erreur s\'est produite lors de la mise en place du paiement avec Mollie:'; + +// Response +$_['response_success'] = 'Le paiement est reçu'; +$_['response_none'] = 'Le paiement n\'est pas encore reçu'; +$_['response_cancelled'] = 'Le client a annulé le paiement'; +$_['response_failed'] = 'Malheureusement une erreur s\'est produite. S\'il vous plaît réessayer le paiement.'; +$_['response_expired'] = 'Le paiement a expiré'; +$_['response_unknown'] = 'Une erreur inconnue s\'est produite'; + +// Methods +$_['method_ideal'] = 'iDEAL'; +$_['method_creditcard'] = 'Creditcard'; +$_['method_mistercash'] = 'Mister Cash'; +$_['method_banktransfer'] = 'Bank transfer'; +$_['method_directdebit'] = 'Bank transfer'; +$_['method_belfius'] = 'Belfius Direct Net'; +$_['method_kbc'] = 'Bouton de paiement KBC/CBC'; +$_['method_bitcoin'] = 'Bitcoin'; +$_['method_sofort'] = 'SOFORT Banking'; +$_['method_paypal'] = 'PayPal'; $_['method_paysafecard'] = 'paysafecard'; \ No newline at end of file diff --git a/catalog/language/nl-nl/payment/mollie.php b/catalog/language/nl-nl/payment/mollie.php index ed3b7a1c..2b708927 100755 --- a/catalog/language/nl-nl/payment/mollie.php +++ b/catalog/language/nl-nl/payment/mollie.php @@ -70,6 +70,7 @@ $_['method_banktransfer'] = 'Overboeking'; $_['method_directdebit'] = 'Eenmalige incasso'; $_['method_belfius'] = 'Belfius Direct Net'; +$_['method_kbc'] = 'KBC/CBC-Betaalknop'; $_['method_bitcoin'] = 'Bitcoin'; $_['method_sofort'] = 'SOFORT Banking'; $_['method_paypal'] = 'PayPal'; diff --git a/catalog/model/payment/mollie_kbc.php b/catalog/model/payment/mollie_kbc.php new file mode 100644 index 00000000..a3c85b29 --- /dev/null +++ b/catalog/model/payment/mollie_kbc.php @@ -0,0 +1,7 @@ +