diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 034b4d2..5d5a9de 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,7 +1,7 @@ ### Prerequisites -- [ ] I have my [server set up correctly](https://guides.wirecard.at/shop_plugins:wcs:woocommerce:installation). -- [ ] I am using a [supported version of WooCommerce](https://guides.wirecard.at/shop_plugins:wcs:woocommerce:start). +- [ ] I have my [server set up correctly](https://guides.wirecard.com/shop_plugins:wcs:woocommerce:installation). +- [ ] I am using a [supported version of WooCommerce](https://guides.wirecard.com/shop_plugins:wcs:woocommerce:start). ### Versions diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 7b5c0f2..3052a94 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -42,7 +42,7 @@ threatening, offensive, or harmful. ## Scope This Code Of Conduct applies to all open source projects published by -Wirecard AG, including the issue tracker of those projects. +Qenta AG, including the issue tracker of those projects. ## Enforcement @@ -58,4 +58,4 @@ This Code of Conduct is adapted from the [Contributor Covenant][homepage], versi available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html [homepage]: https://www.contributor-covenant.org -[email]: mailto:shop-systems-support@wirecard.com +[email]: mailto:support@qenta.com diff --git a/README.md b/README.md index c46bfd3..8e4beb0 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,23 @@ -# Wirecard Checkout Seamless plugin for WooCommerce +# Qenta Checkout Seamless plugin for WooCommerce -[![License](https://img.shields.io/badge/license-GPLv2-blue.svg)](https://raw.githubusercontent.com/wirecard/woocommerce-wcs/master/LICENSE) -[![WooCommerce](https://img.shields.io/badge/WooCommerce-v4.6.1-green.svg)](https://woocommerce.com/) -[![WordPress](https://img.shields.io/badge/WordPress-v5.5.1-green.svg)](https://wordpress.org/) -[![PHP v7.4](https://img.shields.io/badge/php-v7.4-yellow.svg)](http://www.php.net) +[![License](https://img.shields.io/badge/license-GPLv2-blue.svg)](https://raw.githubusercontent.com/qenta-cee/woocommerce-qcs/master/LICENSE) +[![WooCommerce](https://img.shields.io/badge/WooCommerce-v4.6-green.svg)](https://woocommerce.com/) +[![WordPress](https://img.shields.io/badge/WordPress-v5.5-green.svg)](https://wordpress.org/) +[![PHP v7.4](https://img.shields.io/badge/php-v7.4-green.svg)](http://www.php.net) ---- -Wirecard Checkout Seamless plugin for WooCommerce. +Qenta Checkout Seamless plugin for WooCommerce. -Our [Online Guides](https://guides.wirecard.at/) provide further information on payment methods and additional features. Please observe our [terms of use](https://guides.wirecard.at/shop_plugins:info#terms_of_use) regarding plugins. +Our [Online Guides](https://guides.wirecard.com/) provide further information on payment methods and additional features. Please observe our [terms of use](https://guides.wirecard.com/shop_plugins:info#terms_of_use) regarding plugins. ## Installation -Our [Online Guides](https://guides.wirecard.at/shop_plugins:wcs:woocommerce:start "Installation details") also provide technical documentation, installation and configuration instructions for the plugin. +Our [Online Guides](https://guides.wirecard.com/shop_plugins:wcs:woocommerce:start "Installation details") also provide technical documentation, installation and configuration instructions for the plugin. -## Wirecard Checkout Seamless -Wirecard Checkout Seamless is designed to meet the ambitious demands of merchants offering a wide range of payment methods while at the same time fulfilling PCI DSS compliance. The interface is integrated seamlessly into the online shop and allows a customized configuration of the payment process (cross-selling and up-selling) based on your business. +## Qenta Checkout Seamless +Qenta Checkout Seamless is designed to meet the ambitious demands of merchants offering a wide range of payment methods while at the same time fulfilling PCI DSS compliance. The interface is integrated seamlessly into the online shop and allows a customized configuration of the payment process (cross-selling and up-selling) based on your business. -Wirecard Checkout Seamless offers: +Qenta Checkout Seamless offers: - National and international payment methods: credit cards, debit cards, online banking payments, mobile payment solutions and alternative payment methods. - One interface for all payment methods. - More than 120 currencies. @@ -28,5 +28,3 @@ Wirecard Checkout Seamless offers: - PCI DSS 3 SAQ A or SAQ A-EP compliant. - Easy to add new payment methods, additional features, languages and currencies, etc. - Web interface for managing payments (approvals, cancelations, credits, etc.). -- Benefit from Wirecard Bank´s license to conclude credit card acceptance contracts (acquiring) and issue credit cards. -- With Wirecard Collecting only a single contract is required for payouts within various payment methods. diff --git a/woocommerce-wirecard-checkout-seamless/composer.json b/composer.json similarity index 76% rename from woocommerce-wirecard-checkout-seamless/composer.json rename to composer.json index 62d9f28..f5ee232 100755 --- a/woocommerce-wirecard-checkout-seamless/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "qenta/woocommerce-wcs", + "name": "qenta/woocommerce-qenta-checkout-seamless", "license": "GPL-2.0", "type": "library", "description": "QENTA Checkout Seamless plugin for WooCommerce", @@ -13,6 +13,9 @@ "php": "~7.4.0", "psr/http-message": "^1.0", "qenta/checkout-client-library": "^4.0.0" + }, + "config": { + "vendor-dir": "woocommerce-qenta-checkout-seamless/vendor" } } diff --git a/woocommerce-wirecard-checkout-seamless/composer.lock b/composer.lock similarity index 97% rename from woocommerce-wirecard-checkout-seamless/composer.lock rename to composer.lock index ab1101c..1987f1c 100644 --- a/woocommerce-wirecard-checkout-seamless/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "8490dd315bea5bef59a579462cde8204", + "content-hash": "efdf671acdfa5fc33ab35a0064e033ad", "packages": [ { "name": "guzzlehttp/guzzle", @@ -405,12 +405,12 @@ "source": { "type": "git", "url": "https://github.com/qenta-cee/checkout-client-library.git", - "reference": "813a774d38036d630e8ba08326048c0066e1a05e" + "reference": "9238ddebcc7ba85be2d777155d31b9efcf2e2191" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/qenta-cee/checkout-client-library/zipball/813a774d38036d630e8ba08326048c0066e1a05e", - "reference": "813a774d38036d630e8ba08326048c0066e1a05e", + "url": "https://api.github.com/repos/qenta-cee/checkout-client-library/zipball/9238ddebcc7ba85be2d777155d31b9efcf2e2191", + "reference": "9238ddebcc7ba85be2d777155d31b9efcf2e2191", "shasum": "" }, "require": { @@ -424,7 +424,7 @@ "type": "library", "autoload": { "psr-0": { - "WirecardCEE": "library" + "QentaCEE": "library" } }, "notification-url": "https://packagist.org/downloads/", @@ -441,12 +441,12 @@ "seamless" ], "support": { - "docs": "https://guides.wirecard.com", + "docs": "https://guides.qenta.com", "email": "support@qenta.com", "issues": "https://github.com/qenta-cee/checkout-client-library/issues", "source": "https://github.com/qenta-cee/checkout-client-library/tree/4.0.0" }, - "time": "2020-10-31T17:42:10+00:00" + "time": "2020-11-08T19:17:50+00:00" }, { "name": "ralouphie/getallheaders", diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/Bancontact_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/Bancontact_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/Bancontact_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/Bancontact_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/Ekonto_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/Ekonto_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/Ekonto_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/Ekonto_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/Installments_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/Installments_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/Installments_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/Installments_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/Invoice_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/Invoice_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/Invoice_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/Invoice_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/Maestro_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/Maestro_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/Maestro_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/Maestro_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/POLi_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/POLi_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/POLi_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/POLi_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/SEPA_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/SEPA_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/SEPA_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/SEPA_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/Skrill_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/Skrill_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/Skrill_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/Skrill_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/TatraPay_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/TatraPay_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/TatraPay_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/TatraPay_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/TrustPay_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/TrustPay_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/TrustPay_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/TrustPay_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/Trustly_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/Trustly_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/Trustly_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/Trustly_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/Voucher_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/Voucher_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/Voucher_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/Voucher_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/cc_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/cc_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/cc_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/cc_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/ePay_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/ePay_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/ePay_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/ePay_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/eps-Ueberweisung_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/eps-Ueberweisung_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/eps-Ueberweisung_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/eps-Ueberweisung_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/giropay_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/giropay_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/giropay_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/giropay_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/iDEAL_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/iDEAL_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/iDEAL_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/iDEAL_h32.png diff --git a/woocommerce-qenta-checkout-seamless/assets/images/icon.png b/woocommerce-qenta-checkout-seamless/assets/images/icon.png new file mode 100644 index 0000000..07270aa Binary files /dev/null and b/woocommerce-qenta-checkout-seamless/assets/images/icon.png differ diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/masterpass_button_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/masterpass_button_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/masterpass_button_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/masterpass_button_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/moneta-ru_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/moneta-ru_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/moneta-ru_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/moneta-ru_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/p24_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/p24_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/p24_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/p24_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/paybox_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/paybox_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/paybox_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/paybox_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/paypal_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/paypal_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/paypal_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/paypal_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/paysafecard_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/paysafecard_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/paysafecard_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/paysafecard_h32.png diff --git a/woocommerce-qenta-checkout-seamless/assets/images/qenta-logo.png b/woocommerce-qenta-checkout-seamless/assets/images/qenta-logo.png new file mode 100644 index 0000000..07270aa Binary files /dev/null and b/woocommerce-qenta-checkout-seamless/assets/images/qenta-logo.png differ diff --git a/woocommerce-qenta-checkout-seamless/assets/images/qenta.png b/woocommerce-qenta-checkout-seamless/assets/images/qenta.png new file mode 100644 index 0000000..75130a7 Binary files /dev/null and b/woocommerce-qenta-checkout-seamless/assets/images/qenta.png differ diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/sofort_h32.png b/woocommerce-qenta-checkout-seamless/assets/images/sofort_h32.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/sofort_h32.png rename to woocommerce-qenta-checkout-seamless/assets/images/sofort_h32.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/images/wirecard-logo.png b/woocommerce-qenta-checkout-seamless/assets/images/wirecard-logo.png similarity index 100% rename from woocommerce-wirecard-checkout-seamless/assets/images/wirecard-logo.png rename to woocommerce-qenta-checkout-seamless/assets/images/wirecard-logo.png diff --git a/woocommerce-wirecard-checkout-seamless/assets/scripts/admin.js b/woocommerce-qenta-checkout-seamless/assets/scripts/admin.js similarity index 77% rename from woocommerce-wirecard-checkout-seamless/assets/scripts/admin.js rename to woocommerce-qenta-checkout-seamless/assets/scripts/admin.js index de48d10..6cce0cb 100644 --- a/woocommerce-wirecard-checkout-seamless/assets/scripts/admin.js +++ b/woocommerce-qenta-checkout-seamless/assets/scripts/admin.js @@ -1,8 +1,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -10,15 +10,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * diff --git a/woocommerce-wirecard-checkout-seamless/assets/scripts/payment.js b/woocommerce-qenta-checkout-seamless/assets/scripts/payment.js similarity index 83% rename from woocommerce-wirecard-checkout-seamless/assets/scripts/payment.js rename to woocommerce-qenta-checkout-seamless/assets/scripts/payment.js index 7db92d3..1a83810 100644 --- a/woocommerce-wirecard-checkout-seamless/assets/scripts/payment.js +++ b/woocommerce-qenta-checkout-seamless/assets/scripts/payment.js @@ -1,8 +1,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -10,15 +10,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -41,11 +41,11 @@ jQuery(function ($) { $(document).ready(function () { if ($(ccard).parent().find("div#woocommerce_wcs_iframe_ccard").length > 0) - wirecard_wcs.build_iframe('ccard'); + qenta_wcs.build_iframe('ccard'); if ($(ccard_moto).parent().find("div#woocommerce_wcs_iframe_ccard_moto").length > 0) - wirecard_wcs.build_iframe('ccard_moto'); + qenta_wcs.build_iframe('ccard_moto'); if ($(maestro).parent().find("div#woocommerce_wcs_iframe_maestro").length > 0) - wirecard_wcs.build_iframe('maestro'); + qenta_wcs.build_iframe('maestro'); }); $(form).on('submit', function (event) { @@ -58,36 +58,36 @@ jQuery(function ($) { serialized_array.push({ name : $(this).attr('name'), value : $(this).val()}); }); - wirecard_wcs.prepare_data(serialized_array); + qenta_wcs.prepare_data(serialized_array); if ($(ccard).length > 0 && $(ccard).is(':checked')) { - wirecard_wcs.store_card('CCARD'); + qenta_wcs.store_card('CCARD'); - wirecard_wcs.event_stop(event); + qenta_wcs.event_stop(event); } else if ($(ccard_moto).length > 0 && $(ccard_moto).is(':checked')) { - wirecard_wcs.store_card('CCARD_MOTO'); + qenta_wcs.store_card('CCARD_MOTO'); - wirecard_wcs.event_stop(event); + qenta_wcs.event_stop(event); } else if ($(maestro).length > 0 && $(maestro).is(':checked')) { - wirecard_wcs.store_card('MAESTRO'); + qenta_wcs.store_card('MAESTRO'); - wirecard_wcs.event_stop(event); + qenta_wcs.event_stop(event); } else if ($(sepa_dd).length > 0 && $(sepa_dd).is(':checked')) { - wirecard_wcs.store_sepadd(); + qenta_wcs.store_sepadd(); - wirecard_wcs.event_stop(event); + qenta_wcs.event_stop(event); } else if($(paybox).length > 0 && $(paybox).is(':checked')) { - wirecard_wcs.store_paybox(); + qenta_wcs.store_paybox(); - wirecard_wcs.event_stop(event); + qenta_wcs.event_stop(event); } else if($(giropay).length > 0 && $(giropay).is(':checked')) { - wirecard_wcs.store_giropay(); - wirecard_wcs.event_stop(event); + qenta_wcs.store_giropay(); + qenta_wcs.event_stop(event); } @@ -95,7 +95,7 @@ jQuery(function ($) { - var wirecard_wcs = { + var qenta_wcs = { event_stop : function(event){ event.stopPropagation(); event.stopImmediatePropagation(); @@ -186,13 +186,13 @@ jQuery(function ($) { switch (type) { case "CCARD": - this.data_storage.storeCreditCardInformation(payment_information, wirecard_wcs.callback); + this.data_storage.storeCreditCardInformation(payment_information, qenta_wcs.callback); break; case "CCARD_MOTO": - this.data_storage.storeCreditCardMotoInformation(payment_information, wirecard_wcs.callback); + this.data_storage.storeCreditCardMotoInformation(payment_information, qenta_wcs.callback); break; case "MAESTRO": - this.data_storage.storeMaestroInformation(payment_information, wirecard_wcs.callback); + this.data_storage.storeMaestroInformation(payment_information, qenta_wcs.callback); break; } @@ -203,13 +203,13 @@ jQuery(function ($) { accountOwner: this.get_data('accountOwner'), bankBic: this.get_data('bankBic') }; - this.data_storage.storeSepaDdInformation(payment_information, wirecard_wcs.callback); + this.data_storage.storeSepaDdInformation(payment_information, qenta_wcs.callback); }, store_paybox: function () { var payment_information = { payerPayboxNumber: this.get_data('payerPayboxNumber').replace(/\s/g, '') }; - this.data_storage.storePayboxInformation(payment_information, wirecard_wcs.callback); + this.data_storage.storePayboxInformation(payment_information, qenta_wcs.callback); }, store_giropay: function () { var payment_information = { @@ -219,7 +219,7 @@ jQuery(function ($) { if (this.get_data('woo_wcs_giropay_accountowner')) payment_information.accountOwner = this.get_data('woo_wcs_giropay_accountowner'); - this.data_storage.storeGiropayInformation(payment_information, wirecard_wcs.callback); + this.data_storage.storeGiropayInformation(payment_information, qenta_wcs.callback); } } diff --git a/woocommerce-wirecard-checkout-seamless/assets/styles/admin.css b/woocommerce-qenta-checkout-seamless/assets/styles/admin.css similarity index 87% rename from woocommerce-wirecard-checkout-seamless/assets/styles/admin.css rename to woocommerce-qenta-checkout-seamless/assets/styles/admin.css index 71725e3..136df18 100644 --- a/woocommerce-wirecard-checkout-seamless/assets/styles/admin.css +++ b/woocommerce-qenta-checkout-seamless/assets/styles/admin.css @@ -1,8 +1,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -10,15 +10,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * diff --git a/woocommerce-wirecard-checkout-seamless/assets/styles/payment.css b/woocommerce-qenta-checkout-seamless/assets/styles/payment.css similarity index 71% rename from woocommerce-wirecard-checkout-seamless/assets/styles/payment.css rename to woocommerce-qenta-checkout-seamless/assets/styles/payment.css index be20ab6..d613d69 100644 --- a/woocommerce-wirecard-checkout-seamless/assets/styles/payment.css +++ b/woocommerce-qenta-checkout-seamless/assets/styles/payment.css @@ -1,8 +1,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -10,15 +10,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * diff --git a/woocommerce-wirecard-checkout-seamless/classes/class-wirecard-admin.php b/woocommerce-qenta-checkout-seamless/classes/class-qenta-admin.php similarity index 71% rename from woocommerce-wirecard-checkout-seamless/classes/class-wirecard-admin.php rename to woocommerce-qenta-checkout-seamless/classes/class-qenta-admin.php index af98123..da2272d 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/class-wirecard-admin.php +++ b/woocommerce-qenta-checkout-seamless/classes/class-qenta-admin.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -37,7 +37,7 @@ * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Admin { +class WC_Gateway_Qenta_Checkout_Seamless_Admin { /** * Payment gateway settings @@ -49,7 +49,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Admin { protected $_settings; /** - * WC_Gateway_Wirecard_Checkout_Seamless_Admin constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Admin constructor. * * @since 1.0.0 * @@ -64,31 +64,31 @@ public function __construct( $settings ) { * * @since 1.0.0 * - * @param $gateway WC_Gateway_Wirecard_Checkout_Seamless + * @param $gateway WC_Gateway_Qenta_Checkout_Seamless */ public function print_admin_form_fields( $gateway ) { ?>
@@ -172,37 +172,37 @@ public function get_settings_fields( $which = null ) { public function include_backend_header( $gateway ) { ?> '> - + href=''> +

method_title ) ) ? $gateway->method_title : __( 'Settings', - 'woocommerce-wirecard-checkout-seamless' ); ?>

+ 'woocommerce-qenta-checkout-seamless' ); ?>
- -

+ +

-

+

+ 'woocommerce-qenta-checkout-seamless' ) ?>

@@ -214,19 +214,19 @@ public function include_backend_header( $gateway ) { * * @since 1.0.0 * - * @param WC_Gateway_Wirecard_Checkout_Seamless_Transaction $transaction + * @param WC_Gateway_Qenta_Checkout_Seamless_Transaction $transaction * @param $page */ public function print_transaction_table( $transaction, $page ) { echo '

' . __( 'Transaction overview', - 'woocommerce-wirecard-checkout-seamless' ) . '

+ 'woocommerce-qenta-checkout-seamless' ) . '
'; - $back = __( '< Back', 'woocommerce-wirecard-checkout-seamless' ); - $next = __( 'Next >', 'woocommerce-wirecard-checkout-seamless' ); + $back = __( '< Back', 'woocommerce-qenta-checkout-seamless' ); + $next = __( 'Next >', 'woocommerce-qenta-checkout-seamless' ); $pages = $transaction->get_rows( $page ); @@ -234,14 +234,14 @@ public function print_transaction_table( $transaction, $page ) { if ( $page > 1 ) { $prev_page = $page - 1; - echo "$back"; + echo "$back"; } if ( $pages < 5 ) { for ( $i = 0; $i < $pages; $i ++ ) { $pagenr = $i + 1; $active = ( $pagenr == $page ) ? ' active' : ''; - $href = ( $pagenr == $page ) ? 'javascript:void(0)' : "?page=wirecard_transactions_page&transaction_start=$pagenr"; + $href = ( $pagenr == $page ) ? 'javascript:void(0)' : "?page=qenta_transactions_page&transaction_start=$pagenr"; echo "$pagenr"; } } @@ -268,7 +268,7 @@ public function print_transaction_table( $transaction, $page ) { @@ -278,7 +278,7 @@ function goToWctPage(page) { if ( $page < $pages ) { $next_page = $page + 1; - echo "$next"; + echo "$next"; } ?> @@ -300,35 +300,35 @@ public function print_transaction_details( $data ) { echo '

' . __( 'Transaction details', - 'woocommerce-wirecard-checkout-seamless' ) . '

+ 'woocommerce-qenta-checkout-seamless' ) . '
- + - + - + - + - + - + - +
' . __( 'Order', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Order', 'woocommerce-qenta-checkout-seamless' ) . ' ' . $data->id_order . '
' . __( 'Payment method', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Payment method', 'woocommerce-qenta-checkout-seamless' ) . ' ' . $data->payment_method . '
' . __( 'Payment state', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Payment state', 'woocommerce-qenta-checkout-seamless' ) . ' ' . $data->payment_state . '
' . __( 'Amount', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Amount', 'woocommerce-qenta-checkout-seamless' ) . ' ' . $data->amount . '
' . __( 'Currency', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Currency', 'woocommerce-qenta-checkout-seamless' ) . ' ' . $data->currency . '
' . __( 'Gateway reference number', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Gateway reference number', 'woocommerce-qenta-checkout-seamless' ) . ' ' . $data->gateway_reference . '
' . __( 'Wirecard order number', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Qenta order number', 'woocommerce-qenta-checkout-seamless' ) . ' ' . $data->order_number . '
@@ -337,8 +337,8 @@ public function print_transaction_details( $data ) { if ( $data->order_details ) { echo '
-

' . __( 'Wirecard order details', - 'woocommerce-wirecard-checkout-seamless' ) . '

+

' . __( 'Qenta order details', + 'woocommerce-qenta-checkout-seamless' ) . '

'; @@ -350,25 +350,25 @@ public function print_transaction_details( $data ) { } echo '
-

' . __( 'Payments', 'woocommerce-wirecard-checkout-seamless' ) . '

+

' . __( 'Payments', 'woocommerce-qenta-checkout-seamless' ) . '

- - - - - - - - + + + + + + + + '; if ( count( $data->payments ) == 0 ) { echo ""; } @@ -412,7 +412,7 @@ public function print_transaction_details( $data ) { } echo ""; + 'woocommerce-qenta-checkout-seamless' ) . ""; echo ""; } @@ -426,24 +426,24 @@ public function print_transaction_details( $data ) { // credits echo '
-

' . __( 'Credits', 'woocommerce-wirecard-checkout-seamless' ) . '

+

' . __( 'Credits', 'woocommerce-qenta-checkout-seamless' ) . '

' . __( 'Number', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Date', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Gateway reference', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Payment state', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Approved', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Deposited', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Currency', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Operations', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Number', 'woocommerce-qenta-checkout-seamless' ) . '' . __( 'Date', 'woocommerce-qenta-checkout-seamless' ) . '' . __( 'Gateway reference', 'woocommerce-qenta-checkout-seamless' ) . '' . __( 'Payment state', 'woocommerce-qenta-checkout-seamless' ) . '' . __( 'Approved', 'woocommerce-qenta-checkout-seamless' ) . '' . __( 'Deposited', 'woocommerce-qenta-checkout-seamless' ) . '' . __( 'Currency', 'woocommerce-qenta-checkout-seamless' ) . '' . __( 'Operations', 'woocommerce-qenta-checkout-seamless' ) . '

- " . __( 'No payments available', 'woocommerce-wirecard-checkout-seamless' ) . " + " . __( 'No payments available', 'woocommerce-qenta-checkout-seamless' ) . "
- - - - - - - + + + + + + + '; if ( count( $data->credits ) == 0 ) { echo ""; } @@ -469,7 +469,7 @@ public function print_transaction_details( $data ) { continue; } echo ""; + 'woocommerce-qenta-checkout-seamless' ) . ""; } echo " @@ -493,7 +493,7 @@ public function print_support_form() {

- +

@@ -505,26 +505,18 @@ public function print_support_form() { settings_errors(); ?> -
+
' . __( 'Number', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Date', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Gateway reference', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Credit state', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Amount', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Currency', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Operations', 'woocommerce-wirecard-checkout-seamless' ) . '' . __( 'Number', 'woocommerce-qenta-checkout-seamless' ) . '' . __( 'Date', 'woocommerce-qenta-checkout-seamless' ) . '' . __( 'Gateway reference', 'woocommerce-qenta-checkout-seamless' ) . '' . __( 'Credit state', 'woocommerce-qenta-checkout-seamless' ) . '' . __( 'Amount', 'woocommerce-qenta-checkout-seamless' ) . '' . __( 'Currency', 'woocommerce-qenta-checkout-seamless' ) . '' . __( 'Operations', 'woocommerce-qenta-checkout-seamless' ) . '

- " . __( 'No credits available', 'woocommerce-wirecard-checkout-seamless' ) . " + " . __( 'No credits available', 'woocommerce-qenta-checkout-seamless' ) . "
@@ -532,7 +524,7 @@ public function print_support_form() { @@ -540,7 +532,7 @@ public function print_support_form() { @@ -548,7 +540,7 @@ public function print_support_form() {

+ value=""/>
@@ -593,17 +585,17 @@ public function create_support_request() { if ( empty( $from ) ) { add_settings_error( '', '', __( 'Your e-mail address must not be empty.', - 'woocommerce-wirecard-checkout-seamless' ), 'error' ); + 'woocommerce-qenta-checkout-seamless' ), 'error' ); } else { $send = wp_mail( $send_to, $subject, $message, $headers ); if ( $send ) { add_settings_error( '', '', - __( 'Your request has been sent', 'woocommerce-wirecard-checkout-seamless' ), + __( 'Your request has been sent', 'woocommerce-qenta-checkout-seamless' ), 'updated' ); } else { add_settings_error( '', '', - __( 'Your request could not be sent', 'woocommerce-wirecard-checkout-seamless' ), + __( 'Your request could not be sent', 'woocommerce-qenta-checkout-seamless' ), 'error' ); } } diff --git a/woocommerce-wirecard-checkout-seamless/classes/class-wirecard-backend-operations.php b/woocommerce-qenta-checkout-seamless/classes/class-qenta-backend-operations.php similarity index 84% rename from woocommerce-wirecard-checkout-seamless/classes/class-wirecard-backend-operations.php rename to woocommerce-qenta-checkout-seamless/classes/class-qenta-backend-operations.php index 2d116dc..a005903 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/class-wirecard-backend-operations.php +++ b/woocommerce-qenta-checkout-seamless/classes/class-qenta-backend-operations.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -37,7 +37,7 @@ * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Backend_Operations { +class WC_Gateway_Qenta_Checkout_Seamless_Backend_Operations { /** * Payment gateway settings @@ -53,7 +53,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Backend_Operations { * * @since 1.0.0 * @access protected - * @var WC_Gateway_Wirecard_Checkout_Seamless_Config + * @var WC_Gateway_Qenta_Checkout_Seamless_Config */ protected $_config; @@ -67,7 +67,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Backend_Operations { protected $_logger; /** - * WC_Gateway_Wirecard_Checkout_Seamless_Backend_Operations constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Backend_Operations constructor. * * @since 1.0.0 * @@ -75,7 +75,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Backend_Operations { */ public function __construct( $settings ) { $this->_settings = $settings; - $this->_config = new WC_Gateway_Wirecard_Checkout_Seamless_Config( $settings ); + $this->_config = new WC_Gateway_Qenta_Checkout_Seamless_Config( $settings ); $this->_logger = new WC_Logger(); } @@ -92,7 +92,7 @@ public function refund( $order_id = 0, $amount = 0, $reason = '' ) { $order_id = $_POST['order_id']; $refund_amount = $_POST['refund_amount']; if ( $refund_amount <= 0 ) { - $this->_logger->error( __( 'Refund amount must be greater than zero.', 'woocommerce-wirecard-checkout-seamless' ) ); + $this->_logger->error( __( 'Refund amount must be greater than zero.', 'woocommerce-qenta-checkout-seamless' ) ); return false; } @@ -124,7 +124,7 @@ public function refund( $order_id = 0, $amount = 0, $reason = '' ) { $order = $order_details->getOrder(); // get transaction informations - $tx_query = $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}wirecard_checkout_seamless_tx WHERE id_order = %d", $order_id ); + $tx_query = $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}qenta_checkout_seamless_tx WHERE id_order = %d", $order_id ); $tx_data = $wpdb->get_row( $tx_query ); $tx_original = unserialize( $tx_data->request ); @@ -133,12 +133,12 @@ public function refund( $order_id = 0, $amount = 0, $reason = '' ) { if ( in_array( 'REFUND', $order->getOperationsAllowed() ) ) { if ( ( - $tx_data->payment_method == WirecardCEE_Stdlib_PaymentTypeAbstract::INVOICE + $tx_data->payment_method == QentaCEE_Stdlib_PaymentTypeAbstract::INVOICE && $this->_settings['woo_wcs_invoiceprovider'] != 'payolution' ) or ( - $tx_data->payment_method == WirecardCEE_QMore_PaymentType::INSTALLMENT + $tx_data->payment_method == QentaCEE_QMore_PaymentType::INSTALLMENT && $this->_settings['woo_wcs_installmentprovider'] != 'payolution' ) ) { @@ -180,10 +180,10 @@ public function refund( $order_id = 0, $amount = 0, $reason = '' ) { } else { // the following have allowed transferFund command $allowed_payment_methods = array( - WirecardCEE_QMore_PaymentType::IDL, - WirecardCEE_QMore_PaymentType::SKRILLWALLET, - WirecardCEE_QMore_PaymentType::SOFORTUEBERWEISUNG, - WirecardCEE_QMore_PaymentType::SEPADD + QentaCEE_QMore_PaymentType::IDL, + QentaCEE_QMore_PaymentType::SKRILLWALLET, + QentaCEE_QMore_PaymentType::SOFORTUEBERWEISUNG, + QentaCEE_QMore_PaymentType::SEPADD ); if ( in_array( $tx_data->payment_method, $allowed_payment_methods ) ) { @@ -202,11 +202,11 @@ public function refund( $order_id = 0, $amount = 0, $reason = '' ) { * @param $refund_items * @param $wc_order * @param $tx_original - * @return WirecardCEE_Stdlib_Basket + * @return QentaCEE_Stdlib_Basket */ public function create_basket( $refund_items, $wc_order, $tx_original ) { $wc_order_items = $wc_order->get_items(); - $basket = new WirecardCEE_Stdlib_Basket(); + $basket = new QentaCEE_Stdlib_Basket(); $basket_items = 0; if ( isset( $tx_original['basketItems'] ) ) { @@ -237,7 +237,7 @@ public function create_basket( $refund_items, $wc_order, $tx_original ) { if ( key_exists( $product_data['sku'], $original_basket ) ) { $refund_item = $original_basket[$product_data['sku']]; - $basket_item = new WirecardCEE_Stdlib_Basket_Item( $product_data['sku'] ); + $basket_item = new QentaCEE_Stdlib_Basket_Item( $product_data['sku'] ); $basket_item->setName( $refund_item['name'] ) ->setDescription( $refund_item['description'] ) @@ -261,13 +261,13 @@ public function create_basket( $refund_items, $wc_order, $tx_original ) { * * @param $refund_items * @param $wc_order - * @return WirecardCEE_Stdlib_Basket + * @return QentaCEE_Stdlib_Basket */ public function create_basket_without_items( $refund_amount, $wc_order ) { $order_data = $wc_order->get_data(); - $basket = new WirecardCEE_Stdlib_Basket(); - $basket_item = new WirecardCEE_Stdlib_Basket_Item( 'Total refund ratepay' , 1); + $basket = new QentaCEE_Stdlib_Basket(); + $basket_item = new QentaCEE_Stdlib_Basket_Item( 'Total refund ratepay' , 1); $tax = $order_data['total_tax']; $net = $order_data['total'] - $order_data['total_tax']; @@ -293,27 +293,27 @@ public function create_basket_without_items( $refund_amount, $wc_order ) { } /** - * get the wirecard order details + * get the qenta order details * * @since 1.0.0 * * @param int $wcs_order_number * - * @return WirecardCEE_QMore_Response_Backend_GetOrderDetails + * @return QentaCEE_QMore_Response_Backend_GetOrderDetails */ public function get_order_details( $wcs_order_number ) { return $this->get_client()->getOrderDetails( $wcs_order_number ); } /** - * get the wirecard backend client + * get the qenta backend client * * @since 1.0.0 * - * @return WirecardCEE_QMore_BackendClient + * @return QentaCEE_QMore_BackendClient */ public function get_client() { - return new WirecardCEE_QMore_BackendClient( + return new QentaCEE_QMore_BackendClient( array_merge( $this->_config->get_client_config(), array( 'PASSWORD' => $this->_config->get_backend_password() ) ) ); @@ -324,7 +324,7 @@ public function get_client() { * * @since 1.0.0 * - * @param WirecardCEE_QMore_Error $errors + * @param QentaCEE_QMore_Error $errors */ private function logResponseErrors( $method, $errors ) { $_errors = array(); @@ -350,20 +350,20 @@ private function logResponseErrors( $method, $errors ) { public function transfer_fund_refund( $amount, $currency, $order_number, $woocommerce_order, $payment_method ) { global $wpdb; - /** @var WirecardCEE_QMore_Request_Backend_TransferFund_Existing $client */ - $client = $this->get_client()->transferFund( WirecardCEE_QMore_BackendClient::$TRANSFER_FUND_TYPE_EXISTING ); + /** @var QentaCEE_QMore_Request_Backend_TransferFund_Existing $client */ + $client = $this->get_client()->transferFund( QentaCEE_QMore_BackendClient::$TRANSFER_FUND_TYPE_EXISTING ); // collect data of the order - $refundable_sum = $wpdb->prepare( "SELECT SUM(amount) as sum FROM {$wpdb->prefix}wirecard_checkout_seamless_tx WHERE id_order = %d", $woocommerce_order->get_id() ); + $refundable_sum = $wpdb->prepare( "SELECT SUM(amount) as sum FROM {$wpdb->prefix}qenta_checkout_seamless_tx WHERE id_order = %d", $woocommerce_order->get_id() ); $refundable_sum = $wpdb->get_row( $refundable_sum ); if ( $refundable_sum !== null && $amount > $refundable_sum->sum ) { - $this->_logger->error( __METHOD__ . ":" . __( 'The refunded amount must be less than deposited amount.', 'woocommerce-wirecard-checkout-seamless' ) ); + $this->_logger->error( __METHOD__ . ":" . __( 'The refunded amount must be less than deposited amount.', 'woocommerce-qenta-checkout-seamless' ) ); return false; } - $transaction = new WC_Gateway_Wirecard_Checkout_Seamless_Transaction( $this->_settings ); + $transaction = new WC_Gateway_Qenta_Checkout_Seamless_Transaction( $this->_settings ); $ret = $client->send( $amount, @@ -382,7 +382,7 @@ public function transfer_fund_refund( $amount, $currency, $order_number, $woocom return false; } else { - /** @var WirecardCEE_QMore_Response_Backend_TransferFund $response */ + /** @var QentaCEE_QMore_Response_Backend_TransferFund $response */ $response = $ret->getResponse(); $transaction->create( $woocommerce_order->get_id(), - $amount, $currency, 'TRANSFERFUND::' . $payment_method ); @@ -399,7 +399,7 @@ public function transfer_fund_refund( $amount, $currency, $order_number, $woocom * * @param $wcs_order_number * - * @return WirecardCEE_QMore_Response_Backend_Order_PaymentIterator + * @return QentaCEE_QMore_Response_Backend_Order_PaymentIterator */ public function get_payments( $wcs_order_number ) { return $this->get_order_details( $wcs_order_number )->getOrder()->getPayments(); @@ -412,7 +412,7 @@ public function get_payments( $wcs_order_number ) { * * @param $wcs_order_number * - * @return WirecardCEE_QMore_Response_Backend_Order_CreditIterator + * @return QentaCEE_QMore_Response_Backend_Order_CreditIterator */ public function get_credits( $wcs_order_number ) { return $this->get_order_details( $wcs_order_number )->getOrder()->getCredits(); @@ -507,7 +507,7 @@ public function depositreversal( $orderNumber, $paymentNumber ) { */ public function approvereversal( $orderNumber ) { $response = $this->get_client()->approveReversal( $orderNumber ); - $transaction = new WC_Gateway_Wirecard_Checkout_Seamless_Transaction( $this->_settings ); + $transaction = new WC_Gateway_Qenta_Checkout_Seamless_Transaction( $this->_settings ); if ( $response->hasFailed() ) { $this->logResponseErrors( __METHOD__, $response->getErrors() ); @@ -521,7 +521,7 @@ public function approvereversal( $orderNumber ) { if( isset($_POST['id_tx'])){ $transaction->update( array( 'payment_state' => 'CANCELED BY ADMIN' ), array( 'id_tx' => $_POST['id_tx'] ) ); } - return array( 'type' => 'updated', 'message' => __( 'APPROVEREVERSAL', 'woocommerce-wirecard-checkout-seamless' ) ); + return array( 'type' => 'updated', 'message' => __( 'APPROVEREVERSAL', 'woocommerce-qenta-checkout-seamless' ) ); } } @@ -579,7 +579,7 @@ public function refundreversal( $orderNumber, $creditNumber, $wc_order_number ) } else { return array( 'type' => 'notice-warning', - 'message' => __( 'Refund reversal finished, but no corresponing refund found in the order. You might need to update the order manually.', 'woocommerce-wirecard-checkout-seamless' ) + 'message' => __( 'Refund reversal finished, but no corresponing refund found in the order. You might need to update the order manually.', 'woocommerce-qenta-checkout-seamless' ) ); } } diff --git a/woocommerce-wirecard-checkout-seamless/classes/class-wirecard-config.php b/woocommerce-qenta-checkout-seamless/classes/class-qenta-config.php similarity index 85% rename from woocommerce-wirecard-checkout-seamless/classes/class-wirecard-config.php rename to woocommerce-qenta-checkout-seamless/classes/class-qenta-config.php index 7174765..48a1c83 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/class-wirecard-config.php +++ b/woocommerce-qenta-checkout-seamless/classes/class-qenta-config.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -30,8 +30,8 @@ * Please do not use the plugin if you do not agree to these terms of use! */ -define( 'WOOCOMMERCE_GATEWAY_WCS_NAME', 'WirecardCheckoutSeamless' ); -define( 'WOOCOMMERCE_GATEWAY_WCS_VERSION', '1.0.19' ); +define( 'WOOCOMMERCE_GATEWAY_WCS_NAME', 'QentaCheckoutSeamless' ); +define( 'WOOCOMMERCE_GATEWAY_WCS_VERSION', '2.0.0' ); /** * Config class @@ -40,7 +40,7 @@ * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Config { +class WC_Gateway_Qenta_Checkout_Seamless_Config { /** * Payment gateway settings @@ -80,7 +80,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Config { ); /** - * WC_Gateway_Wirecard_Checkout_Seamless_Config constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Config constructor. * * @since 1.0.0 * @@ -202,7 +202,7 @@ public function get_order_description( $order ) { * @return string */ public function get_plugin_version() { - return WirecardCEE_QMore_FrontendClient::generatePluginVersion( + return QentaCEE_QMore_FrontendClient::generatePluginVersion( 'woocommerce', WC()->version, WOOCOMMERCE_GATEWAY_WCS_NAME, @@ -229,10 +229,10 @@ public function get_order_reference( $order ) { * @param $gateway * * @since 1.0.0 - * @return WirecardCEE_Stdlib_ConsumerData + * @return QentaCEE_Stdlib_ConsumerData */ public function get_consumer_data( $order, $gateway, $checkout_data ) { - $consumerData = new WirecardCEE_Stdlib_ConsumerData(); + $consumerData = new QentaCEE_Stdlib_ConsumerData(); $consumerData->setIpAddress( $order->get_customer_ip_address() ); $consumerData->setUserAgent( $_SERVER['HTTP_USER_AGENT'] ); @@ -252,8 +252,8 @@ public function get_consumer_data( $order, $gateway, $checkout_data ) { $shipping_address = $this->get_address_data( $order, 'shipping' ); $consumerData->addAddressInformation( $shipping_address ); } - if ($checkout_data['wcs_payment_method'] == WirecardCEE_Stdlib_PaymentTypeAbstract::INVOICE || - $checkout_data['wcs_payment_method'] == WirecardCEE_Stdlib_PaymentTypeAbstract::INSTALLMENT) { + if ($checkout_data['wcs_payment_method'] == QentaCEE_Stdlib_PaymentTypeAbstract::INVOICE || + $checkout_data['wcs_payment_method'] == QentaCEE_Stdlib_PaymentTypeAbstract::INSTALLMENT) { $birth_date = new DateTime( $checkout_data['dob_year'] . '-' . $checkout_data['dob_month'] . '-' . $checkout_data['dob_day'] ); $consumerData->setBirthDate($birth_date); } @@ -272,8 +272,8 @@ public function get_consumer_data( $order, $gateway, $checkout_data ) { */ public function force_consumer_data( $payment_method ) { switch ( $payment_method ) { - case WirecardCEE_Stdlib_PaymentTypeAbstract::INVOICE: - case WirecardCEE_Stdlib_PaymentTypeAbstract::INSTALLMENT: + case QentaCEE_Stdlib_PaymentTypeAbstract::INVOICE: + case QentaCEE_Stdlib_PaymentTypeAbstract::INSTALLMENT: return true; default: return false; @@ -291,12 +291,12 @@ public function force_consumer_data( $payment_method ) { */ public function force_basket_data( $payment_method, $gateway ) { switch ( $payment_method ) { - case WirecardCEE_Stdlib_PaymentTypeAbstract::INVOICE: + case QentaCEE_Stdlib_PaymentTypeAbstract::INVOICE: if ( 'payolution' != $gateway->get_option('woo_wcs_invoiceprovider') ) { return true; } return false; - case WirecardCEE_Stdlib_PaymentTypeAbstract::INSTALLMENT: + case QentaCEE_Stdlib_PaymentTypeAbstract::INSTALLMENT: if ( 'payolution' != $gateway->get_option('woo_wcs_installmentprovider') ) { return true; } @@ -313,12 +313,12 @@ public function force_basket_data( $payment_method, $gateway ) { * @param string $type * * @since 1.0.0 - * @return WirecardCEE_Stdlib_ConsumerData_Address + * @return QentaCEE_Stdlib_ConsumerData_Address */ public function get_address_data( $order, $type = 'billing' ) { switch ( $type ) { case 'shipping': - $address = new WirecardCEE_Stdlib_ConsumerData_Address( WirecardCEE_Stdlib_ConsumerData_Address::TYPE_SHIPPING ); + $address = new QentaCEE_Stdlib_ConsumerData_Address( QentaCEE_Stdlib_ConsumerData_Address::TYPE_SHIPPING ); $address->setFirstname( $order->get_shipping_first_name() ) ->setLastname( $order->get_shipping_last_name() ) ->setAddress1( $order->get_shipping_address_1() ) @@ -330,7 +330,7 @@ public function get_address_data( $order, $type = 'billing' ) { break; case 'billing': default: - $address = new WirecardCEE_Stdlib_ConsumerData_Address( WirecardCEE_Stdlib_ConsumerData_Address::TYPE_BILLING ); + $address = new QentaCEE_Stdlib_ConsumerData_Address( QentaCEE_Stdlib_ConsumerData_Address::TYPE_BILLING ); $address->setFirstname( $order->get_billing_first_name() ) ->setLastname( $order->get_billing_last_name() ) ->setAddress1( $order->get_billing_address_1() ) @@ -360,7 +360,7 @@ public function get_customer_statement( $order, $payment_type ) { $shop_name = get_bloginfo('name'); $order_reference = strval( intval( $this->get_order_reference( $order ) ) ); - if ( $payment_type == WirecardCEE_QMore_PaymentType::POLI ) { + if ( $payment_type == QentaCEE_QMore_PaymentType::POLI ) { return sprintf( '%9s', substr( get_bloginfo( 'name' ), 0, 9 ) ); } @@ -381,14 +381,14 @@ public function get_customer_statement( $order, $payment_type ) { * Generate shopping basket * * @since 1.0.0 - * @return WirecardCEE_Stdlib_Basket + * @return QentaCEE_Stdlib_Basket */ public function get_shopping_basket( $order_amount = 0 ) { global $woocommerce; $cart = $woocommerce->cart; - $basket = new WirecardCEE_Stdlib_Basket(); + $basket = new QentaCEE_Stdlib_Basket(); foreach ( $cart->get_cart() as $cart_item_key => $cart_item ) { $article_nr = $cart_item['product_id']; @@ -401,7 +401,7 @@ public function get_shopping_basket( $order_amount = 0 ) { $image_url = wp_get_attachment_image_url( $attachment_id ); } - $item = new WirecardCEE_Stdlib_Basket_Item( $article_nr ); + $item = new QentaCEE_Stdlib_Basket_Item( $article_nr ); $item_net_amount = $cart_item['line_total']; $item_tax_amount = $cart_item['line_tax']; $item_quantity = $cart_item['quantity']; @@ -424,7 +424,7 @@ public function get_shopping_basket( $order_amount = 0 ) { // Add shipping to the basket if ( isset( $cart->shipping_total ) && $cart->shipping_total > 0 ) { - $item = new WirecardCEE_Stdlib_Basket_Item( 'shipping' ); + $item = new QentaCEE_Stdlib_Basket_Item( 'shipping' ); $item->setUnitGrossAmount( wc_format_decimal( $cart->shipping_total + $cart->shipping_tax_total, wc_get_price_decimals() ) ) ->setUnitNetAmount( wc_format_decimal( $cart->shipping_total, wc_get_price_decimals() ) ) @@ -438,7 +438,7 @@ public function get_shopping_basket( $order_amount = 0 ) { if ( $order_amount > 0 ) { $rounding_difference = $this->get_rounding_difference( $basket, $order_amount ); if ( $rounding_difference != 0 ) { - $item = new WirecardCEE_Stdlib_Basket_Item( 'rounding' ); + $item = new QentaCEE_Stdlib_Basket_Item( 'rounding' ); $item->setUnitGrossAmount( wc_format_decimal( $rounding_difference, wc_get_price_decimals() ) ) ->setUnitNetAmount( wc_format_decimal( $rounding_difference, wc_get_price_decimals() ) ) ->setUnitTaxAmount( 0 ) @@ -454,11 +454,11 @@ public function get_shopping_basket( $order_amount = 0 ) { /** * Calculate rounding differences - * @param WirecardCEE_Stdlib_Basket $basket + * @param QentaCEE_Stdlib_Basket $basket * @param float $total_amount * @return float */ - public function get_rounding_difference( WirecardCEE_Stdlib_Basket $basket, $total_amount ) { + public function get_rounding_difference( QentaCEE_Stdlib_Basket $basket, $total_amount ) { $total_amount_rounded = 0; $amount_difference = 0; $basket_data = $basket->getData(); diff --git a/woocommerce-wirecard-checkout-seamless/classes/class-wirecard-datastorage.php b/woocommerce-qenta-checkout-seamless/classes/class-qenta-datastorage.php similarity index 81% rename from woocommerce-wirecard-checkout-seamless/classes/class-wirecard-datastorage.php rename to woocommerce-qenta-checkout-seamless/classes/class-qenta-datastorage.php index 098a92a..f450db4 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/class-wirecard-datastorage.php +++ b/woocommerce-qenta-checkout-seamless/classes/class-qenta-datastorage.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -37,7 +37,7 @@ * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Data_Storage { +class WC_Gateway_Qenta_Checkout_Seamless_Data_Storage { /** * Payment gateway settings @@ -53,7 +53,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Data_Storage { * * @since 1.0.0 * @access protected - * @var WC_Gateway_Wirecard_Checkout_Seamless_Config + * @var WC_Gateway_Qenta_Checkout_Seamless_Config */ protected $_config; @@ -67,7 +67,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Data_Storage { protected $_logger; /** - * WC_Gateway_Wirecard_Checkout_Seamless_Data_Storage constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Data_Storage constructor. * * @since 1.0.0 * @@ -77,7 +77,7 @@ public function __construct( $settings ) { $this->_settings = $settings; $this->_logger = new WC_Logger(); - $this->_config = new WC_Gateway_Wirecard_Checkout_Seamless_Config( $settings ); + $this->_config = new WC_Gateway_Qenta_Checkout_Seamless_Config( $settings ); } /** @@ -85,7 +85,7 @@ public function __construct( $settings ) { * * @since 1.0.0 * - * @return WirecardCEE_QMore_DataStorage_Response_Initiation + * @return QentaCEE_QMore_DataStorage_Response_Initiation */ public function init() { global $woocommerce; @@ -97,7 +97,7 @@ public function init() { } else { $woocommerce->session->set( 'wcs_session_order_ident', $order_ident ); } - $data_storage_init = new WirecardCEE_QMore_DataStorageClient( + $data_storage_init = new QentaCEE_QMore_DataStorageClient( $this->_config->get_client_config() ); diff --git a/woocommerce-wirecard-checkout-seamless/classes/class-wirecard-gateway.php b/woocommerce-qenta-checkout-seamless/classes/class-qenta-gateway.php similarity index 84% rename from woocommerce-wirecard-checkout-seamless/classes/class-wirecard-gateway.php rename to woocommerce-qenta-checkout-seamless/classes/class-qenta-gateway.php index 8915c6a..8a89117 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/class-wirecard-gateway.php +++ b/woocommerce-qenta-checkout-seamless/classes/class-qenta-gateway.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -30,11 +30,11 @@ * Please do not use the plugin if you do not agree to these terms of use! */ -require_once( WOOCOMMERCE_GATEWAY_WCS_BASEDIR . 'classes/class-wirecard-admin.php' ); -require_once( WOOCOMMERCE_GATEWAY_WCS_BASEDIR . 'classes/class-wirecard-config.php' ); -require_once( WOOCOMMERCE_GATEWAY_WCS_BASEDIR . 'classes/class-wirecard-datastorage.php' ); -require_once( WOOCOMMERCE_GATEWAY_WCS_BASEDIR . 'classes/class-wirecard-transaction.php' ); -require_once( WOOCOMMERCE_GATEWAY_WCS_BASEDIR . 'classes/class-wirecard-backend-operations.php' ); +require_once( WOOCOMMERCE_GATEWAY_WCS_BASEDIR . 'classes/class-qenta-admin.php' ); +require_once( WOOCOMMERCE_GATEWAY_WCS_BASEDIR . 'classes/class-qenta-config.php' ); +require_once( WOOCOMMERCE_GATEWAY_WCS_BASEDIR . 'classes/class-qenta-datastorage.php' ); +require_once( WOOCOMMERCE_GATEWAY_WCS_BASEDIR . 'classes/class-qenta-transaction.php' ); +require_once( WOOCOMMERCE_GATEWAY_WCS_BASEDIR . 'classes/class-qenta-backend-operations.php' ); /** * Basic gateway class @@ -43,14 +43,14 @@ * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless extends WC_Payment_Gateway { +class WC_Gateway_Qenta_Checkout_Seamless extends WC_Payment_Gateway { /** * Admin Class * * @since 1.0.0 * @access protected - * @var WC_Gateway_Wirecard_Checkout_Seamless_Admin + * @var WC_Gateway_Qenta_Checkout_Seamless_Admin */ protected $_admin; @@ -59,7 +59,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless extends WC_Payment_Gateway { * * @since 1.0.0 * @access protected - * @var WC_Gateway_Wirecard_Checkout_Seamless_Config + * @var WC_Gateway_Qenta_Checkout_Seamless_Config */ protected $_config; @@ -77,33 +77,33 @@ class WC_Gateway_Wirecard_Checkout_Seamless extends WC_Payment_Gateway { * * @since 1.0.0 * @access protected - * @var WC_Gateway_Wirecard_Checkout_Seamless_Transaction + * @var WC_Gateway_Qenta_Checkout_Seamless_Transaction */ protected $_transaction; /** - * WC_Gateway_Wirecard_Checkout_Seamless constructor. + * WC_Gateway_Qenta_Checkout_Seamless constructor. * * @since 1.0.0 */ public function __construct() { $this->id = "woocommerce_wcs"; - $this->method_title = "Wirecard Checkout Seamless"; + $this->method_title = "Qenta Checkout Seamless"; $this->has_fields = true; $this->payment_name = ''; $this->init_form_fields(); $this->init_settings(); $this->_logger = new WC_Logger(); - $this->_admin = new WC_Gateway_Wirecard_Checkout_Seamless_Admin( $this->settings ); - $this->_config = new WC_Gateway_Wirecard_Checkout_Seamless_Config( $this->settings ); - $this->_transaction = new WC_Gateway_Wirecard_Checkout_Seamless_Transaction( $this->settings ); + $this->_admin = new WC_Gateway_Qenta_Checkout_Seamless_Admin( $this->settings ); + $this->_config = new WC_Gateway_Qenta_Checkout_Seamless_Config( $this->settings ); + $this->_transaction = new WC_Gateway_Qenta_Checkout_Seamless_Transaction( $this->settings ); $this->supports = array( 'refunds' ); // if any of the payment types are enabled, set this to "yes", otherwise "no" $this->enabled = count( $this->get_enabled_payment_types( false ) ) > 0 ? "yes" : "no"; - $this->title = 'Wirecard Checkout Seamless'; + $this->title = 'Qenta Checkout Seamless'; add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( @@ -113,14 +113,14 @@ public function __construct() { // Payment listener/API hook add_action( - 'woocommerce_api_wc_gateway_wirecard_checkout_seamless', + 'woocommerce_api_wc_gateway_qenta_checkout_seamless', array( $this, 'confirm_request' ) ); add_action( - 'woocommerce_api_wc_gateway_wirecard_checkout_seamless_return', + 'woocommerce_api_wc_gateway_qenta_checkout_seamless_return', array( $this, 'return_request' @@ -175,7 +175,7 @@ protected function get_enabled_payment_types( $load_class = true ) { $type = new stdClass(); if ( $load_class ) { - $class = 'WC_Gateway_Wirecard_Checkout_Seamless_' . ucfirst( strtolower( str_replace( "-", "_", + $class = 'WC_Gateway_Qenta_Checkout_Seamless_' . ucfirst( strtolower( str_replace( "-", "_", $code ) ) ); $type = new $class( $this->settings ); @@ -303,7 +303,7 @@ public function admin_options() { * @since 1.0.0 */ public function payment_fields() { - $dataStorage = new WC_Gateway_Wirecard_Checkout_Seamless_Data_Storage( $this->settings ); + $dataStorage = new WC_Gateway_Qenta_Checkout_Seamless_Data_Storage( $this->settings ); if ( WC()->session->get( 'consumerDeviceId' ) ) { $consumerDeviceId = WC()->session->get( 'consumerDeviceId' ); } else { @@ -369,10 +369,10 @@ class="input-radio" get_label(); if ( is_array( $type->get_icon() ) ) { foreach ( $type->get_icon() as $icon ) { - echo "Wirecard {$type->get_payment_type()}"; + echo "Qenta {$type->get_payment_type()}"; } } else { - echo "Wirecard {$type->get_payment_type()}"; + echo "Qenta {$type->get_payment_type()}"; } ?>
settings['woo_wcs_backendpassword'] ) ) { return new WP_Error( 'refund_error', 'No password for backend operations (Toolkit) provided. Please visit your settings!' ); } - $backend_operations = new WC_Gateway_Wirecard_Checkout_Seamless_Backend_Operations( $this->settings ); + $backend_operations = new WC_Gateway_Qenta_Checkout_Seamless_Backend_Operations( $this->settings ); return $backend_operations->refund( $order_id, $amount, $reason ); } @@ -423,7 +423,7 @@ public function process_payment( $order_id ) { $payment_type = $_POST['wcs_payment_method']; - $paymentClass = 'WC_Gateway_Wirecard_Checkout_Seamless_'. str_replace('-', '_', ucfirst(strtolower($payment_type))); + $paymentClass = 'WC_Gateway_Qenta_Checkout_Seamless_'. str_replace('-', '_', ucfirst(strtolower($payment_type))); $paymentClass = new $paymentClass( $this->settings ); update_post_meta( $order_id, '_payment_method_title', $paymentClass->get_label()); @@ -455,7 +455,7 @@ public function payment_page( $order_id ) { $data['iframeUrl'] = $order->get_cancel_endpoint(); header( 'Location: ' . $data['iframeUrl'] ); die(); - } else if ( $data['wcs_payment_method'] == WirecardCEE_Stdlib_PaymentTypeAbstract::SOFORTUEBERWEISUNG ) { + } else if ( $data['wcs_payment_method'] == QentaCEE_Stdlib_PaymentTypeAbstract::SOFORTUEBERWEISUNG ) { header( 'Location: ' . $data['iframeUrl'] ); die(); } @@ -468,7 +468,7 @@ public function payment_page( $order_id ) { } /** - * Initialization of Wirecard payment + * Initialization of Qenta payment * * @since 1.0.0 * @@ -484,10 +484,10 @@ public function initiate_payment( $order ) { try { $config_array = $this->_config->get_client_config(); - $client = new WirecardCEE_QMore_FrontendClient( $config_array ); + $client = new QentaCEE_QMore_FrontendClient( $config_array ); - $return_url = add_query_arg( 'wc-api', 'WC_Gateway_Wirecard_Checkout_Seamless', + $return_url = add_query_arg( 'wc-api', 'WC_Gateway_Qenta_Checkout_Seamless', home_url( '/', is_ssl() ? 'https' : 'http' ) ); $consumer_data = $this->_config->get_consumer_data( $order, $this, $checkout_data ); @@ -496,7 +496,7 @@ public function initiate_payment( $order ) { // Check if service url is valid if ( filter_var( $service_url, FILTER_VALIDATE_URL ) === false ) { - wc_add_notice( __( "Service URL is invalid", 'woocommerce-wirecard-checkout-seamless' ), 'error' ); + wc_add_notice( __( "Service URL is invalid", 'woocommerce-qenta-checkout-seamless' ), 'error' ); return; } @@ -521,7 +521,7 @@ public function initiate_payment( $order ) { } if ( $transaction_id == 0 ) { - wc_add_notice( __( "Creating transaction entry failed!", 'woocommerce-wirecard-checkout-seamless' ), + wc_add_notice( __( "Creating transaction entry failed!", 'woocommerce-qenta-checkout-seamless' ), 'error' ); $this->_logger->error( __METHOD__ . ': Creating transaction entry failed before initializing.' ); @@ -554,11 +554,11 @@ public function initiate_payment( $order ) { } switch ( $checkout_data['wcs_payment_method'] ){ - case WirecardCEE_QMore_PaymentType::EPS : $client->setFinancialInstitution($checkout_data['woo_wcs_eps_financialInstitution']); + case QentaCEE_QMore_PaymentType::EPS : $client->setFinancialInstitution($checkout_data['woo_wcs_eps_financialInstitution']); break; - case WirecardCEE_QMore_PaymentType::IDL : $client->setFinancialInstitution($checkout_data['woo_wcs_idl_financialInstitution']); + case QentaCEE_QMore_PaymentType::IDL : $client->setFinancialInstitution($checkout_data['woo_wcs_idl_financialInstitution']); break; - case WirecardCEE_QMore_PaymentType::TRUSTPAY : $client->setFinancialInstitution($checkout_data['woo_wcs_trustpay_financialInstitution']); + case QentaCEE_QMore_PaymentType::TRUSTPAY : $client->setFinancialInstitution($checkout_data['woo_wcs_trustpay_financialInstitution']); break; } @@ -589,7 +589,7 @@ public function initiate_payment( $order ) { foreach ( $initResponse->getErrors() as $error ) { wc_add_notice( __( "Response failed! Error: {$error->getConsumerMessage()}", - 'woocommerce-wirecard-checkout-seamless' ), + 'woocommerce-qenta-checkout-seamless' ), 'error' ); $this->_logger->error( __METHOD__ . ': ' . $error->getConsumerMessage() ); @@ -642,7 +642,7 @@ public function initiate_payment( $order ) { */ public function create_return_url( $order, $payment_state ) { $return_url = add_query_arg( array( - 'wc-api' => 'WC_Gateway_Wirecard_Checkout_Seamless_Return', + 'wc-api' => 'WC_Gateway_Qenta_Checkout_Seamless_Return', 'order-id' => $order->get_id(), 'paymentState' => $payment_state ), @@ -672,7 +672,7 @@ public function confirm_request() { $message = 'order-id missing'; $this->_logger->error( __METHOD__ . ':' . $message ); - print WirecardCEE_QMore_ReturnFactory::generateConfirmResponseString( $message ); + print QentaCEE_QMore_ReturnFactory::generateConfirmResponseString( $message ); die(); } @@ -685,7 +685,7 @@ public function confirm_request() { $this->_logger->error( __METHOD__ . ':' . $message ); - print WirecardCEE_QMore_ReturnFactory::generateConfirmResponseString( $message ); + print QentaCEE_QMore_ReturnFactory::generateConfirmResponseString( $message ); die(); } @@ -694,7 +694,7 @@ public function confirm_request() { $this->_logger->error( __METHOD__ . ':' . $message ); - print WirecardCEE_QMore_ReturnFactory::generateConfirmResponseString( $message ); + print QentaCEE_QMore_ReturnFactory::generateConfirmResponseString( $message ); die(); } @@ -707,17 +707,17 @@ public function confirm_request() { $message = null; try { - $return = WirecardCEE_QMore_ReturnFactory::getInstance( + $return = QentaCEE_QMore_ReturnFactory::getInstance( $_POST, $this->_config->get_client_secret( $this ) ); if ( ! $return->validate() ) { - $message = __( 'Validation error: invalid response', 'woocommerce-wirecard-checkout-seamless' ); + $message = __( 'Validation error: invalid response', 'woocommerce-qenta-checkout-seamless' ); $this->_logger->error( __METHOD__ . ':' . $message ); $order->update_status( 'failed', $message ); - print WirecardCEE_QMore_ReturnFactory::generateConfirmResponseString( $message ); + print QentaCEE_QMore_ReturnFactory::generateConfirmResponseString( $message ); die(); } @@ -731,7 +731,7 @@ public function confirm_request() { } switch ( $return->getPaymentState() ) { - case WirecardCEE_QMore_ReturnFactory::STATE_SUCCESS: + case QentaCEE_QMore_ReturnFactory::STATE_SUCCESS: update_post_meta( $order->get_id(), 'wcs_gateway_reference_number', $return->getGatewayReferenceNumber() ); update_post_meta( $order->get_id(), 'wcs_order_number', $return->getOrderNumber() ); @@ -744,13 +744,13 @@ public function confirm_request() { ), array( 'id_tx' => $transaction_id ) ); $order->payment_complete(); - print WirecardCEE_QMore_ReturnFactory::generateConfirmResponseString( $message ); + print QentaCEE_QMore_ReturnFactory::generateConfirmResponseString( $message ); die(); - case WirecardCEE_QMore_ReturnFactory::STATE_PENDING: + case QentaCEE_QMore_ReturnFactory::STATE_PENDING: $order->update_status( 'on-hold', - __( 'Awaiting payment notification from 3rd party.', 'woocommerce-wirecard-checkout-seamless' ) + __( 'Awaiting payment notification from 3rd party.', 'woocommerce-qenta-checkout-seamless' ) ); $this->_transaction->update( array( 'payment_state' => $return->getPaymentState(), @@ -759,12 +759,12 @@ public function confirm_request() { ), array( 'id_tx' => $transaction_id ) ); - print WirecardCEE_QMore_ReturnFactory::generateConfirmResponseString( $message ); + print QentaCEE_QMore_ReturnFactory::generateConfirmResponseString( $message ); die(); - case WirecardCEE_QMore_ReturnFactory::STATE_CANCEL: + case QentaCEE_QMore_ReturnFactory::STATE_CANCEL: $order->update_status( 'cancelled', - __( 'Payment cancelled.', 'woocommerce-wirecard-checkout-seamless' ) ); + __( 'Payment cancelled.', 'woocommerce-qenta-checkout-seamless' ) ); $this->_transaction->update( array( 'payment_state' => $return->getPaymentState(), 'message' => 'ok', @@ -772,10 +772,10 @@ public function confirm_request() { ), array( 'id_tx' => $transaction_id ) ); - print WirecardCEE_QMore_ReturnFactory::generateConfirmResponseString( $message ); + print QentaCEE_QMore_ReturnFactory::generateConfirmResponseString( $message ); die(); - case WirecardCEE_QMore_ReturnFactory::STATE_FAILURE: + case QentaCEE_QMore_ReturnFactory::STATE_FAILURE: $errors = array(); foreach ( $return->getErrors() as $error ) { $errors[] = $error->getConsumerMessage(); @@ -792,7 +792,7 @@ public function confirm_request() { ), array( 'id_tx' => $transaction_id ) ); - print WirecardCEE_QMore_ReturnFactory::generateConfirmResponseString( $message ); + print QentaCEE_QMore_ReturnFactory::generateConfirmResponseString( $message ); die(); default: @@ -810,7 +810,7 @@ public function confirm_request() { array( 'id_tx' => $transaction_id ) ); } - print WirecardCEE_QMore_ReturnFactory::generateConfirmResponseString( $message ); + print QentaCEE_QMore_ReturnFactory::generateConfirmResponseString( $message ); die(); } @@ -849,7 +849,7 @@ public function return_request() { if ( !array_key_exists( 'redirected', $_REQUEST ) ) { $url = add_query_arg( array( - 'wc-api' => 'WC_Gateway_Wirecard_Checkout_Seamless_Return', + 'wc-api' => 'WC_Gateway_Qenta_Checkout_Seamless_Return', 'order-id' => isset( $_REQUEST['order-id'] ) ? $_REQUEST['order-id'] : '', 'paymentState' => isset( $_REQUEST['paymentState'] ) ? $_REQUEST['paymentState'] : 'FAILURE' ), home_url( '/', is_ssl() ? 'https' : 'http' ) ); @@ -865,7 +865,7 @@ public function return_request() { } if ( ! isset( $_REQUEST['order-id'] ) || ! strlen( $_REQUEST['order-id'] ) ) { - wc_add_notice( __( 'Order-Id missing', 'woocommerce-wirecard-checkout-seamless' ), 'error' ); + wc_add_notice( __( 'Order-Id missing', 'woocommerce-qenta-checkout-seamless' ), 'error' ); $this->_logger->notice( __METHOD__ . ': Order-Id missing' ); header( 'Location: ' . $redirectUrl ); @@ -880,17 +880,17 @@ public function return_request() { $consumerMessage = ''; switch ( $_REQUEST['paymentState'] ) { - case WirecardCEE_QMore_ReturnFactory::STATE_SUCCESS: - case WirecardCEE_QMore_ReturnFactory::STATE_PENDING: + case QentaCEE_QMore_ReturnFactory::STATE_SUCCESS: + case QentaCEE_QMore_ReturnFactory::STATE_PENDING: $redirectUrl = $this->get_return_url( $order ); break; - case WirecardCEE_QMore_ReturnFactory::STATE_CANCEL: - wc_add_notice( __( 'Payment has been cancelled.', 'woocommerce-wirecard-checkout-seamless' ), 'error' ); + case QentaCEE_QMore_ReturnFactory::STATE_CANCEL: + wc_add_notice( __( 'Payment has been cancelled.', 'woocommerce-qenta-checkout-seamless' ), 'error' ); $redirectUrl = $order->get_cancel_endpoint(); break; - case WirecardCEE_QMore_ReturnFactory::STATE_FAILURE: + case QentaCEE_QMore_ReturnFactory::STATE_FAILURE: // get error messages from order if ( get_post_meta( $order_id, 'wcs_data', true ) ) { $errors = get_post_meta( $order_id, 'wcs_data', true ); @@ -901,9 +901,9 @@ public function return_request() { } } if( strlen( $consumerMessage ) ) { - wc_add_notice( __( $consumerMessage, 'woocommerce-wirecard-checkout-seamless' ), 'error' ); + wc_add_notice( __( $consumerMessage, 'woocommerce-qenta-checkout-seamless' ), 'error' ); } else { - wc_add_notice( __( 'Payment has failed.', 'woocommerce-wirecard-checkout-seamless' ), 'error' ); + wc_add_notice( __( 'Payment has failed.', 'woocommerce-qenta-checkout-seamless' ), 'error' ); } $redirectUrl = $order->get_cancel_endpoint(); break; @@ -934,7 +934,7 @@ public function thankyou_order_received_text( $var, $order ) { foreach( $metadata as $line ) { $line = explode( ":", $line ); if( isset( $line[0] ) && $line[0] == 'paymentType' ){ - $paymentClass = 'WC_Gateway_Wirecard_Checkout_Seamless_'. + $paymentClass = 'WC_Gateway_Qenta_Checkout_Seamless_'. str_replace('-', '_', ucfirst(strtolower($line[1]))); $paymentClass = new $paymentClass( $this->settings ); @@ -943,9 +943,9 @@ public function thankyou_order_received_text( $var, $order ) { } if ( $order->get_status() == 'on-hold' ) { $var = '

' . __( 'Payment verification is pending', - 'woocommerce-wirecard-checkout-seamless' ) . '

' . __( + 'woocommerce-qenta-checkout-seamless' ) . '' . __( 'Your order will be processed as soon as we receive the payment confirmation from your bank.', - 'woocommerce-wirecard-checkout-seamless' + 'woocommerce-qenta-checkout-seamless' ); } @@ -964,7 +964,7 @@ public function thankyou_order_received_text( $var, $order ) { public function validate_fields() { $args = $this->get_post_data(); - $payment_class = 'WC_Gateway_Wirecard_Checkout_Seamless_' . ucfirst( strtolower( str_replace( "-", "_", + $payment_class = 'WC_Gateway_Qenta_Checkout_Seamless_' . ucfirst( strtolower( str_replace( "-", "_", $args['wcs_payment_method'] ) ) ); if ( class_exists( $payment_class ) ) { $payment_class = new $payment_class( $this->settings ); @@ -997,17 +997,17 @@ public function datastorage_return() { * * @since 1.0.0 */ - public function wirecard_transaction_do_page() { + public function qenta_transaction_do_page() { echo "
"; $this->_admin->include_backend_header( $this ); if ( empty( $this->settings['woo_wcs_backendpassword'] ) ) { - $this->wirecard_transactions_error_page( 'No password for backend operations (Toolkit) provided. Please visit your settings!' ); + $this->qenta_transactions_error_page( 'No password for backend operations (Toolkit) provided. Please visit your settings!' ); return false; } - $backend_operations = new WC_Gateway_Wirecard_Checkout_Seamless_Backend_Operations( $this->settings ); + $backend_operations = new WC_Gateway_Qenta_Checkout_Seamless_Backend_Operations( $this->settings ); if ( isset( $_SERVER['REQUEST_METHOD'] ) && $_SERVER['REQUEST_METHOD'] == 'POST' ) { @@ -1035,7 +1035,7 @@ public function wirecard_transaction_do_page() { $tx = $this->_transaction->get( $id_tx ); if ( empty ( $id_tx ) ) { - $this->wirecard_transactions_do_page(); + $this->qenta_transactions_do_page(); } $data = $tx; @@ -1070,7 +1070,7 @@ public function wirecard_transaction_do_page() { * * @since 1.0.0 */ - public function wirecard_transactions_do_page() { + public function qenta_transactions_do_page() { echo "
"; $this->_admin->include_backend_header( $this ); @@ -1083,7 +1083,7 @@ public function wirecard_transactions_do_page() { /** * Handles transaction error overview */ - public function wirecard_transactions_error_page( $error_msg ) { + public function qenta_transactions_error_page( $error_msg ) { echo "
"; echo htmlentities( $error_msg ); echo "
"; diff --git a/woocommerce-wirecard-checkout-seamless/classes/class-wirecard-transaction.php b/woocommerce-qenta-checkout-seamless/classes/class-qenta-transaction.php similarity index 72% rename from woocommerce-wirecard-checkout-seamless/classes/class-wirecard-transaction.php rename to woocommerce-qenta-checkout-seamless/classes/class-qenta-transaction.php index e35ab6a..257ae48 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/class-wirecard-transaction.php +++ b/woocommerce-qenta-checkout-seamless/classes/class-qenta-transaction.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -37,7 +37,7 @@ * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Transaction { +class WC_Gateway_Qenta_Checkout_Seamless_Transaction { /** * Tablename with prefix @@ -67,7 +67,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Transaction { protected $_settings; /** - * WC_Gateway_Wirecard_Checkout_Seamless_Transaction constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Transaction constructor. * * @since 1.0.0 * @@ -78,37 +78,37 @@ public function __construct( $settings ) { $this->_settings = $settings; - $this->_table_name = $wpdb->base_prefix . 'wirecard_checkout_seamless_tx'; + $this->_table_name = $wpdb->base_prefix . 'qenta_checkout_seamless_tx'; //field lables for transaction overview $this->_fields_list = array( 'id_tx' => array( - 'title' => __( "ID", 'woocommerce-wirecard-checkout-seamless' ) + 'title' => __( "ID", 'woocommerce-qenta-checkout-seamless' ) ), 'message' => array( - 'title' => __( "Status", 'woocommerce-wirecard-checkout-seamless' ) + 'title' => __( "Status", 'woocommerce-qenta-checkout-seamless' ) ), 'amount' => array( - 'title' => __( "Amount", 'woocommerce-wirecard-checkout-seamless' ) + 'title' => __( "Amount", 'woocommerce-qenta-checkout-seamless' ) ), 'currency' => array( - 'title' => __( "Currency", 'woocommerce-wirecard-checkout-seamless' ) + 'title' => __( "Currency", 'woocommerce-qenta-checkout-seamless' ) ), 'id_order' => array( - 'title' => __( "Order number", 'woocommerce-wirecard-checkout-seamless' ) + 'title' => __( "Order number", 'woocommerce-qenta-checkout-seamless' ) ), 'gateway_reference' => array( - 'title' => __( "Gateway reference number", 'woocommerce-wirecard-checkout-seamless' ) + 'title' => __( "Gateway reference number", 'woocommerce-qenta-checkout-seamless' ) ), 'payment_method' => array( - 'title' => __( "Payment method", 'woocommerce-wirecard-checkout-seamless' ) + 'title' => __( "Payment method", 'woocommerce-qenta-checkout-seamless' ) ), 'payment_state' => array( - 'title' => __( "State", 'woocommerce-wirecard-checkout-seamless' ) + 'title' => __( "State", 'woocommerce-qenta-checkout-seamless' ) ), 'actions' => array( - 'title' => __( "", 'woocommerce-wirecard-checkout-seamless' ) + 'title' => __( "", 'woocommerce-qenta-checkout-seamless' ) ) ); @@ -215,7 +215,7 @@ public function get_existing_transaction( $id_order ) { public function get_tx_by( $by, $value ) { global $wpdb; - $tx = $wpdb->get_row( "SELECT * FROM {$wpdb->prefix}wirecard_checkout_seamless_tx WHERE $by = $value" ); + $tx = $wpdb->get_row( "SELECT * FROM {$wpdb->prefix}qenta_checkout_seamless_tx WHERE $by = $value" ); if ( empty( $tx ) ) { return false; @@ -239,10 +239,10 @@ public function get_rows( $page = 1 ) { $start = ( $page * 20 ) - 19; $start --; - $query = $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}wirecard_checkout_seamless_tx LIMIT %d,20", $start ); + $query = $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}qenta_checkout_seamless_tx LIMIT %d,20", $start ); $rows = $wpdb->get_results( $query, ARRAY_A ); - $sum_query = "SELECT CEILING(COUNT(*)/20) as pages FROM {$wpdb->prefix}wirecard_checkout_seamless_tx"; + $sum_query = "SELECT CEILING(COUNT(*)/20) as pages FROM {$wpdb->prefix}qenta_checkout_seamless_tx"; $pages = $wpdb->get_row( $sum_query ); @@ -270,8 +270,8 @@ public function get_rows( $page = 1 ) { echo ""; } - echo ""; - echo __( 'View', 'woocommerce-wirecard-checkout-seamless' ); + echo ""; + echo __( 'View', 'woocommerce-qenta-checkout-seamless' ); echo " "; } diff --git a/woocommerce-wirecard-checkout-seamless/classes/includes/datastorage_fallback.php b/woocommerce-qenta-checkout-seamless/classes/includes/datastorage_fallback.php similarity index 67% rename from woocommerce-wirecard-checkout-seamless/classes/includes/datastorage_fallback.php rename to woocommerce-qenta-checkout-seamless/classes/includes/datastorage_fallback.php index 68c0e0c..76d2301 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/includes/datastorage_fallback.php +++ b/woocommerce-qenta-checkout-seamless/classes/includes/datastorage_fallback.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -37,8 +37,8 @@ '; if ( $this->_settings['woo_wcs_cc_display_cardholder_field'] ) { $html .= "

"; - $html .= ""; + $html .= ""; $html .= ""; $html .= "

"; } @@ -136,14 +136,14 @@ function parse' . $payment_type . 'date(value,issexp){ // card number field $html .= "

"; $html .= ""; + 'woocommerce-qenta-checkout-seamless' ) . " *"; $html .= ""; $html .= "

"; // expiration date input group $html .= '

- + _settings['woo_wcs_cc_display_cvc_field'] ) { $html .= '

'; $html .= ''; @@ -173,7 +173,7 @@ class="input-text wc-credit-card-form-card-expiry" if ( $this->_settings['woo_wcs_cc_display_issue_date_field'] ) { $html .= '

- + _settings['woo_wcs_cc_display_issue_number_field'] ) { $html .= "

"; - $html .= ""; + $html .= ""; $html .= ""; $html .= "

"; } @@ -208,7 +208,7 @@ class="input-text wc-credit-card-form-card-expiry" * @return string */ public function get_payment_type() { - return WirecardCEE_QMore_PaymentType::CCARD; + return QentaCEE_QMore_PaymentType::CCARD; } /** @@ -226,9 +226,9 @@ public function validate_payment_fields( $data ) { $payment_type = str_replace( "-", "_", $data['wcs_payment_method'] ); - if ( $this->_settings['woo_wcs_cc_display_cvc_field'] && $data['wcs_payment_method'] != WirecardCEE_QMore_PaymentType::CCARD_MOTO && empty( $data[ $payment_type . 'cvc' ] ) ) { + if ( $this->_settings['woo_wcs_cc_display_cvc_field'] && $data['wcs_payment_method'] != QentaCEE_QMore_PaymentType::CCARD_MOTO && empty( $data[ $payment_type . 'cvc' ] ) ) { $errors[] = __( 'Card verification code is missing', - 'woocommerce-wirecard-checkout-seamless' ); + 'woocommerce-qenta-checkout-seamless' ); } return count( $errors ) == 0 ? true : join( "
", $errors ); diff --git a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-ccard_moto.php b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-ccard_moto.php similarity index 67% rename from woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-ccard_moto.php rename to woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-ccard_moto.php index aa78b7b..e332f45 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-ccard_moto.php +++ b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-ccard_moto.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -35,13 +35,13 @@ } /** - * Class WC_Gateway_Wirecard_Checkout_Seamless_Ccard_Moto + * Class WC_Gateway_Qenta_Checkout_Seamless_Ccard_Moto * * @since 1.0.0 * - * @see WC_Gateway_Wirecard_Checkout_Seamless_Ccard + * @see WC_Gateway_Qenta_Checkout_Seamless_Ccard */ -class WC_Gateway_Wirecard_Checkout_Seamless_Ccard_Moto extends WC_Gateway_Wirecard_Checkout_Seamless_Ccard { +class WC_Gateway_Qenta_Checkout_Seamless_Ccard_Moto extends WC_Gateway_Qenta_Checkout_Seamless_Ccard { /** * override the label to the credit card moto @@ -51,7 +51,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Ccard_Moto extends WC_Gateway_Wireca * @return string|void */ public function get_label() { - return __( 'Credit Card Moto', 'woocommerce-wirecard-checkout-seamless' ); + return __( 'Credit Card Moto', 'woocommerce-qenta-checkout-seamless' ); } /** @@ -62,7 +62,7 @@ public function get_label() { * @return string */ public function get_payment_type() { - return WirecardCEE_QMore_PaymentType::CCARD_MOTO; + return QentaCEE_QMore_PaymentType::CCARD_MOTO; } /** diff --git a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-ekonto.php b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-ekonto.php similarity index 70% rename from woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-ekonto.php rename to woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-ekonto.php index 05fea74..2af4637 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-ekonto.php +++ b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-ekonto.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -35,11 +35,11 @@ } /** - * Class WC_Gateway_Wirecard_Checkout_Seamless_Ekonto + * Class WC_Gateway_Qenta_Checkout_Seamless_Ekonto * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Ekonto { +class WC_Gateway_Qenta_Checkout_Seamless_Ekonto { /** * Payment gateway settings @@ -51,7 +51,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Ekonto { protected $_settings = array(); /** - * WC_Gateway_Wirecard_Checkout_Seamless_Ekonto constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Ekonto constructor. * * @since 1.0.0 * @@ -69,7 +69,7 @@ public function __construct( $settings ) { * @return string|void */ public function get_label() { - return __( 'eKonto', 'woocommerce-wirecard-checkout-seamless' ); + return __( 'eKonto', 'woocommerce-qenta-checkout-seamless' ); } /** @@ -102,7 +102,7 @@ public function has_payment_fields() { * @return string */ public function get_payment_type() { - return WirecardCEE_QMore_PaymentType::EKONTO; + return QentaCEE_QMore_PaymentType::EKONTO; } } diff --git a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-epay_bg.php b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-epay_bg.php similarity index 70% rename from woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-epay_bg.php rename to woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-epay_bg.php index 0a1d9b0..b67b16a 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-epay_bg.php +++ b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-epay_bg.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -35,11 +35,11 @@ } /** - * Class WC_Gateway_Wirecard_Checkout_Seamless_Epay_bg + * Class WC_Gateway_Qenta_Checkout_Seamless_Epay_bg * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Epay_bg { +class WC_Gateway_Qenta_Checkout_Seamless_Epay_bg { /** * Payment gateway settings @@ -51,7 +51,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Epay_bg { protected $_settings = array(); /** - * WC_Gateway_Wirecard_Checkout_Seamless_Epay_bg constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Epay_bg constructor. * * @since 1.0.0 * @@ -69,7 +69,7 @@ public function __construct( $settings ) { * @return string|void */ public function get_label() { - return __( 'ePay.bg', 'woocommerce-wirecard-checkout-seamless' ); + return __( 'ePay.bg', 'woocommerce-qenta-checkout-seamless' ); } /** @@ -102,7 +102,7 @@ public function has_payment_fields() { * @return string */ public function get_payment_type() { - return WirecardCEE_QMore_PaymentType::EPAYBG; + return QentaCEE_QMore_PaymentType::EPAYBG; } } diff --git a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-eps.php b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-eps.php similarity index 71% rename from woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-eps.php rename to woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-eps.php index 9f4e59f..88dd9f0 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-eps.php +++ b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-eps.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -35,11 +35,11 @@ } /** - * Class WC_Gateway_Wirecard_Checkout_Seamless_Eps + * Class WC_Gateway_Qenta_Checkout_Seamless_Eps * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Eps { +class WC_Gateway_Qenta_Checkout_Seamless_Eps { /** * Payment gateway settings @@ -51,7 +51,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Eps { protected $_settings = array(); /** - * WC_Gateway_Wirecard_Checkout_Seamless_Eps constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Eps constructor. * * @since 1.0.0 * @@ -69,7 +69,7 @@ public function __construct( $settings ) { * @return string|void */ public function get_label() { - return __( 'eps-Überweisung', 'woocommerce-wirecard-checkout-seamless' ); + return __( 'eps-Überweisung', 'woocommerce-qenta-checkout-seamless' ); } /** @@ -107,10 +107,10 @@ public function get_payment_fields() { // dropdown for financial institution $html .= "

"; $html .= ""; + 'woocommerce-qenta-checkout-seamless' ) . " *"; $html .= ""; $html .= "

"; $html .= "

"; $html .= ""; + 'woocommerce-qenta-checkout-seamless' ) . " *"; $html .= ""; $html .= "

"; $html .= "

"; $html .= ""; + 'woocommerce-qenta-checkout-seamless' ) . " *"; $html .= ""; $html .= "

"; @@ -137,7 +137,7 @@ public function get_payment_fields() { * @return string */ public function get_payment_type() { - return WirecardCEE_QMore_PaymentType::GIROPAY; + return QentaCEE_QMore_PaymentType::GIROPAY; } /** @@ -155,12 +155,12 @@ public function validate_payment_fields( $data ) { if ( empty( $data['woo_wcs_giropay_accountnumber'] ) ) { $errors[] = "• " . __( 'Account number must not be empty.', - 'woocommerce-wirecard-checkout-seamless' ); + 'woocommerce-qenta-checkout-seamless' ); } if ( empty( $data['woo_wcs_giropay_banknumber'] ) ) { $errors[] = "• " . __( 'Bank number must not be empty.', - 'woocommerce-wirecard-checkout-seamless' ); + 'woocommerce-qenta-checkout-seamless' ); } return count( $errors ) == 0 ? true : join( "
", $errors ); diff --git a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-idl.php b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-idl.php similarity index 71% rename from woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-idl.php rename to woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-idl.php index d302a33..05f5ddd 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-idl.php +++ b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-idl.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -35,11 +35,11 @@ } /** - * Class WC_Gateway_Wirecard_Checkout_Seamless_Idl + * Class WC_Gateway_Qenta_Checkout_Seamless_Idl * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Idl { +class WC_Gateway_Qenta_Checkout_Seamless_Idl { /** * Payment gateway settings @@ -51,7 +51,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Idl { protected $_settings = array(); /** - * WC_Gateway_Wirecard_Checkout_Seamless_Idl constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Idl constructor. * * @since 1.0.0 * @@ -69,7 +69,7 @@ public function __construct( $settings ) { * @return string|void */ public function get_label() { - return __( 'iDeal', 'woocommerce-wirecard-checkout-seamless' ); + return __( 'iDeal', 'woocommerce-qenta-checkout-seamless' ); } /** @@ -108,10 +108,10 @@ public function get_payment_fields() { // dropdown for financial institution $html .= "

"; $html .= ""; + 'woocommerce-qenta-checkout-seamless' ) . " *"; $html .= ""; for ( $day = 31; $day > 0; $day -- ) { @@ -135,20 +135,20 @@ public function get_payment_fields() { $payolution_mid = urlencode( base64_encode( $this->_settings['woo_wcs_payolutionmid'] ) ); - $consent_link = __( 'consent', 'woocommerce-wirecard-checkout-seamless' ); + $consent_link = __( 'consent', 'woocommerce-qenta-checkout-seamless' ); if ( strlen( $this->_settings['woo_wcs_payolutionmid'] ) > 5 ) { $consent_link = sprintf( '%s', $payolution_mid, - __( 'consent', 'woocommerce-wirecard-checkout-seamless' ) ); + __( 'consent', 'woocommerce-qenta-checkout-seamless' ) ); } $html .= "

"; $html .= ""; + . __( ' can be revoked at any time with effect for the future.', 'woocommerce-qenta-checkout-seamless' ) . ""; $html .= "

"; } @@ -166,7 +166,7 @@ public function get_payment_fields() { * @return string */ public function get_payment_type() { - return WirecardCEE_QMore_PaymentType::INSTALLMENT; + return QentaCEE_QMore_PaymentType::INSTALLMENT; } /** @@ -181,8 +181,8 @@ public function get_risk() { return $this->is_available_payolution(); } elseif ( $this->_settings['woo_wcs_installmentprovider'] == 'ratepay' ) { return $this->is_available_ratepay(); - } elseif ( $this->_settings['woo_wcs_installmentprovider'] == 'wirecard' ) { - return $this->is_available_wirecard(); + } elseif ( $this->_settings['woo_wcs_installmentprovider'] == 'qenta' ) { + return $this->is_available_qenta(); } return false; @@ -321,14 +321,14 @@ private function is_available_ratepay() { } /** - * as the wirecard has the same conditions as ratepay, return the is_available_ratepay method + * as the qenta has the same conditions as ratepay, return the is_available_ratepay method * * @since 1.0.0 * * @return bool */ - private function is_available_wirecard() { - // should conditions of wirecard change, add them here + private function is_available_qenta() { + // should conditions of qenta change, add them here return $this->is_available_ratepay(); } @@ -344,7 +344,7 @@ public function validate_payment_fields( $data ) { $errors = [ ]; if ( $this->_settings['woo_wcs_payolutionterms'] && $data['wcs_installment_consent'] != 'on' && $this->check_terms( $data['wcs_payment_method'] ) ) { - $errors[] = "• " . __( 'Please accept the consent terms!', 'woocommerce-wirecard-checkout-seamless' ); + $errors[] = "• " . __( 'Please accept the consent terms!', 'woocommerce-qenta-checkout-seamless' ); } $birthdate = new DateTime( $data['wcs_installment_dob_year'] . '-' . $data['wcs_installment_dob_month'] . '-' . $data['wcs_installment_dob_day'] ); @@ -354,7 +354,7 @@ public function validate_payment_fields( $data ) { if ( $age < 18 ) { $errors[] = "• " . __( 'You have to be 18 years or older to use this payment.', - 'woocommerce-wirecard-checkout-seamless' ); + 'woocommerce-qenta-checkout-seamless' ); } return count( $errors ) == 0 ? true : join( "
", $errors ); diff --git a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-invoice.php b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-invoice.php similarity index 83% rename from woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-invoice.php rename to woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-invoice.php index 5923e0a..0d1a3ad 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-invoice.php +++ b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-invoice.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -35,11 +35,11 @@ } /** - * Class WC_Gateway_Wirecard_Checkout_Seamless_Invoice + * Class WC_Gateway_Qenta_Checkout_Seamless_Invoice * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Invoice { +class WC_Gateway_Qenta_Checkout_Seamless_Invoice { /** * Payment gateway settings @@ -51,7 +51,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Invoice { protected $_settings = array(); /** - * WC_Gateway_Wirecard_Checkout_Seamless_Invoice constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Invoice constructor. * * @since 1.0.0 * @@ -69,7 +69,7 @@ public function __construct( $settings ) { * @return string|void */ public function get_label() { - return __( 'Invoice', 'woocommerce-wirecard-checkout-seamless' ); + return __( 'Invoice', 'woocommerce-qenta-checkout-seamless' ); } /** @@ -108,7 +108,7 @@ public function get_payment_fields() { // account owner field $html .= "

"; $html .= ""; + 'woocommerce-qenta-checkout-seamless' ) . ""; $html .= "" - . __( 'I agree that the data which are necessary for the liquidation of purchase on account and which are used to complete the identity and credit check are transmitted to payolution. My ', 'woocommerce-wirecard-checkout-seamless' ) + . __( 'I agree that the data which are necessary for the liquidation of purchase on account and which are used to complete the identity and credit check are transmitted to payolution. My ', 'woocommerce-qenta-checkout-seamless' ) . $consent_link - . __(' can be revoked at any time with effect for the future.', 'woocommerce-wirecard-checkout-seamless' ) . ""; + . __(' can be revoked at any time with effect for the future.', 'woocommerce-qenta-checkout-seamless' ) . ""; $html .= "

"; } @@ -166,7 +166,7 @@ public function get_payment_fields() { * @return string */ public function get_payment_type() { - return WirecardCEE_QMore_PaymentType::INVOICE; + return QentaCEE_QMore_PaymentType::INVOICE; } /** @@ -181,8 +181,8 @@ public function get_risk() { return $this->is_available_payolution(); } elseif ( $this->_settings['woo_wcs_invoiceprovider'] == 'ratepay' ) { return $this->is_available_ratepay(); - } elseif ( $this->_settings['woo_wcs_invoiceprovider'] == 'wirecard' ) { - return $this->is_available_wirecard(); + } elseif ( $this->_settings['woo_wcs_invoiceprovider'] == 'qenta' ) { + return $this->is_available_qenta(); } return false; @@ -296,14 +296,14 @@ private function is_available_ratepay() { } /** - * as the wirecard has the same conditions as ratepay, return the is_available_ratepay method + * as the qenta has the same conditions as ratepay, return the is_available_ratepay method * * @since 1.0.0 * * @return bool */ - private function is_available_wirecard() { - // should conditions of wirecard change, add them here + private function is_available_qenta() { + // should conditions of qenta change, add them here return $this->is_available_ratepay(); } @@ -319,7 +319,7 @@ public function validate_payment_fields( $data ) { $errors = [ ]; if ( $this->_settings['woo_wcs_payolutionterms'] && $data['consent'] != 'on' && $this->check_terms( $data['wcs_payment_method'] ) ) { - $errors[] = "• " . __( 'Please accept the consent terms!', 'woocommerce-wirecard-checkout-seamless' ); + $errors[] = "• " . __( 'Please accept the consent terms!', 'woocommerce-qenta-checkout-seamless' ); } $birthdate = new DateTime( $data['dob_year'] . '-' . $data['dob_month'] . '-' . $data['dob_day'] ); @@ -329,7 +329,7 @@ public function validate_payment_fields( $data ) { if ( $age < 18 ) { $errors[] = "• " . __( 'You have to be 18 years or older to use this payment.', - 'woocommerce-wirecard-checkout-seamless' ); + 'woocommerce-qenta-checkout-seamless' ); } return count( $errors ) == 0 ? true : join( "
", $errors ); diff --git a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-invoiceb2b.php b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-invoiceb2b.php similarity index 84% rename from woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-invoiceb2b.php rename to woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-invoiceb2b.php index 99977a7..68bde19 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-invoiceb2b.php +++ b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-invoiceb2b.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -35,11 +35,11 @@ } /** - * Class WC_Gateway_Wirecard_Checkout_Seamless_Invoice + * Class WC_Gateway_Qenta_Checkout_Seamless_Invoice * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Invoiceb2b { +class WC_Gateway_Qenta_Checkout_Seamless_Invoiceb2b { /** * Payment gateway settings @@ -51,7 +51,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Invoiceb2b { protected $_settings = array(); /** - * WC_Gateway_Wirecard_Checkout_Seamless_Invoiceb2b constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Invoiceb2b constructor. * * @since 1.0.0 * @@ -69,7 +69,7 @@ public function __construct( $settings ) { * @return string|void */ public function get_label() { - return __( 'Invoice B2B', 'woocommerce-wirecard-checkout-seamless' ); + return __( 'Invoice B2B', 'woocommerce-qenta-checkout-seamless' ); } /** @@ -108,20 +108,20 @@ public function get_payment_fields() { $payolution_mid = urlencode( base64_encode( $this->_settings['woo_wcs_payolutionmid'] ) ); - $consent_link = __( 'consent', 'woocommerce-wirecard-checkout-seamless' ); + $consent_link = __( 'consent', 'woocommerce-qenta-checkout-seamless' ); if ( strlen( $this->_settings['woo_wcs_payolutionmid'] ) > 5 ) { $consent_link = sprintf( '%s', $payolution_mid, - __( 'consent', 'woocommerce-wirecard-checkout-seamless' ) ); + __( 'consent', 'woocommerce-qenta-checkout-seamless' ) ); } $html .= "

"; $html .= ""; + . __( ' can be revoked at any time with effect for the future.', 'woocommerce-qenta-checkout-seamless' ) . ""; $html .= "

"; } @@ -139,7 +139,7 @@ public function get_payment_fields() { * @return string */ public function get_payment_type() { - return WirecardCEE_QMore_PaymentType::INVOICE . "b2b"; + return QentaCEE_QMore_PaymentType::INVOICE . "b2b"; } /** @@ -154,8 +154,8 @@ public function get_risk() { return $this->is_available_payolution(); } elseif ( $this->_settings['woo_wcs_invoiceprovider'] == 'ratepay' ) { return $this->is_available_ratepay(); - } elseif ( $this->_settings['woo_wcs_invoiceprovider'] == 'wirecard' ) { - return $this->is_available_wirecard(); + } elseif ( $this->_settings['woo_wcs_invoiceprovider'] == 'qenta' ) { + return $this->is_available_qenta(); } return false; @@ -291,14 +291,14 @@ private function is_available_ratepay() { } /** - * as the wirecard has the same conditions as ratepay, return the is_available_ratepay method + * as the qenta has the same conditions as ratepay, return the is_available_ratepay method * * @since 1.0.0 * * @return bool */ - private function is_available_wirecard() { - // should conditions of wirecard change, add them here + private function is_available_qenta() { + // should conditions of qenta change, add them here return $this->is_available_ratepay(); } @@ -316,11 +316,11 @@ public function validate_payment_fields( $data ) { $errors = [ ]; if ( $this->_settings['woo_wcs_payolutionterms'] && $data['b2b_consent'] != 'on' && $this->check_terms( $data['wcs_payment_method'] ) ) { - $errors[] = "• " . __( 'Please accept the consent terms!', 'woocommerce-wirecard-checkout-seamless' ); + $errors[] = "• " . __( 'Please accept the consent terms!', 'woocommerce-qenta-checkout-seamless' ); } if ( empty( $customer->get_billing_company() ) ) - $errors[] = "• " . __( 'For Invoice B2B, Company name must not be empty.', 'woocommerce-wirecard-checkout-seamless' ); + $errors[] = "• " . __( 'For Invoice B2B, Company name must not be empty.', 'woocommerce-qenta-checkout-seamless' ); return count( $errors ) == 0 ? true : join( "
", $errors ); } diff --git a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-maestro.php b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-maestro.php similarity index 64% rename from woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-maestro.php rename to woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-maestro.php index 09822ec..35990be 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-maestro.php +++ b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-maestro.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -35,13 +35,13 @@ } /** - * Class WC_Gateway_Wirecard_Checkout_Seamless_Maestro + * Class WC_Gateway_Qenta_Checkout_Seamless_Maestro * * @since 1.0.0 * - * @see WC_Gateway_Wirecard_Checkout_Seamless_Ccard + * @see WC_Gateway_Qenta_Checkout_Seamless_Ccard */ -class WC_Gateway_Wirecard_Checkout_Seamless_Maestro extends WC_Gateway_Wirecard_Checkout_Seamless_Ccard { +class WC_Gateway_Qenta_Checkout_Seamless_Maestro extends WC_Gateway_Qenta_Checkout_Seamless_Ccard { /** * override the label to maestro securecode @@ -51,7 +51,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Maestro extends WC_Gateway_Wirecard_ * @return string|void */ public function get_label() { - return __( 'Maestro SecureCode', 'woocommerce-wirecard-checkout-seamless' ); + return __( 'Maestro SecureCode', 'woocommerce-qenta-checkout-seamless' ); } /** @@ -62,7 +62,7 @@ public function get_label() { * @return string */ public function get_payment_type() { - return WirecardCEE_QMore_PaymentType::MAESTRO; + return QentaCEE_QMore_PaymentType::MAESTRO; } /** diff --git a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-moneta.php b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-moneta.php similarity index 70% rename from woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-moneta.php rename to woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-moneta.php index 9c6c065..f0d24e5 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-moneta.php +++ b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-moneta.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -35,11 +35,11 @@ } /** - * Class WC_Gateway_Wirecard_Checkout_Seamless_Moneta + * Class WC_Gateway_Qenta_Checkout_Seamless_Moneta * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Moneta { +class WC_Gateway_Qenta_Checkout_Seamless_Moneta { /** * Payment gateway settings @@ -51,7 +51,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Moneta { protected $_settings = array(); /** - * WC_Gateway_Wirecard_Checkout_Seamless_Moneta constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Moneta constructor. * * @since 1.0.0 * @@ -69,7 +69,7 @@ public function __construct( $settings ) { * @return string|void */ public function get_label() { - return __( 'moneta.ru', 'woocommerce-wirecard-checkout-seamless' ); + return __( 'moneta.ru', 'woocommerce-qenta-checkout-seamless' ); } /** @@ -102,7 +102,7 @@ public function has_payment_fields() { * @return string */ public function get_payment_type() { - return WirecardCEE_QMore_PaymentType::MONETA; + return QentaCEE_QMore_PaymentType::MONETA; } } diff --git a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-paypal.php b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-paypal.php similarity index 70% rename from woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-paypal.php rename to woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-paypal.php index 7dcee71..dd6e264 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-paypal.php +++ b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-paypal.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -35,11 +35,11 @@ } /** - * Class WC_Gateway_Wirecard_Checkout_Seamless_Paypal + * Class WC_Gateway_Qenta_Checkout_Seamless_Paypal * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Paypal { +class WC_Gateway_Qenta_Checkout_Seamless_Paypal { /** * Payment gateway settings @@ -51,7 +51,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Paypal { protected $settings = array(); /** - * WC_Gateway_Wirecard_Checkout_Seamless_Paypal constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Paypal constructor. * * @since 1.0.0 * @@ -69,7 +69,7 @@ public function __construct( $settings ) { * @return string|void */ public function get_label() { - return __( 'PayPal', 'woocommerce-wirecard-checkout-seamless' ); + return __( 'PayPal', 'woocommerce-qenta-checkout-seamless' ); } /** @@ -102,7 +102,7 @@ public function has_payment_fields() { * @return string */ public function get_payment_type() { - return WirecardCEE_QMore_PaymentType::PAYPAL; + return QentaCEE_QMore_PaymentType::PAYPAL; } } diff --git a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-pbx.php b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-pbx.php similarity index 74% rename from woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-pbx.php rename to woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-pbx.php index 386e77b..d99d641 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-pbx.php +++ b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-pbx.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -35,11 +35,11 @@ } /** - * Class WC_Gateway_Wirecard_Checkout_Seamless_Pbx + * Class WC_Gateway_Qenta_Checkout_Seamless_Pbx * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Pbx { +class WC_Gateway_Qenta_Checkout_Seamless_Pbx { /** * Payment gateway settings @@ -51,7 +51,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Pbx { protected $_settings = array(); /** - * WC_Gateway_Wirecard_Checkout_Seamless_Pbx constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Pbx constructor. * * @since 1.0.0 * @@ -69,7 +69,7 @@ public function __construct( $settings ) { * @return string|void */ public function get_label() { - return __( 'paybox', 'woocommerce-wirecard-checkout-seamless' ); + return __( 'paybox', 'woocommerce-qenta-checkout-seamless' ); } /** @@ -107,7 +107,7 @@ public function get_payment_fields() { // dropdown for financial institution $html .= "

"; $html .= ""; + 'woocommerce-qenta-checkout-seamless' ) . " *"; $html .= ""; $html .= "

"; @@ -126,7 +126,7 @@ public function get_payment_fields() { * @return string */ public function get_payment_type() { - return WirecardCEE_QMore_PaymentType::PBX; + return QentaCEE_QMore_PaymentType::PBX; } /** @@ -144,7 +144,7 @@ public function validate_payment_fields( $data ) { if ( empty( $data['payerPayboxNumber'] ) ) { $errors[] = "• " . __( 'Paybox number must not be empty.', - 'woocommerce-wirecard-checkout-seamless' ); + 'woocommerce-qenta-checkout-seamless' ); } return count( $errors ) == 0 ? true : join( "
", $errors ); diff --git a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-poli.php b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-poli.php similarity index 70% rename from woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-poli.php rename to woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-poli.php index efdc019..8075d38 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-poli.php +++ b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-poli.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -35,11 +35,11 @@ } /** - * Class WC_Gateway_Wirecard_Checkout_Seamless_Poli + * Class WC_Gateway_Qenta_Checkout_Seamless_Poli * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Poli { +class WC_Gateway_Qenta_Checkout_Seamless_Poli { /** * Payment gateway settings @@ -51,7 +51,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Poli { protected $_settings = array(); /** - * WC_Gateway_Wirecard_Checkout_Seamless_Poli constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Poli constructor. * * @since 1.0.0 * @@ -69,7 +69,7 @@ public function __construct( $settings ) { * @return string|void */ public function get_label() { - return __( 'POLi', 'woocommerce-wirecard-checkout-seamless' ); + return __( 'POLi', 'woocommerce-qenta-checkout-seamless' ); } /** @@ -102,7 +102,7 @@ public function has_payment_fields() { * @return string */ public function get_payment_type() { - return WirecardCEE_QMore_PaymentType::POLI; + return QentaCEE_QMore_PaymentType::POLI; } } diff --git a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-przelewy24.php b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-przelewy24.php similarity index 69% rename from woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-przelewy24.php rename to woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-przelewy24.php index 60bc488..8bcf947 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-przelewy24.php +++ b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-przelewy24.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -35,11 +35,11 @@ } /** - * Class WC_Gateway_Wirecard_Checkout_Seamless_Przelewy24 + * Class WC_Gateway_Qenta_Checkout_Seamless_Przelewy24 * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Przelewy24 { +class WC_Gateway_Qenta_Checkout_Seamless_Przelewy24 { /** * Payment gateway settings @@ -51,7 +51,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Przelewy24 { protected $_settings = array(); /** - * WC_Gateway_Wirecard_Checkout_Seamless_Przelewy24 constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Przelewy24 constructor. * * @since 1.0.0 * @@ -69,7 +69,7 @@ public function __construct( $settings ) { * @return string|void */ public function get_label() { - return __( 'Przelewy24', 'woocommerce-wirecard-checkout-seamless' ); + return __( 'Przelewy24', 'woocommerce-qenta-checkout-seamless' ); } /** @@ -102,7 +102,7 @@ public function has_payment_fields() { * @return string */ public function get_payment_type() { - return WirecardCEE_QMore_PaymentType::P24; + return QentaCEE_QMore_PaymentType::P24; } } diff --git a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-psc.php b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-psc.php similarity index 70% rename from woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-psc.php rename to woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-psc.php index 0b33026..67e2335 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-psc.php +++ b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-psc.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -35,11 +35,11 @@ } /** - * Class WC_Gateway_Wirecard_Checkout_Seamless_Psc + * Class WC_Gateway_Qenta_Checkout_Seamless_Psc * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Psc { +class WC_Gateway_Qenta_Checkout_Seamless_Psc { /** * Payment gateway settings @@ -51,7 +51,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Psc { protected $_settings = array(); /** - * WC_Gateway_Wirecard_Checkout_Seamless_Psc constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Psc constructor. * * @since 1.0.0 * @@ -69,7 +69,7 @@ public function __construct( $settings ) { * @return string|void */ public function get_label() { - return __( 'paysafecard', 'woocommerce-wirecard-checkout-seamless' ); + return __( 'paysafecard', 'woocommerce-qenta-checkout-seamless' ); } /** @@ -102,7 +102,7 @@ public function has_payment_fields() { * @return string */ public function get_payment_type() { - return WirecardCEE_QMore_PaymentType::PSC; + return QentaCEE_QMore_PaymentType::PSC; } } diff --git a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-sepa_dd.php b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-sepa_dd.php similarity index 74% rename from woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-sepa_dd.php rename to woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-sepa_dd.php index 1429537..0b6d562 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-sepa_dd.php +++ b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-sepa_dd.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -35,11 +35,11 @@ } /** - * Class WC_Gateway_Wirecard_Checkout_Seamless_Sepa_dd + * Class WC_Gateway_Qenta_Checkout_Seamless_Sepa_dd * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Sepa_dd { +class WC_Gateway_Qenta_Checkout_Seamless_Sepa_dd { /** * Payment gateway settings @@ -51,7 +51,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Sepa_dd { protected $_settings = array(); /** - * WC_Gateway_Wirecard_Checkout_Seamless_Sepa_dd constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Sepa_dd constructor. * * @since 1.0.0 * @@ -69,7 +69,7 @@ public function __construct( $settings ) { * @return string|void */ public function get_label() { - return __( 'SEPA Direct Debit', 'woocommerce-wirecard-checkout-seamless' ); + return __( 'SEPA Direct Debit', 'woocommerce-qenta-checkout-seamless' ); } /** @@ -108,7 +108,7 @@ public function get_payment_fields() { // account owner field $html .= "

"; $html .= ""; + 'woocommerce-qenta-checkout-seamless' ) . ""; $html .= ""; $html .= "

"; @@ -116,7 +116,7 @@ public function get_payment_fields() { if ( $this->_settings['woo_wcs_sepa_display_bic_field'] ) { $html .= "

"; $html .= ""; + 'woocommerce-qenta-checkout-seamless' ) . ""; $html .= ""; $html .= "

"; } @@ -124,7 +124,7 @@ public function get_payment_fields() { // iban field $html .= "

"; $html .= ""; + 'woocommerce-qenta-checkout-seamless' ) . " *"; $html .= ""; $html .= "

"; @@ -141,7 +141,7 @@ public function get_payment_fields() { * @return string */ public function get_payment_type() { - return WirecardCEE_QMore_PaymentType::SEPADD; + return QentaCEE_QMore_PaymentType::SEPADD; } /** @@ -159,7 +159,7 @@ public function validate_payment_fields( $data ) { if ( empty( $data['bankAccountIban'] ) ) { $errors[] = "• " . __( 'IBAN must not be empty.', - 'woocommerce-wirecard-checkout-seamless' ); + 'woocommerce-qenta-checkout-seamless' ); } return count( $errors ) == 0 ? true : join( "
", $errors ); diff --git a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-skrillwallet.php b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-skrillwallet.php similarity index 69% rename from woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-skrillwallet.php rename to woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-skrillwallet.php index a29839b..75c801f 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-skrillwallet.php +++ b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-skrillwallet.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -35,11 +35,11 @@ } /** - * Class WC_Gateway_Wirecard_Checkout_Seamless_Skrillwallet + * Class WC_Gateway_Qenta_Checkout_Seamless_Skrillwallet * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Skrillwallet { +class WC_Gateway_Qenta_Checkout_Seamless_Skrillwallet { /** * Payment gateway settings @@ -51,7 +51,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Skrillwallet { protected $_settings = array(); /** - * WC_Gateway_Wirecard_Checkout_Seamless_Skrillwallet constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Skrillwallet constructor. * * @since 1.0.0 * @@ -69,7 +69,7 @@ public function __construct( $settings ) { * @return string|void */ public function get_label() { - return __( 'Skrill Digital Wallet', 'woocommerce-wirecard-checkout-seamless' ); + return __( 'Skrill Digital Wallet', 'woocommerce-qenta-checkout-seamless' ); } /** @@ -102,7 +102,7 @@ public function has_payment_fields() { * @return string */ public function get_payment_type() { - return WirecardCEE_QMore_PaymentType::SKRILLWALLET; + return QentaCEE_QMore_PaymentType::SKRILLWALLET; } } diff --git a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-sofortueberweisung.php b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-sofortueberweisung.php similarity index 67% rename from woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-sofortueberweisung.php rename to woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-sofortueberweisung.php index 3140ad9..c48867a 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-sofortueberweisung.php +++ b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-sofortueberweisung.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -35,11 +35,11 @@ } /** - * Class WC_Gateway_Wirecard_Checkout_Seamless_Sofortueberweisung + * Class WC_Gateway_Qenta_Checkout_Seamless_Sofortueberweisung * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Sofortueberweisung { +class WC_Gateway_Qenta_Checkout_Seamless_Sofortueberweisung { /** * Payment gateway settings @@ -51,7 +51,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Sofortueberweisung { protected $_settings = array(); /** - * WC_Gateway_Wirecard_Checkout_Seamless_Sofortueberweisung constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Sofortueberweisung constructor. * * @since 1.0.0 * @@ -69,7 +69,7 @@ public function __construct( $settings ) { * @return string|void */ public function get_label() { - return __( 'SOFORT Banking', 'woocommerce-wirecard-checkout-seamless' ); + return __( 'SOFORT Banking', 'woocommerce-qenta-checkout-seamless' ); } /** @@ -81,7 +81,7 @@ public function get_label() { */ public function get_icon() { return WOOCOMMERCE_GATEWAY_WCS_URL . __( 'assets/images/sofort_h32.png', - 'woocommerce-wirecard-checkout-seamless' ); + 'woocommerce-qenta-checkout-seamless' ); } /** @@ -103,7 +103,7 @@ public function has_payment_fields() { * @return string */ public function get_payment_type() { - return WirecardCEE_QMore_PaymentType::SOFORTUEBERWEISUNG; + return QentaCEE_QMore_PaymentType::SOFORTUEBERWEISUNG; } } diff --git a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-tatrapay.php b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-tatrapay.php similarity index 70% rename from woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-tatrapay.php rename to woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-tatrapay.php index 057eb4a..fed7108 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-tatrapay.php +++ b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-tatrapay.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -35,11 +35,11 @@ } /** - * Class WC_Gateway_Wirecard_Checkout_Seamless_Tatrapay + * Class WC_Gateway_Qenta_Checkout_Seamless_Tatrapay * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Tatrapay{ +class WC_Gateway_Qenta_Checkout_Seamless_Tatrapay{ /** * Payment gateway settings @@ -51,7 +51,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Tatrapay{ protected $_settings = array(); /** - * WC_Gateway_Wirecard_Checkout_Seamless_Tatrapay constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Tatrapay constructor. * * @since 1.0.0 * @@ -69,7 +69,7 @@ public function __construct( $settings ) { * @return string|void */ public function get_label() { - return __( 'TatraPay', 'woocommerce-wirecard-checkout-seamless' ); + return __( 'TatraPay', 'woocommerce-qenta-checkout-seamless' ); } /** @@ -102,7 +102,7 @@ public function has_payment_fields() { * @return string */ public function get_payment_type() { - return WirecardCEE_QMore_PaymentType::TATRAPAY; + return QentaCEE_QMore_PaymentType::TATRAPAY; } } diff --git a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-trustly.php b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-trustly.php similarity index 70% rename from woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-trustly.php rename to woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-trustly.php index 82529ef..098f1f8 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-trustly.php +++ b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-trustly.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -35,11 +35,11 @@ } /** - * Class WC_Gateway_Wirecard_Checkout_Seamless_Trustly + * Class WC_Gateway_Qenta_Checkout_Seamless_Trustly * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Trustly { +class WC_Gateway_Qenta_Checkout_Seamless_Trustly { /** * Payment gateway settings @@ -51,7 +51,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Trustly { protected $_settings = array(); /** - * WC_Gateway_Wirecard_Checkout_Seamless_Trustly constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Trustly constructor. * * @since 1.0.0 * @@ -69,7 +69,7 @@ public function __construct( $settings ) { * @return string|void */ public function get_label() { - return __( 'Trustly', 'woocommerce-wirecard-checkout-seamless' ); + return __( 'Trustly', 'woocommerce-qenta-checkout-seamless' ); } /** @@ -102,7 +102,7 @@ public function has_payment_fields() { * @return string */ public function get_payment_type() { - return WirecardCEE_QMore_PaymentType::TRUSTLY; + return QentaCEE_QMore_PaymentType::TRUSTLY; } } diff --git a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-trustpay.php b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-trustpay.php similarity index 74% rename from woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-trustpay.php rename to woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-trustpay.php index e86e538..6768961 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/payment-methods/class-wirecard-trustpay.php +++ b/woocommerce-qenta-checkout-seamless/classes/payment-methods/class-qenta-trustpay.php @@ -2,8 +2,8 @@ /** * Shop System Plugins - Terms of Use * - * The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH - * (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of + * The plugins offered are provided free of charge by Qenta Payment CEE GmbH + * (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of * products and services. * * They have been tested and approved for full functionality in the standard configuration @@ -11,15 +11,15 @@ * License Version 2 (GPLv2) and can be used, developed and passed on to third parties under * the same terms. * - * However, Wirecard CEE does not provide any guarantee or accept any liability for any errors + * However, Qenta CEE does not provide any guarantee or accept any liability for any errors * occurring when used in an enhanced, customized shop system configuration. * * Operation in an enhanced, customized configuration is at your own risk and requires a * comprehensive test phase by the user of the plugin. * - * Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full - * functionality neither does Wirecard CEE assume liability for any disadvantages related to - * the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality + * Customers use the plugins at their own risk. Qenta CEE does not guarantee their full + * functionality neither does Qenta CEE assume liability for any disadvantages related to + * the use of the plugins. Additionally, Qenta CEE does not guarantee the full functionality * for customized shop systems or installed plugins of other vendors of plugins within the same * shop system. * @@ -35,11 +35,11 @@ } /** - * Class WC_Gateway_Wirecard_Checkout_Seamless_Trustpay + * Class WC_Gateway_Qenta_Checkout_Seamless_Trustpay * * @since 1.0.0 */ -class WC_Gateway_Wirecard_Checkout_Seamless_Trustpay { +class WC_Gateway_Qenta_Checkout_Seamless_Trustpay { /** * Payment gateway settings @@ -60,7 +60,7 @@ class WC_Gateway_Wirecard_Checkout_Seamless_Trustpay { protected $_logger = null; /** - * WC_Gateway_Wirecard_Checkout_Seamless_Trustpay constructor. + * WC_Gateway_Qenta_Checkout_Seamless_Trustpay constructor. * * @since 1.0.0 * @@ -79,7 +79,7 @@ public function __construct( $settings ) { * @return string|void */ public function get_label() { - return __( 'TrustPay', 'woocommerce-wirecard-checkout-seamless' ); + return __( 'TrustPay', 'woocommerce-qenta-checkout-seamless' ); } /** @@ -113,18 +113,18 @@ public function has_payment_fields() { */ public function get_payment_fields() { - $config = new WC_Gateway_Wirecard_Checkout_Seamless_Config( $this->_settings ); + $config = new WC_Gateway_Qenta_Checkout_Seamless_Config( $this->_settings ); $config_array = $config->get_client_config(); $config_array['PASSWORD'] = $config->get_backend_password(); try { - $backend_client = new WirecardCEE_QMore_BackendClient( $config_array ); - } catch ( WirecardCEE_QMore_Exception_InvalidArgumentException $e ) { + $backend_client = new QentaCEE_QMore_BackendClient( $config_array ); + } catch ( QentaCEE_QMore_Exception_InvalidArgumentException $e ) { $this->_logger->error( __METHOD__ . ':' . print_r( $e, true ) ); return __( 'This payment method is not available. Please contact the administrator.', - 'woocommerce-wirecard-checkout-seamless' ); + 'woocommerce-qenta-checkout-seamless' ); } @@ -135,7 +135,7 @@ public function get_payment_fields() { $this->_logger->error( __METHOD__ . ':' . print_r( $e, true ) ); return __( 'This payment method is not available. Please contact the administrator.', - 'woocommerce-wirecard-checkout-seamless' ); + 'woocommerce-qenta-checkout-seamless' ); } if ( ! $response->hasFailed() ) { @@ -153,9 +153,9 @@ public function get_payment_fields() { // dropdown for financial institution $html .= "

"; $html .= ""; + 'woocommerce-qenta-checkout-seamless' ) . " *"; $html .= " diff --git a/woocommerce-wirecard-checkout-seamless/vendor/qenta/checkout-client-library/tests/confirm.txt b/woocommerce-qenta-checkout-seamless/vendor/.gitkeep similarity index 100% rename from woocommerce-wirecard-checkout-seamless/vendor/qenta/checkout-client-library/tests/confirm.txt rename to woocommerce-qenta-checkout-seamless/vendor/.gitkeep diff --git a/woocommerce-wirecard-checkout-seamless/woocommerce-wirecard-checkout-seamless.php b/woocommerce-qenta-checkout-seamless/woocommerce-wirecard-checkout-seamless.php similarity index 60% rename from woocommerce-wirecard-checkout-seamless/woocommerce-wirecard-checkout-seamless.php rename to woocommerce-qenta-checkout-seamless/woocommerce-wirecard-checkout-seamless.php index 5005c20..df683dd 100644 --- a/woocommerce-wirecard-checkout-seamless/woocommerce-wirecard-checkout-seamless.php +++ b/woocommerce-qenta-checkout-seamless/woocommerce-wirecard-checkout-seamless.php @@ -1,19 +1,19 @@ base_prefix . 'wirecard_checkout_seamless_tx'; + $table_name = $wpdb->base_prefix . 'qenta_checkout_seamless_tx'; $collate = ''; if ( $wpdb->has_cap( 'collation' ) ) { @@ -146,57 +146,57 @@ function woocommerce_install_wirecard_checkout_seamless() { } /** - * add submenu and page for wirecard transactions + * add submenu and page for qenta transactions * * @since 1.0.0 */ -function wirecard_transactions_add_page() { +function qenta_transactions_add_page() { if ( class_exists( 'WooCommerce' ) ) { $parent_slug = 'woocommerce'; } else { $parent_slug = 'options-general.php'; } - require_once( WOOCOMMERCE_GATEWAY_WCS_BASEDIR . 'classes/class-wirecard-gateway.php' ); + require_once( WOOCOMMERCE_GATEWAY_WCS_BASEDIR . 'classes/class-qenta-gateway.php' ); - $gateway = new WC_Gateway_Wirecard_Checkout_Seamless(); + $gateway = new WC_Gateway_Qenta_Checkout_Seamless(); // add page to transactions add_submenu_page( $parent_slug, - __( 'Wirecard Transactions', 'woocommerce-wirecard-checkout-seamless' ), - __( 'Wirecard Transactions', 'woocommerce-wirecard-checkout-seamless' ), + __( 'Qenta Transactions', 'woocommerce-qenta-checkout-seamless' ), + __( 'Qenta Transactions', 'woocommerce-qenta-checkout-seamless' ), 'manage_options', - 'wirecard_transactions_page', - array( $gateway, 'wirecard_transactions_do_page' ) + 'qenta_transactions_page', + array( $gateway, 'qenta_transactions_do_page' ) ); // add page to specific transaction add_submenu_page( null, - __( 'Wirecard Transaction', 'woocommerce-wirecard-checkout-seamless' ), - __( 'Wirecard Transaction', 'woocommerce-wirecard-checkout-seamless' ), + __( 'Qenta Transaction', 'woocommerce-qenta-checkout-seamless' ), + __( 'Qenta Transaction', 'woocommerce-qenta-checkout-seamless' ), 'manage_options', - 'wirecard_transaction_page', - array( $gateway, 'wirecard_transaction_do_page' ) + 'qenta_transaction_page', + array( $gateway, 'qenta_transaction_do_page' ) ); } /** - * Add extra page for wirecard support request + * Add extra page for qenta support request * * @since 1.0.0 */ -function add_wirecard_support_request_page() { - require_once( WOOCOMMERCE_GATEWAY_WCS_BASEDIR . 'classes/class-wirecard-gateway.php' ); +function add_qenta_support_request_page() { + require_once( WOOCOMMERCE_GATEWAY_WCS_BASEDIR . 'classes/class-qenta-gateway.php' ); add_submenu_page( null, - __( 'Wirecard Support Request', 'woocommerce-wirecard-checkout-seamless' ), - __( 'Wirecard Support Request', 'woocommerce-wirecard-checkout-seamless' ), + __( 'Qenta Support Request', 'woocommerce-qenta-checkout-seamless' ), + __( 'Qenta Support Request', 'woocommerce-qenta-checkout-seamless' ), 'manage_options', - 'wirecard_support_request', - array( new WC_Gateway_Wirecard_Checkout_Seamless(), 'do_support_request' ) + 'qenta_support_request', + array( new WC_Gateway_Qenta_Checkout_Seamless(), 'do_support_request' ) ); } @@ -221,7 +221,7 @@ function init_config_values() { add_option( 'woocommerce_woocommerce_wcs_settings', $settings ); } -function add_wirecard_storage_check() { +function add_qenta_storage_check() { ?>