From 120d378c03221ebab5eb5639e915b669a994d578 Mon Sep 17 00:00:00 2001 From: Semsudin Mekanic Date: Mon, 15 Mar 2021 14:53:27 +0100 Subject: [PATCH 1/4] Rebrand --- CODE_OF_CONDUCT.md | 2 +- .../Bootstrap.php | 248 +++++----- .../Components/CSRFWhitelistAware.php | 12 +- .../QentaCEE}/QMore/BackendClient.php | 106 ++--- .../QentaCEE}/QMore/Config/client.config.php | 14 +- .../QentaCEE}/QMore/Config/user.config.php | 14 +- .../Exception/ExceptionInterface.php | 20 +- .../Exception/InvalidArgumentException.php | 20 +- .../QMore/DataStorage/Request/Read.php | 48 +- .../QMore/DataStorage/Response/Initiation.php | 20 +- .../QMore/DataStorage/Response/Read.php | 20 +- .../QentaCEE}/QMore/DataStorageClient.php | 72 +-- .../Components/QentaCEE}/QMore/Error.php | 24 +- .../Exception/BadMethodCallException.php} | 20 +- .../QMore/Exception/ExceptionInterface.php | 20 +- .../Exception/InvalidArgumentException.php} | 22 +- .../Exception/InvalidParamLengthException.php | 42 ++ .../Exception/InvalidResponseException.php | 42 ++ .../QentaCEE}/QMore/FrontendClient.php | 124 ++--- .../Components/QentaCEE}/QMore/Module.php | 20 +- .../QentaCEE}/QMore/PaymentType.php | 20 +- .../QMore/Request/Backend/TransferFund.php | 20 +- .../Request/Backend/TransferFund/Existing.php | 22 +- .../Request/Backend/TransferFund/Moneta.php | 22 +- .../Request/Backend/TransferFund/SepaCT.php | 22 +- .../Backend/TransferFund/SkrillWallet.php | 22 +- .../Response/Backend/ApproveReversal.php | 20 +- .../QMore/Response/Backend/Deposit.php | 20 +- .../Response/Backend/DepositReversal.php | 20 +- .../Response/Backend/FinancialObject.php | 20 +- .../Backend/GetFinancialInstitutions.php | 20 +- .../Response/Backend/GetOrderDetails.php | 30 +- .../QMore/Response/Backend/Order.php | 48 +- .../QMore/Response/Backend/Order/Credit.php | 22 +- .../Response/Backend/Order/CreditIterator.php | 20 +- .../Response/Backend/Order/OrderIterator.php | 20 +- .../QMore/Response/Backend/Order/Payment.php | 22 +- .../Response/Backend/Order/Payment/Ideal.php | 20 +- .../Response/Backend/Order/Payment/Paypal.php | 20 +- .../Order/Payment/Sofortueberweisung.php | 20 +- .../Backend/Order/PaymentIterator.php | 20 +- .../QMore/Response/Backend/RecurPayment.php | 20 +- .../QMore/Response/Backend/Refund.php} | 20 +- .../QMore/Response/Backend/RefundReversal.php | 20 +- .../Response/Backend/ResponseAbstract.php | 20 +- .../QMore/Response/Backend/TransferFund.php} | 20 +- .../QentaCEE}/QMore/Response/Initiation.php | 20 +- .../QMore/Response/ResponseAbstract.php | 24 +- .../QentaCEE}/QMore/Return/Cancel.php | 20 +- .../QentaCEE}/QMore/Return/Failure.php | 22 +- .../QentaCEE}/QMore/Return/Pending.php | 22 +- .../QentaCEE}/QMore/Return/Success.php | 22 +- .../QMore/Return/Success/CreditCard.php | 22 +- .../QentaCEE}/QMore/Return/Success/Ideal.php | 22 +- .../QentaCEE}/QMore/Return/Success/PayPal.php | 22 +- .../QentaCEE}/QMore/Return/Success/SepaDD.php | 22 +- .../Return/Success/Sofortueberweisung.php | 46 ++ .../QentaCEE/QMore/ReturnFactory.php | 141 ++++++ .../Components/QentaCEE}/Stdlib/Basket.php | 44 +- .../QentaCEE}/Stdlib/Basket/Item.php | 36 +- .../Stdlib/Client/ClientAbstract.php | 74 +-- .../Client/Exception/ExceptionInterface.php | 20 +- .../Exception/InvalidResponseException.php | 20 +- .../Components/QentaCEE}/Stdlib/Config.php | 26 +- .../QentaCEE}/Stdlib/Config/client.config.php | 14 +- .../QentaCEE}/Stdlib/ConsumerData.php | 50 +- .../QentaCEE}/Stdlib/ConsumerData/Address.php | 42 +- .../Components/QentaCEE}/Stdlib/Error.php | 24 +- .../Stdlib/Exception/ExceptionInterface.php | 20 +- .../Exception/InvalidArgumentException.php} | 20 +- .../Exception/InvalidFormatException.php | 42 ++ .../Exception/InvalidResponseException.php | 20 +- .../Stdlib/Exception/InvalidTypeException.php | 42 ++ .../Exception/InvalidValueException.php} | 20 +- .../Exception/UnexpectedValueException.php | 42 ++ .../QentaCEE}/Stdlib/Fingerprint.php | 28 +- .../QentaCEE}/Stdlib/FingerprintOrder.php | 26 +- .../Components/QentaCEE}/Stdlib/Module.php | 20 +- .../Stdlib/Module/ModuleAbstract.php | 20 +- .../Stdlib/Module/ModuleInterface.php | 20 +- .../QentaCEE}/Stdlib/PaymentTypeAbstract.php | 22 +- .../Stdlib/Response/ResponseAbstract.php | 26 +- .../QentaCEE}/Stdlib/Return/Cancel.php | 20 +- .../QentaCEE}/Stdlib/Return/Failure.php | 20 +- .../QentaCEE}/Stdlib/Return/Pending.php | 28 +- .../Stdlib/Return/ReturnAbstract.php | 30 +- .../QentaCEE}/Stdlib/Return/Success.php | 28 +- .../Stdlib/Return/Success/CreditCard.php | 20 +- .../QentaCEE}/Stdlib/Return/Success/Ideal.php | 20 +- .../Stdlib/Return/Success/PayPal.php | 20 +- .../Stdlib/Return/Success/SepaDD.php | 20 +- .../Return/Success/Sofortueberweisung.php | 20 +- .../Stdlib/ReturnFactoryAbstract.php | 20 +- .../Components/QentaCEE}/Stdlib/SerialApi.php | 28 +- .../QentaCEE}/Stdlib/Validate/Exception.php | 14 +- .../QentaCEE}/Stdlib/Validate/Fingerprint.php | 60 +-- .../QentaCEE}/Stdlib/Validate/Interface.php | 16 +- .../Stdlib/Validate/ValidateAbstract.php | 28 +- .../Frontend/QentaCheckoutSeamless.php} | 234 +++++----- .../Models/Basket.php | 12 +- .../Models/Config.php | 430 +++++++++--------- .../Models/Datastorage.php | 64 +-- .../Models/Resources.php | 28 +- .../Models/Seamless.php | 124 ++--- .../javascript/wirecard_seamless.js | 14 +- .../_resources/javascript/wirecardcee.js | 14 +- .../frontend/_resources/styles/iframe.css | 0 .../frontend/_resources/styles/wirecard.css | 16 +- .../Views/frontend/checkout/dsStoreReturn.tpl | 4 +- .../Views/frontend/checkout/return.tpl | 10 +- .../Views/frontend/checkout/wirecard.tpl | 100 ++-- .../frontend/checkout/wirecard_finish.tpl | 12 + .../frontend/checkout/wirecard_seamless.tpl | 16 +- .../Views/frontend/payment_qenta/error.tpl | 25 + .../Views/frontend/payment_qenta}/index.tpl | 6 +- .../frontend/plugins/payment/qenta_brands.tpl | 70 +++ .../frontend/_public/images/qenta-logo.png} | Bin .../images/qenta_bancontact_mistercash.png} | Bin .../frontend/_public/images/qenta_ccard.png} | Bin .../frontend/_public/images/qenta_ekonto.png} | Bin .../frontend/_public/images/qenta_epay.png} | Bin .../frontend/_public/images/qenta_eps.png} | Bin .../_public/images/qenta_giropay.png} | Bin .../frontend/_public/images/qenta_ideal.png} | Bin .../_public/images/qenta_installment.png} | Bin .../_public/images/qenta_invoice.png} | Bin .../_public/images/qenta_maestro.png} | Bin .../_public/images/qenta_masterpass.png} | Bin .../frontend/_public/images/qenta_moneta.png} | Bin .../frontend/_public/images/qenta_paypal.png} | Bin .../frontend/_public/images/qenta_pbx.png} | Bin .../frontend/_public/images/qenta_poli.png} | Bin .../_public/images/qenta_przelewy24.png} | Bin .../frontend/_public/images/qenta_psc.png} | Bin .../_public/images/qenta_sepa-dd.png} | Bin .../_public/images/qenta_skrillwallet.png} | Bin .../images/qenta_sofortueberweisung.png} | Bin .../_public/images/qenta_tatrapay.png} | Bin .../_public/images/qenta_trustly.png} | Bin .../_public/images/qenta_voucher.png} | Bin .../_public/src/js/qenta_seamless.js} | 36 +- .../frontend/_public/src/less/all.less | 18 +- .../frontend/_public/src/less/iframe.css | 0 .../responsive/frontend/checkout/confirm.tpl | 184 ++++---- .../responsive/frontend/checkout/finish.tpl | 8 + .../frontend/plugins/payment/qenta_brands.tpl | 67 +++ .../qenta_checkout_seamless}/index.tpl | 12 +- .../qenta_checkout_seamless}/return.tpl | 10 +- .../qenta_checkout_seamless}/storeReturn.tpl | 2 +- .../info.txt | 2 +- .../plugin.png | Bin .../qenta-logo.png} | Bin .../Exception/InvalidArgumentException.php | 42 -- .../Exception/InvalidResponseException.php | 42 -- .../Return/Success/Sofortueberweisung.php | 46 -- .../WirecardCEE/QMore/ReturnFactory.php | 141 ------ .../Exception/InvalidArgumentException.php | 42 -- .../Exception/InvalidValueException.php | 42 -- .../Exception/UnexpectedValueException.php | 42 -- .../frontend/checkout/wirecard_finish.tpl | 12 - .../Views/frontend/payment_wirecard/error.tpl | 25 - .../plugins/payment/wirecard_brands.tpl | 70 --- .../responsive/frontend/checkout/finish.tpl | 8 - .../plugins/payment/wirecard_brands.tpl | 67 --- README.md | 14 +- 165 files changed, 2553 insertions(+), 2553 deletions(-) rename Frontend/{WirecardCheckoutSeamless => QentaCheckoutSeamless}/Bootstrap.php (81%) rename Frontend/{WirecardCheckoutSeamless => QentaCheckoutSeamless}/Components/CSRFWhitelistAware.php (69%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/BackendClient.php (76%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Config/client.config.php (69%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Config/user.config.php (68%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/DataStorage/Exception/ExceptionInterface.php (58%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/DataStorage/Exception/InvalidArgumentException.php (55%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/DataStorage/Request/Read.php (64%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/DataStorage/Response/Initiation.php (73%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/DataStorage/Response/Read.php (87%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/DataStorageClient.php (80%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Error.php (71%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Exception/InvalidTypeException.php => QentaCheckoutSeamless/Components/QentaCEE/QMore/Exception/BadMethodCallException.php} (56%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Exception/ExceptionInterface.php (58%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Exception/InvalidParamLengthException.php => QentaCheckoutSeamless/Components/QentaCEE/QMore/Exception/InvalidArgumentException.php} (56%) create mode 100644 Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Exception/InvalidParamLengthException.php create mode 100644 Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Exception/InvalidResponseException.php rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/FrontendClient.php (81%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Module.php (67%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/PaymentType.php (58%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Request/Backend/TransferFund.php (77%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Request/Backend/TransferFund/Existing.php (72%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Request/Backend/TransferFund/Moneta.php (73%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Request/Backend/TransferFund/SepaCT.php (75%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Request/Backend/TransferFund/SkrillWallet.php (73%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Response/Backend/ApproveReversal.php (56%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Response/Backend/Deposit.php (64%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Response/Backend/DepositReversal.php (56%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Response/Backend/FinancialObject.php (70%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Response/Backend/GetFinancialInstitutions.php (59%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Response/Backend/GetOrderDetails.php (65%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Response/Backend/Order.php (81%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Response/Backend/Order/Credit.php (85%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Response/Backend/Order/CreditIterator.php (56%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Response/Backend/Order/OrderIterator.php (75%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Response/Backend/Order/Payment.php (87%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Response/Backend/Order/Payment/Ideal.php (72%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Response/Backend/Order/Payment/Paypal.php (88%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Response/Backend/Order/Payment/Sofortueberweisung.php (82%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Response/Backend/Order/PaymentIterator.php (56%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Response/Backend/RecurPayment.php (63%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/TransferFund.php => QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Refund.php} (63%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Response/Backend/RefundReversal.php (57%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Response/Backend/ResponseAbstract.php (63%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Refund.php => QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/TransferFund.php} (66%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Response/Initiation.php (63%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Response/ResponseAbstract.php (77%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Return/Cancel.php (58%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Return/Failure.php (71%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Return/Pending.php (56%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Return/Success.php (56%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Return/Success/CreditCard.php (55%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Return/Success/Ideal.php (56%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Return/Success/PayPal.php (56%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/QMore/Return/Success/SepaDD.php (56%) create mode 100644 Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Success/Sofortueberweisung.php create mode 100644 Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/ReturnFactory.php rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Basket.php (72%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Basket/Item.php (85%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Client/ClientAbstract.php (77%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Client/Exception/ExceptionInterface.php (56%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Client/Exception/InvalidResponseException.php (55%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Config.php (83%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Config/client.config.php (66%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/ConsumerData.php (81%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/ConsumerData/Address.php (81%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Error.php (72%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Exception/ExceptionInterface.php (58%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Exception/BadMethodCallException.php => QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Exception/InvalidArgumentException.php} (56%) create mode 100644 Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Exception/InvalidFormatException.php rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Exception/InvalidResponseException.php (56%) create mode 100644 Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Exception/InvalidTypeException.php rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Exception/InvalidFormatException.php => QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Exception/InvalidValueException.php} (56%) create mode 100644 Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Exception/UnexpectedValueException.php rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Fingerprint.php (75%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/FingerprintOrder.php (82%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Module.php (62%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Module/ModuleAbstract.php (65%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Module/ModuleInterface.php (66%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/PaymentTypeAbstract.php (88%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Response/ResponseAbstract.php (75%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Return/Cancel.php (60%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Return/Failure.php (71%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Return/Pending.php (66%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Return/ReturnAbstract.php (77%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Return/Success.php (78%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Return/Success/CreditCard.php (72%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Return/Success/Ideal.php (69%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Return/Success/PayPal.php (81%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Return/Success/SepaDD.php (70%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Return/Success/Sofortueberweisung.php (76%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/ReturnFactoryAbstract.php (77%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/SerialApi.php (86%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Validate/Exception.php (61%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Validate/Fingerprint.php (75%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Validate/Interface.php (72%) rename Frontend/{WirecardCheckoutSeamless/Components/WirecardCEE => QentaCheckoutSeamless/Components/QentaCEE}/Stdlib/Validate/ValidateAbstract.php (85%) rename Frontend/{WirecardCheckoutSeamless/Controllers/Frontend/WirecardCheckoutSeamless.php => QentaCheckoutSeamless/Controllers/Frontend/QentaCheckoutSeamless.php} (72%) rename Frontend/{WirecardCheckoutSeamless => QentaCheckoutSeamless}/Models/Basket.php (85%) rename Frontend/{WirecardCheckoutSeamless => QentaCheckoutSeamless}/Models/Config.php (62%) rename Frontend/{WirecardCheckoutSeamless => QentaCheckoutSeamless}/Models/Datastorage.php (64%) rename Frontend/{WirecardCheckoutSeamless => QentaCheckoutSeamless}/Models/Resources.php (77%) rename Frontend/{WirecardCheckoutSeamless => QentaCheckoutSeamless}/Models/Seamless.php (60%) rename Frontend/{WirecardCheckoutSeamless => QentaCheckoutSeamless}/Views/frontend/_resources/javascript/wirecard_seamless.js (88%) rename Frontend/{WirecardCheckoutSeamless => QentaCheckoutSeamless}/Views/frontend/_resources/javascript/wirecardcee.js (92%) rename Frontend/{WirecardCheckoutSeamless => QentaCheckoutSeamless}/Views/frontend/_resources/styles/iframe.css (100%) rename Frontend/{WirecardCheckoutSeamless => QentaCheckoutSeamless}/Views/frontend/_resources/styles/wirecard.css (81%) rename Frontend/{WirecardCheckoutSeamless => QentaCheckoutSeamless}/Views/frontend/checkout/dsStoreReturn.tpl (86%) rename Frontend/{WirecardCheckoutSeamless => QentaCheckoutSeamless}/Views/frontend/checkout/return.tpl (72%) rename Frontend/{WirecardCheckoutSeamless => QentaCheckoutSeamless}/Views/frontend/checkout/wirecard.tpl (80%) create mode 100644 Frontend/QentaCheckoutSeamless/Views/frontend/checkout/wirecard_finish.tpl rename Frontend/{WirecardCheckoutSeamless => QentaCheckoutSeamless}/Views/frontend/checkout/wirecard_seamless.tpl (70%) create mode 100644 Frontend/QentaCheckoutSeamless/Views/frontend/payment_qenta/error.tpl rename Frontend/{WirecardCheckoutSeamless/Views/frontend/payment_wirecard => QentaCheckoutSeamless/Views/frontend/payment_qenta}/index.tpl (81%) create mode 100644 Frontend/QentaCheckoutSeamless/Views/frontend/plugins/payment/qenta_brands.tpl rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard-logo.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta-logo.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_bancontact_mistercash.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_bancontact_mistercash.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_ccard.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_ccard.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_ekonto.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_ekonto.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_epay.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_epay.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_eps.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_eps.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_giropay.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_giropay.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_ideal.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_ideal.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_installment.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_installment.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_invoice.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_invoice.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_maestro.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_maestro.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_masterpass.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_masterpass.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_moneta.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_moneta.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_paypal.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_paypal.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_pbx.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_pbx.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_poli.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_poli.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_przelewy24.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_przelewy24.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_psc.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_psc.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_sepa-dd.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_sepa-dd.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_skrillwallet.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_skrillwallet.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_sofortueberweisung.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_sofortueberweisung.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_tatrapay.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_tatrapay.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_trustly.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_trustly.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/images/wirecard_voucher.png => QentaCheckoutSeamless/Views/responsive/frontend/_public/images/qenta_voucher.png} (100%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/_public/src/js/wirecard_seamless.js => QentaCheckoutSeamless/Views/responsive/frontend/_public/src/js/qenta_seamless.js} (89%) rename Frontend/{WirecardCheckoutSeamless => QentaCheckoutSeamless}/Views/responsive/frontend/_public/src/less/all.less (74%) rename Frontend/{WirecardCheckoutSeamless => QentaCheckoutSeamless}/Views/responsive/frontend/_public/src/less/iframe.css (100%) rename Frontend/{WirecardCheckoutSeamless => QentaCheckoutSeamless}/Views/responsive/frontend/checkout/confirm.tpl (62%) create mode 100644 Frontend/QentaCheckoutSeamless/Views/responsive/frontend/checkout/finish.tpl create mode 100644 Frontend/QentaCheckoutSeamless/Views/responsive/frontend/plugins/payment/qenta_brands.tpl rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/wirecard_checkout_seamless => QentaCheckoutSeamless/Views/responsive/frontend/qenta_checkout_seamless}/index.tpl (62%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/wirecard_checkout_seamless => QentaCheckoutSeamless/Views/responsive/frontend/qenta_checkout_seamless}/return.tpl (69%) rename Frontend/{WirecardCheckoutSeamless/Views/responsive/frontend/wirecard_checkout_seamless => QentaCheckoutSeamless/Views/responsive/frontend/qenta_checkout_seamless}/storeReturn.tpl (92%) rename Frontend/{WirecardCheckoutSeamless => QentaCheckoutSeamless}/info.txt (69%) rename Frontend/{WirecardCheckoutSeamless => QentaCheckoutSeamless}/plugin.png (100%) rename Frontend/{WirecardCheckoutSeamless/wirecard-logo.png => QentaCheckoutSeamless/qenta-logo.png} (100%) delete mode 100644 Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Exception/InvalidArgumentException.php delete mode 100644 Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Exception/InvalidResponseException.php delete mode 100644 Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Success/Sofortueberweisung.php delete mode 100644 Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/ReturnFactory.php delete mode 100644 Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Exception/InvalidArgumentException.php delete mode 100644 Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Exception/InvalidValueException.php delete mode 100644 Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Exception/UnexpectedValueException.php delete mode 100644 Frontend/WirecardCheckoutSeamless/Views/frontend/checkout/wirecard_finish.tpl delete mode 100644 Frontend/WirecardCheckoutSeamless/Views/frontend/payment_wirecard/error.tpl delete mode 100644 Frontend/WirecardCheckoutSeamless/Views/frontend/plugins/payment/wirecard_brands.tpl delete mode 100644 Frontend/WirecardCheckoutSeamless/Views/responsive/frontend/checkout/finish.tpl delete mode 100644 Frontend/WirecardCheckoutSeamless/Views/responsive/frontend/plugins/payment/wirecard_brands.tpl diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 7b5c0f2..7d3f08c 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 diff --git a/Frontend/WirecardCheckoutSeamless/Bootstrap.php b/Frontend/QentaCheckoutSeamless/Bootstrap.php similarity index 81% rename from Frontend/WirecardCheckoutSeamless/Bootstrap.php rename to Frontend/QentaCheckoutSeamless/Bootstrap.php index 4f37c2b..211f230 100644 --- a/Frontend/WirecardCheckoutSeamless/Bootstrap.php +++ b/Frontend/QentaCheckoutSeamless/Bootstrap.php @@ -3,7 +3,7 @@ * Shop System Plugins - Terms of use * * This terms of use regulates warranty and liability between - * Wirecard Central Eastern Europe (subsequently referred to as WDCEE) + * Qenta Central Eastern Europe (subsequently referred to as WDCEE) * and it's contractual partners (subsequently referred to as customer or customers) * which are related to the use of plugins provided by WDCEE. * The Plugin is provided by WDCEE free of charge for it's customers and @@ -22,11 +22,11 @@ require_once __DIR__ . '/Components/CSRFWhitelistAware.php'; /** - * WirecardCheckoutSeamless Bootstrap class + * QentaCheckoutSeamless Bootstrap class * * This class is hooking into the bootstrap mechanism of Shopware. */ -class Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Bootstrap extends Shopware_Components_Plugin_Bootstrap +class Shopware_Plugins_Frontend_QentaCheckoutSeamless_Bootstrap extends Shopware_Components_Plugin_Bootstrap { /** @@ -35,7 +35,7 @@ class Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Bootstrap extends Shopw * * @var string */ - const CONTROLLER = 'WirecardCheckoutSeamless'; + const CONTROLLER = 'QentaCheckoutSeamless'; /** * Starting position for Wireqrd CEE payment methods @@ -45,7 +45,7 @@ class Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Bootstrap extends Shopw /** * Plugin name */ - const NAME = 'Shopware_5.WirecardCheckoutSeamless'; + const NAME = 'Shopware_5.QentaCheckoutSeamless'; public function getCapabilities() { @@ -74,7 +74,7 @@ public function getVersion() */ public function getLabel() { - return "Wirecard Checkout Seamless"; + return "Qenta Checkout Seamless"; } /** @@ -95,35 +95,35 @@ public function getInfo() switch ($language) { case 'en': - $copLink = 'Wirecard Checkout Portal'; + $copLink = 'Qenta Checkout Portal'; break; case 'it': - $copLink = 'Wirecard Checkout Portal'; + $copLink = 'Qenta Checkout Portal'; break; case 'nl': - $copLink = 'Wirecard Checkout Portal'; + $copLink = 'Qenta Checkout Portal'; break; case 'de': default: - $copLink = 'Wirecard Checkout Portal'; + $copLink = 'Qenta Checkout Portal'; break; } - $image = dirname(__FILE__) . '/wirecard-logo.png'; + $image = dirname(__FILE__) . '/qenta-logo.png'; $imageData = base64_encode(file_get_contents($image)); $src = 'data: '.mime_content_type($image).';base64,'.$imageData; return array( 'version' => $this->getVersion(), - 'autor' => 'Wirecard', - 'copyright' => 'Wirecard', + 'autor' => 'Qenta', + 'copyright' => 'Qenta', 'label' => $this->getLabel(), 'support' => 'http://www.wirecard.at/en/get-in-contact/', 'link' => 'http://www.wirecard.at', - 'description' => '

WIRECARD - YOUR FULL SERVICE PAYMENT PROVIDER - COMPREHENSIVE SOLUTIONS FROM ONE SINGLE SOURCE

' + 'description' => '

QENTA - YOUR FULL SERVICE PAYMENT PROVIDER - COMPREHENSIVE SOLUTIONS FROM ONE SINGLE SOURCE

' . '

' . file_get_contents(dirname(__FILE__) . '/info.txt') . '

' - . '

If you have no Wirecard account, please register yourself via ' . $copLink . '.

' + . '

If you have no Qenta account, please register yourself via ' . $copLink . '.

' ); } @@ -140,22 +140,22 @@ public function install() $this->createForm(); $this->createTranslations(); - foreach (Shopware()->WirecardCheckoutSeamless()->Config()->getDbTables() as $sql) { + foreach (Shopware()->QentaCheckoutSeamless()->Config()->getDbTables() as $sql) { Shopware()->Db()->exec($sql); } - $info = Shopware()->Db()->describeTable('wirecard_checkout_seamless'); + $info = Shopware()->Db()->describeTable('qenta_checkout_seamless'); if (!isset($info['session'])) { - Shopware()->Db()->exec('ALTER TABLE wirecard_checkout_seamless ADD COLUMN session MEDIUMTEXT NULL'); + Shopware()->Db()->exec('ALTER TABLE qenta_checkout_seamless ADD COLUMN session MEDIUMTEXT NULL'); } else { if ($info['session']['DATA_TYPE'] !== 'mediumtext') { - Shopware()->Db()->exec('ALTER TABLE wirecard_checkout_seamless MODIFY session MEDIUMTEXT'); + Shopware()->Db()->exec('ALTER TABLE qenta_checkout_seamless MODIFY session MEDIUMTEXT'); } } if (!isset($info['remoteAddr'])) { - Shopware()->Db()->exec('ALTER TABLE wirecard_checkout_seamless ADD COLUMN remoteAddr VARCHAR(80) NULL '); + Shopware()->Db()->exec('ALTER TABLE qenta_checkout_seamless ADD COLUMN remoteAddr VARCHAR(80) NULL '); } else { if ($info['remoteAddr']['DATA_TYPE'] !== 'varchar') { - Shopware()->Db()->exec('ALTER TABLE wirecard_checkout_seamless MODIFY remoteAddr VARCHAR(80)'); + Shopware()->Db()->exec('ALTER TABLE qenta_checkout_seamless MODIFY remoteAddr VARCHAR(80)'); } } @@ -196,7 +196,7 @@ public function uninstall() Shopware()->Db()->delete('s_crontab', 'pluginID = ' . (int)$this->getId()); } catch (Exception $e) { - Shopware()->Pluginlogger()->error('WirecardCheckoutSeamless: delete failed: ' . $e->getMessage(), + Shopware()->Pluginlogger()->error('QentaCheckoutSeamless: delete failed: ' . $e->getMessage(), 'ERROR' ); } @@ -209,44 +209,44 @@ public function update($version) { if (version_compare($version, '1.7.0', '<=')) { //removing paymentType click2pay - Shopware()->Db()->delete('s_core_paymentmeans', 'name = "wirecard_c2p"'); + Shopware()->Db()->delete('s_core_paymentmeans', 'name = "qenta_c2p"'); } if (version_compare($version, '1.8.1', '<=')) { //removing old logging method $em = $this->get('models'); $form = $this->Form(); - $wirecard_log = $form->getElement('WIRECARD_LOG'); - if ($wirecard_log !== null) { - $em->remove($wirecard_log); + $qenta_log = $form->getElement('QENTA_LOG'); + if ($qenta_log !== null) { + $em->remove($qenta_log); } - $wirecard_delete_log = $form->getElement('DELETELOG'); - if ($wirecard_delete_log !== null) { - $em->remove($wirecard_delete_log); + $qenta_delete_log = $form->getElement('DELETELOG'); + if ($qenta_delete_log !== null) { + $em->remove($qenta_delete_log); } $em->flush(); } if (version_compare($version, '1.10.0', '<=')) { - Shopware()->Db()->delete('s_core_paymentmeans', 'name = "wirecard_quick"'); - Shopware()->Db()->delete('s_core_paymentmeans', 'name = "wirecard_elv"'); - Shopware()->Db()->delete('s_core_paymentmeans', 'name = "wirecard_mpass"'); - Shopware()->Db()->delete('s_core_paymentmeans', 'name = "wirecard_skrilldirect"'); + Shopware()->Db()->delete('s_core_paymentmeans', 'name = "qenta_quick"'); + Shopware()->Db()->delete('s_core_paymentmeans', 'name = "qenta_elv"'); + Shopware()->Db()->delete('s_core_paymentmeans', 'name = "qenta_mpass"'); + Shopware()->Db()->delete('s_core_paymentmeans', 'name = "qenta_skrilldirect"'); $em = $this->get('models'); $form = $this->Form(); - $wirecard_keep_orders = $form->getElement('KEEP_UNSUCCESSFUL_ORDERS'); - if ($wirecard_keep_orders !== null) { - $em->remove($wirecard_keep_orders); + $qenta_keep_orders = $form->getElement('KEEP_UNSUCCESSFUL_ORDERS'); + if ($qenta_keep_orders !== null) { + $em->remove($qenta_keep_orders); } - $wirecard_restore_basket = $form->getElement('RESTORE_BASKET'); - if ($wirecard_restore_basket !== null) { - $em->remove($wirecard_restore_basket); + $qenta_restore_basket = $form->getElement('RESTORE_BASKET'); + if ($qenta_restore_basket !== null) { + $em->remove($qenta_restore_basket); } - $wirecard_shop_prefix = $form->getElement('SHOP_PREFIX'); - if ($wirecard_shop_prefix !== null) { - $em->remove($wirecard_shop_prefix); + $qenta_shop_prefix = $form->getElement('SHOP_PREFIX'); + if ($qenta_shop_prefix !== null) { + $em->remove($qenta_shop_prefix); } $em->flush(); } @@ -268,7 +268,7 @@ public function createForm() array( 'label' => 'Kundennummer', 'scope' => \Shopware\Models\Config\Element::SCOPE_SHOP, - 'description' => 'Ihre Wirecard-Kundennummer (customerId, im Format D2#####)', + 'description' => 'Ihre Qenta-Kundennummer (customerId, im Format D2#####)', 'required' => true, 'order' => ++$i ) @@ -292,7 +292,7 @@ public function createForm() array( 'label' => 'Secret', 'scope' => \Shopware\Models\Config\Element::SCOPE_SHOP, - 'description' => 'Geheime Zeichenfolge, die Sie von Wirecard erhalten haben, zum Signieren und Validieren von Daten zur Prüfung der Authentizität (Testmodus: B8AKTPWBRMNBV455FG6M2DANE99WU2).', + 'description' => 'Geheime Zeichenfolge, die Sie von Qenta erhalten haben, zum Signieren und Validieren von Daten zur Prüfung der Authentizität (Testmodus: B8AKTPWBRMNBV455FG6M2DANE99WU2).', 'required' => true, 'order' => ++$i ) @@ -317,7 +317,7 @@ public function createForm() 'label' => 'Benachrichtigungsmail', 'value' => 0, 'scope' => \Shopware\Models\Config\Element::SCOPE_SHOP, - 'description' => 'Benachrichtigung per E-Mail über Zahlungen Ihrer Kunden, falls ein Kommunikationsproblem zwischen Wirecard und Ihrem Onlineshop aufgetreten ist. Bitte kontaktieren Sie unsere Sales-Teams um dieses Feature freizuschalten.', + 'description' => 'Benachrichtigung per E-Mail über Zahlungen Ihrer Kunden, falls ein Kommunikationsproblem zwischen Qenta und Ihrem Onlineshop aufgetreten ist. Bitte kontaktieren Sie unsere Sales-Teams um dieses Feature freizuschalten.', 'required' => false, 'order' => ++$i ) @@ -329,7 +329,7 @@ public function createForm() array( 'label' => 'SAQ A konform', 'value' => 0, - 'description' => 'Falls "Nein" gesetzt ist, gilt der strengere SAQ A-EP. Falls "Ja" gesetzt ist, wird in Wirecard Checkout Seamless das "PCI DSS SAQ A Compliance"-Feature verwendet und es gilt der SAQ A.', + 'description' => 'Falls "Nein" gesetzt ist, gilt der strengere SAQ A-EP. Falls "Ja" gesetzt ist, wird in Qenta Checkout Seamless das "PCI DSS SAQ A Compliance"-Feature verwendet und es gilt der SAQ A.', 'scope' => \Shopware\Models\Config\Element::SCOPE_SHOP, 'required' => false, 'order' => ++$i @@ -441,7 +441,7 @@ public function createForm() $form->setElement( 'select', - 'WIRECARD_SAVERESPONSE', + 'QENTA_SAVERESPONSE', array( 'label' => 'Speichern der Bezahlprozess-Ergebnisse', 'value' => 1, @@ -455,7 +455,7 @@ public function createForm() array(7, 'free text 5'), array(8, 'free text 6'), ), - 'description' => 'Speichern aller Ergebnisse des Bezahlprozesses, d.h. jedes Aufrufs des Wirecard Checkout Servers der Bestätigungs-URL.', + 'description' => 'Speichern aller Ergebnisse des Bezahlprozesses, d.h. jedes Aufrufs des Qenta Checkout Servers der Bestätigungs-URL.', 'scope' => \Shopware\Models\Config\Element::SCOPE_SHOP, 'required' => false, 'order' => ++$i @@ -470,7 +470,7 @@ public function createForm() 'value' => 1, 'scope' => \Shopware\Models\Config\Element::SCOPE_SHOP, 'store' => array( - array(1, 'Wirecard order number'), + array(1, 'Qenta order number'), array(2, 'Gateway reference number') ), 'description' => 'Als Shopware Transaction ID wird entweder die shopinterne Bestellnummer oder die Referenznummer des Acquirers verwendet.', @@ -481,7 +481,7 @@ public function createForm() $form->setElement( 'select', - 'WIRECARD_CONFIRM_HEADER_STYLE', + 'QENTA_CONFIRM_HEADER_STYLE', array( 'label' => 'Headerstyle', 'value' => 1, @@ -557,7 +557,7 @@ public function createForm() 'store' => array( array('payolution', 'payolution'), array('ratepay', 'RatePay'), - array('wirecard', 'Wirecard') + array('qenta', 'Qenta') ), 'scope' => \Shopware\Models\Config\Element::SCOPE_SHOP, 'required' => false, @@ -641,7 +641,7 @@ public function createTranslations() 'en_GB' => Array( 'CUSTOMERID' => Array( 'label' => 'Customer ID', - 'description' => 'Customer number you received from Wirecard (Test mode: D200001).' + 'description' => 'Customer number you received from Qenta (Test mode: D200001).' ), 'SHOPID' => Array( 'label' => 'Shop ID', @@ -649,7 +649,7 @@ public function createTranslations() ), 'SECRET' => Array( 'label' => 'Secret', - 'description' => 'String which you received from Wirecard for signing and validating data to prove their authenticity (test mode: B8AKTPWBRMNBV455FG6M2DANE99WU2).' + 'description' => 'String which you received from Qenta for signing and validating data to prove their authenticity (test mode: B8AKTPWBRMNBV455FG6M2DANE99WU2).' ), 'SERVICE_URL' => Array( 'label' => 'URL to imprint page', @@ -657,7 +657,7 @@ public function createTranslations() ), 'CONFIRM_MAIL' => Array( 'label' => 'Notification e-mail', - 'description' => 'Receiving notification by e-mail regarding the orders of your consumers if an error occurred in the communication between Wirecard and your online shop. Please contact our sales teams to activate this feature.' + 'description' => 'Receiving notification by e-mail regarding the orders of your consumers if an error occurred in the communication between Qenta and your online shop. Please contact our sales teams to activate this feature.' ), 'PAYOLUTION_TERMS' => Array( 'label' => 'Payolution terms', @@ -683,7 +683,7 @@ public function createTranslations() ), 'PCI3_DSS_SAQ_A_ENABLE' => Array( 'label' => 'SAQ A compliance', - 'description' => 'Selecting "No", the stringent SAQ A-EP is applicable. Selecting "Yes", Wirecard Checkout Seamless is integrated with the "PCI DSS SAQ A Compliance" feature and SAQ A is applicable.' + 'description' => 'Selecting "No", the stringent SAQ A-EP is applicable. Selecting "Yes", Qenta Checkout Seamless is integrated with the "PCI DSS SAQ A Compliance" feature and SAQ A is applicable.' ), 'IFRAME_CSS_URL' => Array( 'label' => 'Iframe CSS-URL', @@ -717,11 +717,11 @@ public function createTranslations() 'label' => 'Forward basket data', 'description' => 'Forwarding basket data to the respective financial service provider.' ), - 'WIRECARD_SAVERESPONSE' => Array( + 'QENTA_SAVERESPONSE' => Array( 'label' => 'Save payment process results', - 'description' => 'Save all results regarding the payment process, i.e. each Wirecard Checkout Server response to the confirmation URL to the defined field.' + 'description' => 'Save all results regarding the payment process, i.e. each Qenta Checkout Server response to the confirmation URL to the defined field.' ), - 'WIRECARD_CONFIRM_HEADER_STYLE' => Array( + 'QENTA_CONFIRM_HEADER_STYLE' => Array( 'label' => 'Header style', 'description' => 'Style of header within the last step in payment process.' ), @@ -846,7 +846,7 @@ public function addLessFiles(Enlight_Event_EventArgs $args) public function addJsFiles(Enlight_Event_EventArgs $args) { $jsFiles = array( - __DIR__ . '/Views/responsive/frontend/_public/src/js/wirecard_seamless.js' + __DIR__ . '/Views/responsive/frontend/_public/src/js/qenta_seamless.js' ); return new Doctrine\Common\Collections\ArrayCollection($jsFiles); } @@ -856,15 +856,15 @@ public function addJsFiles(Enlight_Event_EventArgs $args) */ protected function createPayments() { - $prefixDescription = Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Config::getSingleton() + $prefixDescription = Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Config::getSingleton() ->getPrefix('description'); - $prefixName = Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Config::getSingleton()->getPrefix( + $prefixName = Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Config::getSingleton()->getPrefix( 'name' ); $translation = new Shopware_Components_Translation(); $aTranslations = array(); - foreach (Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Config::getSingleton()->getPaymentMethods() as $pos => $pm) { + foreach (Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Config::getSingleton()->getPaymentMethods() as $pos => $pm) { $oPayment = $this->Payments()->findOneBy(array('name' => $prefixName . $pm['name'])); if (!$oPayment) { $payment = array( @@ -887,7 +887,7 @@ protected function createPayments() if (isset($pm['additionalDescription']) && $pm['additionalDescription'] != '') { $additional = $oPayment->getAdditionalDescription(); if ( $additional === '' ) { - if ($oPayment->getTemplate() == 'wirecard_brands.tpl') { + if ($oPayment->getTemplate() == 'qenta_brands.tpl') { $oPayment->setTemplate(null); } $oPayment->setAdditionalDescription($pm['additionalDescription']); @@ -913,21 +913,21 @@ public function pluginConfig() /** * Initial parameters called by bootstrap and controller * - * @return Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Resources + * @return Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Resources */ public static function init() { - // Register resource WirecardCheckoutSeamless - // The instance is available with Shopware()->WirecardCheckoutSeamless() - if (!Shopware()->Bootstrap()->issetResource('WirecardCheckoutSeamless')) { + // Register resource QentaCheckoutSeamless + // The instance is available with Shopware()->QentaCheckoutSeamless() + if (!Shopware()->Bootstrap()->issetResource('QentaCheckoutSeamless')) { Shopware()->Bootstrap()->registerResource( - 'WirecardCheckoutSeamless', - Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Resources::getSingleton() + 'QentaCheckoutSeamless', + Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Resources::getSingleton() ); } // Register root directory for this plugin - Shopware()->WirecardCheckoutSeamless()->Config()->setPluginRoot( + Shopware()->QentaCheckoutSeamless()->Config()->setPluginRoot( substr(dirname(__FILE__), 1 + strlen($_SERVER['DOCUMENT_ROOT'])) ); } @@ -935,8 +935,8 @@ public static function init() public function afterInit() { $this->registerCustomModels(); - $this->get('Loader')->registerNamespace('Shopware\\Plugins\\WirecardCheckoutSeamless', $this->Path()); - $this->get('Loader')->registerNamespace('WirecardCEE', $this->Path() . 'Components/WirecardCEE/'); + $this->get('Loader')->registerNamespace('Shopware\\Plugins\\QentaCheckoutSeamless', $this->Path()); + $this->get('Loader')->registerNamespace('QentaCEE', $this->Path() . 'Components/QentaCEE/'); } /** @@ -947,7 +947,7 @@ public function afterInit() */ public static function onGetControllerPathFrontend(Enlight_Event_EventArgs $args) { - Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Bootstrap::init(); + Shopware_Plugins_Frontend_QentaCheckoutSeamless_Bootstrap::init(); Shopware()->Template()->addTemplateDir(dirname(__FILE__) . '/Views/'); return dirname(__FILE__) . '/Controllers/Frontend/' . self::CONTROLLER . '.php'; } @@ -959,7 +959,7 @@ public static function onGetControllerPathFrontend(Enlight_Event_EventArgs $args */ public function getPayolutionLink() { - $mid = Shopware()->WirecardCheckoutSeamless()->Config()->PAYOLUTION_MID; + $mid = Shopware()->QentaCheckoutSeamless()->Config()->PAYOLUTION_MID; if (strlen($mid) === 0) { return false; } @@ -970,7 +970,7 @@ public function getPayolutionLink() } /** - * set confirmmail after ordercreation false (only for WirecardCheckoutSeamless) + * set confirmmail after ordercreation false (only for QentaCheckoutSeamless) * @param Enlight_Event_EventArgs $args * @return bool */ @@ -981,8 +981,8 @@ public function defineSending(Enlight_Event_EventArgs $args) $paymentaction = $additional['payment']['action']; $sPaymentstate = Shopware()->Session()->sPaymentstate; - //only prevent confirmationmail for WirecardCheckoutSeamless payment action - if ($paymentaction == 'WirecardCheckoutSeamless' && $sPaymentstate !== 'success') { + //only prevent confirmationmail for QentaCheckoutSeamless payment action + if ($paymentaction == 'QentaCheckoutSeamless' && $sPaymentstate !== 'success') { return false; } } @@ -1018,10 +1018,10 @@ public function onPostDispatch(Enlight_Event_EventArgs $args) // do pre-check for invoice and installment if ( ! $this->isActivePayment('invoice')) { - $view->sPayments = $this->hidePayment($view->sPayments, 'wirecard_invoice'); + $view->sPayments = $this->hidePayment($view->sPayments, 'qenta_invoice'); } if ( ! $this->isActivePayment('installment')) { - $view->sPayments = $this->hidePayment($view->sPayments, 'wirecard_installment'); + $view->sPayments = $this->hidePayment($view->sPayments, 'qenta_installment'); } $view->addTemplateDir($this->Path() . 'Views/common/'); @@ -1033,7 +1033,7 @@ public function onPostDispatch(Enlight_Event_EventArgs $args) $view->addTemplateDir($this->Path() . 'Views/common/'); $view->addTemplateDir($this->Path() . 'Views/responsive/'); - $customerId = Shopware()->WirecardCheckoutSeamless()->Config()->customerid; + $customerId = Shopware()->QentaCheckoutSeamless()->Config()->customerid; if (Shopware()->Session()->offsetGet('wcsConsumerDeviceId') != null) { $consumerDeviceId = Shopware()->Session()->offsetGet('wcsConsumerDeviceId'); @@ -1042,9 +1042,9 @@ public function onPostDispatch(Enlight_Event_EventArgs $args) $consumerDeviceId = md5($customerId . "_" . $timestamp); Shopware()->Session()->offsetSet('wcsConsumerDeviceId', $consumerDeviceId); } - $paymentName = Shopware()->WirecardCheckoutSeamless()->getPaymentShortName(); - if ((Shopware()->WirecardCheckoutSeamless()->Config()->INVOICE_PROVIDER == 'ratepay' && $paymentName == 'invoice') || - (Shopware()->WirecardCheckoutSeamless()->Config()->INSTALLMENT_PROVIDER == 'ratepay' && $paymentName == 'installment')) { + $paymentName = Shopware()->QentaCheckoutSeamless()->getPaymentShortName(); + if ((Shopware()->QentaCheckoutSeamless()->Config()->INVOICE_PROVIDER == 'ratepay' && $paymentName == 'invoice') || + (Shopware()->QentaCheckoutSeamless()->Config()->INSTALLMENT_PROVIDER == 'ratepay' && $paymentName == 'installment')) { $ratepay = ''; $ratepay .= ''; $ratepay .= ''; @@ -1053,23 +1053,23 @@ public function onPostDispatch(Enlight_Event_EventArgs $args) } // Output of common errors - if (null != Shopware()->WirecardCheckoutSeamless()->wirecard_action) { + if (null != Shopware()->QentaCheckoutSeamless()->qenta_action) { self::showErrorMessages($view); } // Don't show additional data for selected payment methods if (in_array( - Shopware()->WirecardCheckoutSeamless()->getPaymentShortName(), - Shopware()->WirecardCheckoutSeamless()->Config()->getPaymentsWithAdditionalData() + Shopware()->QentaCheckoutSeamless()->getPaymentShortName(), + Shopware()->QentaCheckoutSeamless()->Config()->getPaymentsWithAdditionalData() ) ) { - if (Shopware()->WirecardCheckoutSeamless()->Datastorage()->initiate() === false) { + if (Shopware()->QentaCheckoutSeamless()->Datastorage()->initiate() === false) { // hide technical error message - Shopware()->WirecardCheckoutSeamless()->wirecard_message = 'Could not initiate DataStorage!'; + Shopware()->QentaCheckoutSeamless()->qenta_message = 'Could not initiate DataStorage!'; self::showErrorMessages($view); } - Shopware()->WirecardCheckoutSeamless()->storageId = Shopware()->WirecardCheckoutSeamless()->Datastorage()->getStorageId(); + Shopware()->QentaCheckoutSeamless()->storageId = Shopware()->QentaCheckoutSeamless()->Datastorage()->getStorageId(); } $view->oldShopVersion = false; @@ -1078,22 +1078,22 @@ public function onPostDispatch(Enlight_Event_EventArgs $args) $view->oldShopVersion = true; } - $view->paymentTypeName = Shopware()->WirecardCheckoutSeamless()->getPaymentShortName(); + $view->paymentTypeName = Shopware()->QentaCheckoutSeamless()->getPaymentShortName(); //redirect to payment choice if not-active payment was chosen (invoice/installment) - if ( ! $this->isActivePayment(Shopware()->WirecardCheckoutSeamless()->getPaymentShortName())) { + if ( ! $this->isActivePayment(Shopware()->QentaCheckoutSeamless()->getPaymentShortName())) { $controller->forward('shippingPayment'); } - $view->wirecardAdditionalHeadline = Shopware()->WirecardCheckoutSeamless()->getUser('payment')->description; - $view->wirecardDatastorageReadUrl = Shopware()->Front()->Router()->assemble(Array( - 'controller' => 'wirecardcheckoutseamless', + $view->qentaAdditionalHeadline = Shopware()->QentaCheckoutSeamless()->getUser('payment')->description; + $view->qentaDatastorageReadUrl = Shopware()->Front()->Router()->assemble(Array( + 'controller' => 'qentacheckoutseamless', 'action' => 'datastorageRead', 'sUseSSL' => true )); /** @var Enlight_Components_Snippet_Namespace ns */ - $ns = Shopware()->Snippets()->getNamespace('engine/Shopware/Plugins/Community/Frontend/WirecardCheckoutSeamless/Views/frontend/checkout/wirecard'); - $view->noPaymentdataMessage = $ns['WirecardMessageNoPaymentdata']; + $ns = Shopware()->Snippets()->getNamespace('engine/Shopware/Plugins/Community/Frontend/QentaCheckoutSeamless/Views/frontend/checkout/qenta'); + $view->noPaymentdataMessage = $ns['QentaMessageNoPaymentdata']; /** @var Enlight_Components_Snippet_Namespace ns */ $ns = Shopware()->Snippets()->getNamespace('frontend/checkout/confirm'); @@ -1102,29 +1102,29 @@ public function onPostDispatch(Enlight_Event_EventArgs $args) switch ($view->paymentTypeName) { case 'eps': - $view->financialInstitutions = WirecardCEE_QMore_PaymentType::getFinancialInstitutions( + $view->financialInstitutions = QentaCEE_QMore_PaymentType::getFinancialInstitutions( 'EPS' ); - $view->wirecardAdditional = 'financialInstitutions'; - $view->financialInstitutionsSelected = Shopware()->WirecardCheckoutSeamless()->financialInstitution; + $view->qentaAdditional = 'financialInstitutions'; + $view->financialInstitutionsSelected = Shopware()->QentaCheckoutSeamless()->financialInstitution; break; case 'ideal': - $view->financialInstitutions = WirecardCEE_QMore_PaymentType::getFinancialInstitutions( + $view->financialInstitutions = QentaCEE_QMore_PaymentType::getFinancialInstitutions( 'IDL' ); - $view->wirecardAdditional = 'financialInstitutions'; - $view->financialInstitutionsSelected = Shopware()->WirecardCheckoutSeamless()->financialInstitution; + $view->qentaAdditional = 'financialInstitutions'; + $view->financialInstitutionsSelected = Shopware()->QentaCheckoutSeamless()->financialInstitution; break; case 'ccard': case 'ccard-moto': case 'maestro': - $view->hasPciCert = !Shopware()->WirecardCheckoutSeamless()->Config()->PCI3_DSS_SAQ_A_ENABLE; - $view->displayCardholder = Shopware()->WirecardCheckoutSeamless()->Config()->CREDITCARD_SHOWCARDHOLDER; - $view->displayCvc = Shopware()->WirecardCheckoutSeamless()->Config()->CREDITCARD_SHOWCVC; - $view->displayIssueDate = Shopware()->WirecardCheckoutSeamless()->Config()->CREDITCARD_SHOWISSUEDATE; - $view->displayIssueNumber = Shopware()->WirecardCheckoutSeamless()->Config()->CREDITCARD_SHOWISSUENUMBER; + $view->hasPciCert = !Shopware()->QentaCheckoutSeamless()->Config()->PCI3_DSS_SAQ_A_ENABLE; + $view->displayCardholder = Shopware()->QentaCheckoutSeamless()->Config()->CREDITCARD_SHOWCARDHOLDER; + $view->displayCvc = Shopware()->QentaCheckoutSeamless()->Config()->CREDITCARD_SHOWCVC; + $view->displayIssueDate = Shopware()->QentaCheckoutSeamless()->Config()->CREDITCARD_SHOWISSUEDATE; + $view->displayIssueNumber = Shopware()->QentaCheckoutSeamless()->Config()->CREDITCARD_SHOWISSUENUMBER; // Show 20 years beginning from the current year for // for issue and expire date of credit cards $view->cartYear = range(date('Y'), date('Y') + 20); @@ -1133,12 +1133,12 @@ public function onPostDispatch(Enlight_Event_EventArgs $args) case 'elv': case 'sepa-dd': case 'voucher': - $view->wirecardAdditional = 'seamless'; - $view->wirecardJavascript = Shopware()->WirecardCheckoutSeamless()->Datastorage()->getJavascriptUrl(); + $view->qentaAdditional = 'seamless'; + $view->qentaJavascript = Shopware()->QentaCheckoutSeamless()->Datastorage()->getJavascriptUrl(); break; case 'invoice': case 'installment': - $view->wirecardAdditional = 'seamless'; + $view->qentaAdditional = 'seamless'; $user = Shopware()->Session()->sOrderVariables['sUserData']; $birth = null; @@ -1163,17 +1163,17 @@ public function onPostDispatch(Enlight_Event_EventArgs $args) $view->bDay = $birthday[2]; $view->payolutionTerms = false; - if ((Shopware()->WirecardCheckoutSeamless()->Config()->INVOICE_PROVIDER == 'payolution' && $view->paymentTypeName == 'invoice') || - (Shopware()->WirecardCheckoutSeamless()->Config()->INSTALLMENT_PROVIDER == 'payolution' && $view->paymentTypeName == 'installment')) { - $view->payolutionTerms = Shopware()->WirecardCheckoutSeamless()->Config()->PAYOLUTION_TERMS; - if (Shopware()->WirecardCheckoutSeamless()->Config()->PAYOLUTION_TERMS) { + if ((Shopware()->QentaCheckoutSeamless()->Config()->INVOICE_PROVIDER == 'payolution' && $view->paymentTypeName == 'invoice') || + (Shopware()->QentaCheckoutSeamless()->Config()->INSTALLMENT_PROVIDER == 'payolution' && $view->paymentTypeName == 'installment')) { + $view->payolutionTerms = Shopware()->QentaCheckoutSeamless()->Config()->PAYOLUTION_TERMS; + if (Shopware()->QentaCheckoutSeamless()->Config()->PAYOLUTION_TERMS) { $view->wcsPayolutionLink1 = ''; $view->wcsPayolutionLink2 = ''; } } break; default: - $view->wirecardAdditional = 'none'; + $view->qentaAdditional = 'none'; break; } break; @@ -1207,7 +1207,7 @@ public function onPreDispatch(Enlight_Event_EventArgs $args) $financialInstitution = $args->getSubject()->Request()->get('financialInstitution'); if (isset($financialInstitution)) { self::init(); - Shopware()->WirecardCheckoutSeamless()->financialInstitution = $financialInstitution; + Shopware()->QentaCheckoutSeamless()->financialInstitution = $financialInstitution; } $birthDate = $args->getSubject()->Request()->get('birthdate'); @@ -1232,8 +1232,8 @@ private function isActivePayment($paymentName) $current_currency = $shop->getCurrency()->getCurrency(); switch ($paymentName) { case 'invoice': - case 'wirecard_invoice': - $currencies = Shopware()->WirecardCheckoutSeamless()->Config()->INVOICE_CURRENCY; + case 'qenta_invoice': + $currencies = Shopware()->QentaCheckoutSeamless()->Config()->INVOICE_CURRENCY; if (isset($currencies)) { foreach ($currencies as $currency) { @@ -1247,8 +1247,8 @@ private function isActivePayment($paymentName) } return true; case 'installment': - case 'wirecard_installment': - $currencies = Shopware()->WirecardCheckoutSeamless()->Config()->INSTALLMENT_CURRENCY; + case 'qenta_installment': + $currencies = Shopware()->QentaCheckoutSeamless()->Config()->INSTALLMENT_CURRENCY; if (isset($currencies)) { foreach ($currencies as $currency) { @@ -1296,10 +1296,10 @@ protected function hidePayment($payments, $paymentName) */ protected static function showErrorMessages($view) { - $view->wirecard_error = Shopware()->WirecardCheckoutSeamless()->wirecard_action; - $view->wirecard_message = Shopware()->WirecardCheckoutSeamless()->wirecard_message; - Shopware()->WirecardCheckoutSeamless()->wirecard_action = null; - Shopware()->WirecardCheckoutSeamless()->wirecard_message = null; + $view->qenta_error = Shopware()->QentaCheckoutSeamless()->qenta_action; + $view->qenta_message = Shopware()->QentaCheckoutSeamless()->qenta_message; + Shopware()->QentaCheckoutSeamless()->qenta_action = null; + Shopware()->QentaCheckoutSeamless()->qenta_message = null; } /** diff --git a/Frontend/WirecardCheckoutSeamless/Components/CSRFWhitelistAware.php b/Frontend/QentaCheckoutSeamless/Components/CSRFWhitelistAware.php similarity index 69% rename from Frontend/WirecardCheckoutSeamless/Components/CSRFWhitelistAware.php rename to Frontend/QentaCheckoutSeamless/Components/CSRFWhitelistAware.php index 83b57ed..c744b2b 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/CSRFWhitelistAware.php +++ b/Frontend/QentaCheckoutSeamless/Components/CSRFWhitelistAware.php @@ -2,20 +2,20 @@ /** * 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 explicitly do not form part of the Wirecard CEE range + * The plugins offered are provided free of charge by Qenta Central Eastern Europe GmbH + * (abbreviated to Qenta CEE) and explicitly do not form part of the Qenta CEE range * of products and services. * They have been tested and approved for full functionality in the standard configuration * (status on delivery) of the corresponding shop system. They are under General Public * License Version 2 (GPLv2) and can be used, developed and passed to third parties under * the same terms. - * However, Wirecard CEE does not provide any guarantee or accept any liability for any + * 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. - * The customer uses the plugin at own risk. Wirecard CEE does not guarantee its full - * functionality neither does Wirecard CEE assume liability for any disadvantage related - * to the use of this plugin. Additionally Wirecard CEE does not guarantee its full + * The customer uses the plugin at own risk. Qenta CEE does not guarantee its full + * functionality neither does Qenta CEE assume liability for any disadvantage related + * to the use of this plugin. Additionally Qenta CEE does not guarantee its full * functionality for customized shop systems or installed plugins of other vendors of * plugins within the same shop system. * The customer is responsible for testing the plugin's functionality within its own shop diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/BackendClient.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/BackendClient.php similarity index 76% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/BackendClient.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/BackendClient.php index 469d921..7b58e34 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/BackendClient.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/BackendClient.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 Central Eastern Europe 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. * @@ -31,11 +31,11 @@ */ /** - * @name WirecardCEE_QMore_BackendClient - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_BackendClient + * @category QentaCEE + * @package QentaCEE_QMore */ -class WirecardCEE_QMore_BackendClient extends WirecardCEE_Stdlib_Client_ClientAbstract +class QentaCEE_QMore_BackendClient extends QentaCEE_Stdlib_Client_ClientAbstract { /** * Password @@ -247,27 +247,27 @@ class WirecardCEE_QMore_BackendClient extends WirecardCEE_Stdlib_Client_ClientAb protected $_fingerprintOrderType = 1; /** - * Creates an instance of an WirecardCEE_QMore_BackendClient object. + * Creates an instance of an QentaCEE_QMore_BackendClient object. * - * @param array|WirecardCEE_Stdlib_Config $config + * @param array|QentaCEE_Stdlib_Config $config */ public function __construct($config = null) { - $this->_fingerprintOrder = new WirecardCEE_Stdlib_FingerprintOrder(); + $this->_fingerprintOrder = new QentaCEE_Stdlib_FingerprintOrder(); //if no config was sent fallback to default config file if (is_null($config)) { - $config = WirecardCEE_QMore_Module::getConfig(); + $config = QentaCEE_QMore_Module::getConfig(); } - if (is_array($config) && isset( $config['WirecardCEEQMoreConfig'] )) { - // we only need the WirecardCEEQMoreConfig here - $config = $config['WirecardCEEQMoreConfig']; + if (is_array($config) && isset( $config['QentaCEEQMoreConfig'] )) { + // we only need the QentaCEEQMoreConfig here + $config = $config['QentaCEEQMoreConfig']; } // let's store configuration details in internal objects - $this->oUserConfig = is_object($config) ? $config : new WirecardCEE_Stdlib_Config($config); - $this->oClientConfig = new WirecardCEE_Stdlib_Config(WirecardCEE_QMore_Module::getClientConfig()); + $this->oUserConfig = is_object($config) ? $config : new QentaCEE_Stdlib_Config($config); + $this->oClientConfig = new QentaCEE_Stdlib_Config(QentaCEE_QMore_Module::getClientConfig()); // now let's check if the CUSTOMER_ID, SHOP_ID, LANGUAGE and SECRET // exist in $this->oUserConfig object that we created from config array @@ -279,22 +279,22 @@ public function __construct($config = null) // If not throw the InvalidArgumentException exception! if (empty( $sCustomerId ) || is_null($sCustomerId)) { - throw new WirecardCEE_QMore_Exception_InvalidArgumentException(sprintf('CUSTOMER_ID passed to %s is invalid.', + throw new QentaCEE_QMore_Exception_InvalidArgumentException(sprintf('CUSTOMER_ID passed to %s is invalid.', __METHOD__)); } if (empty( $sLanguage ) || is_null($sLanguage)) { - throw new WirecardCEE_QMore_Exception_InvalidArgumentException(sprintf('LANGUAGE passed to %s is invalid.', + throw new QentaCEE_QMore_Exception_InvalidArgumentException(sprintf('LANGUAGE passed to %s is invalid.', __METHOD__)); } if (empty( $sSecret ) || is_null($sSecret)) { - throw new WirecardCEE_QMore_Exception_InvalidArgumentException(sprintf('SECRET passed to %s is invalid.', + throw new QentaCEE_QMore_Exception_InvalidArgumentException(sprintf('SECRET passed to %s is invalid.', __METHOD__)); } if (empty( $sPassword ) || is_null($sPassword)) { - throw new WirecardCEE_QMore_Exception_InvalidArgumentException(sprintf('PASSWORD passed to %s is invalid.', + throw new QentaCEE_QMore_Exception_InvalidArgumentException(sprintf('PASSWORD passed to %s is invalid.', __METHOD__)); } @@ -333,14 +333,14 @@ public function getFinancialInstitutions($paymentType, $bankCountry = null, $tra $this->_fingerprintOrder->setOrder($order); - return new WirecardCEE_QMore_Response_Backend_GetFinancialInstitutions($this->_send()); + return new QentaCEE_QMore_Response_Backend_GetFinancialInstitutions($this->_send()); } /** * Refund * - * @throws WirecardCEE_Stdlib_Client_Exception_InvalidResponseException - * @return WirecardCEE_QMore_Response_Backend_Refund + * @throws QentaCEE_Stdlib_Client_Exception_InvalidResponseException + * @return QentaCEE_QMore_Response_Backend_Refund */ public function refund($iOrderNumber, $iAmount, $sCurrency, $basket=null) { @@ -363,14 +363,14 @@ public function refund($iOrderNumber, $iAmount, $sCurrency, $basket=null) )); $this->_appendBasketFingerprintOrder($basket); - return new WirecardCEE_QMore_Response_Backend_Refund($this->_send()); + return new QentaCEE_QMore_Response_Backend_Refund($this->_send()); } /** * Refund reversal * - * @throws WirecardCEE_Stdlib_Client_Exception_InvalidResponseException - * @return WirecardCEE_QMore_Response_Backend_RefundReversal + * @throws QentaCEE_Stdlib_Client_Exception_InvalidResponseException + * @return QentaCEE_QMore_Response_Backend_RefundReversal */ public function refundReversal($iOrderNumber, $iCreditNumber) { @@ -389,14 +389,14 @@ public function refundReversal($iOrderNumber, $iCreditNumber) self::CREDIT_NUMBER )); - return new WirecardCEE_QMore_Response_Backend_RefundReversal($this->_send()); + return new QentaCEE_QMore_Response_Backend_RefundReversal($this->_send()); } /** * Recur payment * - * @throws WirecardCEE_Stdlib_Client_Exception_InvalidResponseException - * @return WirecardCEE_QMore_Response_Backend_RecurPayment + * @throws QentaCEE_Stdlib_Client_Exception_InvalidResponseException + * @return QentaCEE_QMore_Response_Backend_RecurPayment */ public function recurPayment( $iSourceOrderNumber, @@ -436,7 +436,7 @@ public function recurPayment( self::CURRENCY )); - return new WirecardCEE_QMore_Response_Backend_RecurPayment($this->_send()); + return new QentaCEE_QMore_Response_Backend_RecurPayment($this->_send()); } /** @@ -444,8 +444,8 @@ public function recurPayment( * * @param int $iOrderNumber * - * @throws WirecardCEE_Stdlib_Client_Exception_InvalidResponseException - * @return WirecardCEE_QMore_Response_Backend_GetOrderDetails + * @throws QentaCEE_Stdlib_Client_Exception_InvalidResponseException + * @return QentaCEE_QMore_Response_Backend_GetOrderDetails */ public function getOrderDetails($iOrderNumber) { @@ -461,14 +461,14 @@ public function getOrderDetails($iOrderNumber) self::ORDER_NUMBER )); - return new WirecardCEE_QMore_Response_Backend_GetOrderDetails($this->_send()); + return new QentaCEE_QMore_Response_Backend_GetOrderDetails($this->_send()); } /** * Approve reversal * - * @throws WirecardCEE_Stdlib_Client_Exception_InvalidResponseException - * @return WirecardCEE_QMore_Response_Backend_ApproveReversal + * @throws QentaCEE_Stdlib_Client_Exception_InvalidResponseException + * @return QentaCEE_QMore_Response_Backend_ApproveReversal */ public function approveReversal($iOrderNumber) { @@ -484,14 +484,14 @@ public function approveReversal($iOrderNumber) self::ORDER_NUMBER )); - return new WirecardCEE_QMore_Response_Backend_ApproveReversal($this->_send()); + return new QentaCEE_QMore_Response_Backend_ApproveReversal($this->_send()); } /** * Deposit * - * @throws WirecardCEE_Stdlib_Client_Exception_InvalidResponseException - * @return WirecardCEE_QMore_Response_Backend_Deposit + * @throws QentaCEE_Stdlib_Client_Exception_InvalidResponseException + * @return QentaCEE_QMore_Response_Backend_Deposit */ public function deposit($iOrderNumber, $iAmount, $sCurrency, $basket=null) { @@ -514,14 +514,14 @@ public function deposit($iOrderNumber, $iAmount, $sCurrency, $basket=null) )); $this->_appendBasketFingerprintOrder($basket); - return new WirecardCEE_QMore_Response_Backend_Deposit($this->_send()); + return new QentaCEE_QMore_Response_Backend_Deposit($this->_send()); } /** * Deposit reversal * - * @throws WirecardCEE_Stdlib_Client_Exception_InvalidResponseException - * @return WirecardCEE_QMore_Response_Backend_DepositReversal + * @throws QentaCEE_Stdlib_Client_Exception_InvalidResponseException + * @return QentaCEE_QMore_Response_Backend_DepositReversal */ public function depositReversal($iOrderNumber, $iPaymentNumber) { @@ -540,37 +540,37 @@ public function depositReversal($iOrderNumber, $iPaymentNumber) self::PAYMENT_NUMBER )); - return new WirecardCEE_QMore_Response_Backend_DepositReversal($this->_send()); + return new QentaCEE_QMore_Response_Backend_DepositReversal($this->_send()); } /** * TransferFund * - * @throws WirecardCEE_Stdlib_Exception_InvalidTypeException - * @return WirecardCEE_QMore_Request_Backend_TransferFund + * @throws QentaCEE_Stdlib_Exception_InvalidTypeException + * @return QentaCEE_QMore_Request_Backend_TransferFund */ public function transferFund($fundTransferType) { switch ($fundTransferType) { case self::$TRANSFER_FUND_TYPE_EXISTING: - $client = new WirecardCEE_QMore_Request_Backend_TransferFund_Existing($this->oUserConfig); + $client = new QentaCEE_QMore_Request_Backend_TransferFund_Existing($this->oUserConfig); break; case self::$TRANSFER_FUND_TYPE_SKIRLLWALLET: - $client = new WirecardCEE_QMore_Request_Backend_TransferFund_SkrillWallet($this->oUserConfig); + $client = new QentaCEE_QMore_Request_Backend_TransferFund_SkrillWallet($this->oUserConfig); break; case self::$TRANSFER_FUND_TYPE_MONETA: - $client = new WirecardCEE_QMore_Request_Backend_TransferFund_Moneta($this->oUserConfig); + $client = new QentaCEE_QMore_Request_Backend_TransferFund_Moneta($this->oUserConfig); break; case self::$TRANSFER_FUND_TYPE_SEPACT: - $client = new WirecardCEE_QMore_Request_Backend_TransferFund_SepaCT($this->oUserConfig); + $client = new QentaCEE_QMore_Request_Backend_TransferFund_SepaCT($this->oUserConfig); break; default: - throw new WirecardCEE_Stdlib_Exception_InvalidTypeException('Invalid fundTransferType'); + throw new QentaCEE_Stdlib_Exception_InvalidTypeException('Invalid fundTransferType'); } $client->setType($fundTransferType); @@ -587,7 +587,7 @@ public function transferFund($fundTransferType) /** * Backend URL for POST-Requests * - * @see WirecardCEE_Stdlib_Client_ClientAbstract::_getRequestUrl() + * @see QentaCEE_Stdlib_Client_ClientAbstract::_getRequestUrl() * @return string */ protected function _getRequestUrl() diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Config/client.config.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Config/client.config.php similarity index 69% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Config/client.config.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Config/client.config.php index 596d775..f1a95ea 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Config/client.config.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Config/client.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 Central Eastern Europe 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. * @@ -34,7 +34,7 @@ 'DATA_STORAGE_URL' => 'https://checkout.wirecard.com/seamless/dataStorage', 'FRONTEND_URL' => 'https://checkout.wirecard.com/seamless/frontend', 'BACKEND_URL' => 'https://checkout.wirecard.com/seamless/backend', - 'MODULE_NAME' => 'WirecardCEE_QMore', + 'MODULE_NAME' => 'QentaCEE_QMore', 'MODULE_VERSION' => '3.3.0', 'DEPENDENCIES' => array(), 'USE_DEBUG' => false diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Config/user.config.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Config/user.config.php similarity index 68% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Config/user.config.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Config/user.config.php index abb49eb..a1a1beb 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Config/user.config.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Config/user.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 Central Eastern Europe 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. * @@ -36,7 +36,7 @@ * Please input your details */ return Array( - 'WirecardCEEQMoreConfig' => Array( + 'QentaCEEQMoreConfig' => Array( 'CUSTOMER_ID' => 'D200001', 'SHOP_ID' => 'qmore', 'SECRET' => 'B8AKTPWBRMNBV455FG6M2DANE99WU2', diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/DataStorage/Exception/ExceptionInterface.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/DataStorage/Exception/ExceptionInterface.php similarity index 58% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/DataStorage/Exception/ExceptionInterface.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/DataStorage/Exception/ExceptionInterface.php index c676d04..2c739bd 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/DataStorage/Exception/ExceptionInterface.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/DataStorage/Exception/ExceptionInterface.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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_QMore_DataStorage_Exception_ExceptionInterface - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_DataStorage_Exception_ExceptionInterface + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage DataStorage_Exception */ -interface WirecardCEE_QMore_DataStorage_Exception_ExceptionInterface +interface QentaCEE_QMore_DataStorage_Exception_ExceptionInterface { } \ No newline at end of file diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/DataStorage/Exception/InvalidArgumentException.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/DataStorage/Exception/InvalidArgumentException.php similarity index 55% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/DataStorage/Exception/InvalidArgumentException.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/DataStorage/Exception/InvalidArgumentException.php index 27a8c89..b30d71d 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/DataStorage/Exception/InvalidArgumentException.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/DataStorage/Exception/InvalidArgumentException.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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_QMore_DataStorage_Exception_InvalidArgumentException - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_DataStorage_Exception_InvalidArgumentException + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage DataStorage_Exception */ -class WirecardCEE_QMore_DataStorage_Exception_InvalidArgumentException extends InvalidArgumentException implements WirecardCEE_QMore_DataStorage_Exception_ExceptionInterface +class QentaCEE_QMore_DataStorage_Exception_InvalidArgumentException extends InvalidArgumentException implements QentaCEE_QMore_DataStorage_Exception_ExceptionInterface { } diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/DataStorage/Request/Read.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/DataStorage/Request/Read.php similarity index 64% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/DataStorage/Request/Read.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/DataStorage/Request/Read.php index bb78a79..c1e7e3c 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/DataStorage/Request/Read.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/DataStorage/Request/Read.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 Central Eastern Europe 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. * @@ -31,12 +31,12 @@ */ /** - * @name WirecardCEE_QMore_DataStorage_Request_Read - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_DataStorage_Request_Read + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage DataStorage_Request */ -class WirecardCEE_QMore_DataStorage_Request_Read extends WirecardCEE_Stdlib_Client_ClientAbstract +class QentaCEE_QMore_DataStorage_Request_Read extends QentaCEE_Stdlib_Client_ClientAbstract { /** * Storage ID field name @@ -56,25 +56,25 @@ class WirecardCEE_QMore_DataStorage_Request_Read extends WirecardCEE_Stdlib_Clie * * @param array $aConfig * - * @throws WirecardCEE_QMore_Exception_InvalidArgumentException + * @throws QentaCEE_QMore_Exception_InvalidArgumentException */ public function __construct($aConfig = null) { - $this->_fingerprintOrder = new WirecardCEE_Stdlib_FingerprintOrder(); + $this->_fingerprintOrder = new QentaCEE_Stdlib_FingerprintOrder(); //if no config was sent fallback to default config file if (is_null($aConfig)) { - $aConfig = WirecardCEE_QMore_Module::getConfig(); + $aConfig = QentaCEE_QMore_Module::getConfig(); } - if (isset( $aConfig['WirecardCEEQMoreConfig'] )) { - //we only need the WirecardCEEQMoreConfig here - $aConfig = $aConfig['WirecardCEEQMoreConfig']; + if (isset( $aConfig['QentaCEEQMoreConfig'] )) { + //we only need the QentaCEEQMoreConfig here + $aConfig = $aConfig['QentaCEEQMoreConfig']; } //let's store configuration details in internal objects - $this->oUserConfig = new WirecardCEE_Stdlib_Config($aConfig); - $this->oClientConfig = new WirecardCEE_Stdlib_Config(WirecardCEE_QMore_Module::getClientConfig()); + $this->oUserConfig = new QentaCEE_Stdlib_Config($aConfig); + $this->oClientConfig = new QentaCEE_Stdlib_Config(QentaCEE_QMore_Module::getClientConfig()); //now let's check if the CUSTOMER_ID, SHOP_ID, LANGUAGE and SECRET exist in $this->oUserConfig object that we created from config array $sCustomerId = isset( $this->oUserConfig->CUSTOMER_ID ) ? trim($this->oUserConfig->CUSTOMER_ID) : null; @@ -85,17 +85,17 @@ public function __construct($aConfig = null) //If not throw the InvalidArgumentException exception! if (empty( $sCustomerId ) || is_null($sCustomerId)) { - throw new WirecardCEE_QMore_DataStorage_Exception_InvalidArgumentException(sprintf('CUSTOMER_ID passed to %s is invalid.', + throw new QentaCEE_QMore_DataStorage_Exception_InvalidArgumentException(sprintf('CUSTOMER_ID passed to %s is invalid.', __METHOD__)); } if (empty( $sLanguage ) || is_null($sLanguage)) { - throw new WirecardCEE_QMore_DataStorage_Exception_InvalidArgumentException(sprintf('LANGUAGE passed to %s is invalid.', + throw new QentaCEE_QMore_DataStorage_Exception_InvalidArgumentException(sprintf('LANGUAGE passed to %s is invalid.', __METHOD__)); } if (empty( $sSecret ) || is_null($sSecret)) { - throw new WirecardCEE_QMore_DataStorage_Exception_InvalidArgumentException(sprintf('SECRET passed to %s is invalid.', + throw new QentaCEE_QMore_DataStorage_Exception_InvalidArgumentException(sprintf('SECRET passed to %s is invalid.', __METHOD__)); } @@ -110,7 +110,7 @@ public function __construct($aConfig = null) * * @param mixed $storageId * - * @return WirecardCEE_QMore_DataStorage_Response_Read + * @return QentaCEE_QMore_DataStorage_Response_Read */ public function read($storageId) { @@ -123,11 +123,11 @@ public function read($storageId) self::SECRET )); - return new WirecardCEE_QMore_DataStorage_Response_Read($this->_send()); + return new QentaCEE_QMore_DataStorage_Response_Read($this->_send()); } /** - * @see WirecardCEE_Stdlib_Client_ClientAbstract::_getRequestUrl() + * @see QentaCEE_Stdlib_Client_ClientAbstract::_getRequestUrl() * @return string */ protected function _getRequestUrl() diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/DataStorage/Response/Initiation.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/DataStorage/Response/Initiation.php similarity index 73% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/DataStorage/Response/Initiation.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/DataStorage/Response/Initiation.php index 63d322d..3bc09e3 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/DataStorage/Response/Initiation.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/DataStorage/Response/Initiation.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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_QMore_DataStorage_Response_Initiation - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_DataStorage_Response_Initiation + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage DataStorage_Response */ -class WirecardCEE_QMore_DataStorage_Response_Initiation extends WirecardCEE_QMore_Response_ResponseAbstract +class QentaCEE_QMore_DataStorage_Response_Initiation extends QentaCEE_QMore_Response_ResponseAbstract { /** * Storage id diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/DataStorage/Response/Read.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/DataStorage/Response/Read.php similarity index 87% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/DataStorage/Response/Read.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/DataStorage/Response/Read.php index 539b098..1bdc278 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/DataStorage/Response/Read.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/DataStorage/Response/Read.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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_QMore_DataStorage_Response_Read - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_DataStorage_Response_Read + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage DataStorage_Response */ -class WirecardCEE_QMore_DataStorage_Response_Read extends WirecardCEE_QMore_Response_ResponseAbstract +class QentaCEE_QMore_DataStorage_Response_Read extends QentaCEE_QMore_Response_ResponseAbstract { /** * Const: state - existing diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/DataStorageClient.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/DataStorageClient.php similarity index 80% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/DataStorageClient.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/DataStorageClient.php index 3c20460..fd697fe 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/DataStorageClient.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/DataStorageClient.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 Central Eastern Europe 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. * @@ -32,24 +32,24 @@ /** - * @name WirecardCEE_QMore_DataStorageClient - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_DataStorageClient + * @category QentaCEE + * @package QentaCEE_QMore */ -class WirecardCEE_QMore_DataStorageClient extends WirecardCEE_Stdlib_Client_ClientAbstract +class QentaCEE_QMore_DataStorageClient extends QentaCEE_Stdlib_Client_ClientAbstract { /** * Response holder * - * @var WirecardCEE_QMore_DataStorage_Response_Initiation + * @var QentaCEE_QMore_DataStorage_Response_Initiation */ protected $oInitResponse; /** * Read response holder * - * @var WirecardCEE_QMore_DataStorage_Request_Read + * @var QentaCEE_QMore_DataStorage_Request_Read */ protected $oDataStorageReadResponse; @@ -171,24 +171,24 @@ class WirecardCEE_QMore_DataStorageClient extends WirecardCEE_Stdlib_Client_Clie * * @param array|Object $config * - * @throws WirecardCEE_QMore_Exception_InvalidArgumentException + * @throws QentaCEE_QMore_Exception_InvalidArgumentException */ public function __construct($config = null) { - $this->_fingerprintOrder = new WirecardCEE_Stdlib_FingerprintOrder(); + $this->_fingerprintOrder = new QentaCEE_Stdlib_FingerprintOrder(); //if no config was sent fallback to default config file if (is_null($config)) { - $config = WirecardCEE_QMore_Module::getConfig(); + $config = QentaCEE_QMore_Module::getConfig(); } - if (isset( $config['WirecardCEEQMoreConfig'] )) { - //we only need WirecardCEEQMoreConfig here - $config = $config['WirecardCEEQMoreConfig']; + if (isset( $config['QentaCEEQMoreConfig'] )) { + //we only need QentaCEEQMoreConfig here + $config = $config['QentaCEEQMoreConfig']; } - $this->oUserConfig = is_object($config) ? $config : new WirecardCEE_Stdlib_Config($config); - $this->oClientConfig = new WirecardCEE_Stdlib_Config(WirecardCEE_QMore_Module::getClientConfig()); + $this->oUserConfig = is_object($config) ? $config : new QentaCEE_Stdlib_Config($config); + $this->oClientConfig = new QentaCEE_Stdlib_Config(QentaCEE_QMore_Module::getClientConfig()); //now let's check if the CUSTOMER_ID, SHOP_ID, LANGUAGE and SECRET exist in config array $sCustomerId = isset( $this->oUserConfig->CUSTOMER_ID ) ? trim($this->oUserConfig->CUSTOMER_ID) : null; @@ -198,17 +198,17 @@ public function __construct($config = null) //If not throw the InvalidArgumentException exception! if (empty( $sCustomerId ) || is_null($sCustomerId)) { - throw new WirecardCEE_QMore_Exception_InvalidArgumentException(sprintf('CUSTOMER_ID passed to %s is invalid.', + throw new QentaCEE_QMore_Exception_InvalidArgumentException(sprintf('CUSTOMER_ID passed to %s is invalid.', __METHOD__)); } if (empty( $sLanguage ) || is_null($sLanguage)) { - throw new WirecardCEE_QMore_Exception_InvalidArgumentException(sprintf('LANGUAGE passed to %s is invalid.', + throw new QentaCEE_QMore_Exception_InvalidArgumentException(sprintf('LANGUAGE passed to %s is invalid.', __METHOD__)); } if (empty( $sSecret ) || is_null($sSecret)) { - throw new WirecardCEE_QMore_Exception_InvalidArgumentException(sprintf('SECRET passed to %s is invalid.', + throw new QentaCEE_QMore_Exception_InvalidArgumentException(sprintf('SECRET passed to %s is invalid.', __METHOD__)); } @@ -220,7 +220,7 @@ public function __construct($config = null) /** * - * @return WirecardCEE_QMore_DataStorage_Response_Initiation + * @return QentaCEE_QMore_DataStorage_Response_Initiation */ public function initiate() { @@ -245,7 +245,7 @@ public function initiate() //Are there any errors in the $aMissingFields object? //If so throw the InvalidArgumentException and print all the fields that are missing! if ($aMissingFields->count()) { - throw new WirecardCEE_QMore_Exception_InvalidArgumentException(sprintf("Could not initiate DataStorage! Missing mandatory field(s): %s; thrown in %s", + throw new QentaCEE_QMore_Exception_InvalidArgumentException(sprintf("Could not initiate DataStorage! Missing mandatory field(s): %s; thrown in %s", implode(", ", (array) $aMissingFields), __METHOD__)); } @@ -263,14 +263,14 @@ public function initiate() self::SECRET )); - $this->oInitResponse = new WirecardCEE_QMore_DataStorage_Response_Initiation($this->_send()); + $this->oInitResponse = new QentaCEE_QMore_DataStorage_Response_Initiation($this->_send()); return $this->oInitResponse; } /** * - * @throws WirecardCEE_QMore_Exception_InvalidArgumentException + * @throws QentaCEE_QMore_Exception_InvalidArgumentException */ public function read() { @@ -283,8 +283,8 @@ public function read() // check if storageId has been set from outside. If not fallback to // response and see if response can give us storageId if (!$this->_isFieldSet(self::STORAGE_ID)) { - if (!$this->oInitResponse instanceof WirecardCEE_QMore_DataStorage_Response_Initiation) { - throw new WirecardCEE_QMore_Exception_BadMethodCallException(sprintf("StorageId hasn't been found. Use 'initiate()' or 'setStorageId()'! Thrown in %s", + if (!$this->oInitResponse instanceof QentaCEE_QMore_DataStorage_Response_Initiation) { + throw new QentaCEE_QMore_Exception_BadMethodCallException(sprintf("StorageId hasn't been found. Use 'initiate()' or 'setStorageId()'! Thrown in %s", __METHOD__)); } @@ -300,11 +300,11 @@ public function read() //Are there any errors in the $aMissingFields object? //If so throw the InvalidArgumentException and print all the fields that are missing! if ($aMissingFields->count()) { - throw new WirecardCEE_QMore_Exception_InvalidArgumentException(sprintf("Could not initiate DataStorage Read! Missing mandatory field(s): %s; thrown in %s", + throw new QentaCEE_QMore_Exception_InvalidArgumentException(sprintf("Could not initiate DataStorage Read! Missing mandatory field(s): %s; thrown in %s", implode(", ", (array) $aMissingFields), __METHOD__)); } - $_dataStorageRead = new WirecardCEE_QMore_DataStorage_Request_Read($this->oUserConfig->toArray()); + $_dataStorageRead = new QentaCEE_QMore_DataStorage_Request_Read($this->oUserConfig->toArray()); $this->oDataStorageReadResponse = $_dataStorageRead->read($this->_requestData[self::STORAGE_ID]); return $this->oDataStorageReadResponse; @@ -316,7 +316,7 @@ public function read() * * @param string $javascriptScriptVersion * - * @return WirecardCEE_QMore_DataStorageClient + * @return QentaCEE_QMore_DataStorageClient */ public function setJavascriptScriptVersion($javascriptScriptVersion) { @@ -330,7 +330,7 @@ public function setJavascriptScriptVersion($javascriptScriptVersion) * * @param string $sUrl * - * @return WirecardCEE_QMore_DataStorageClient + * @return QentaCEE_QMore_DataStorageClient */ public function setReturnUrl($sUrl) { @@ -345,7 +345,7 @@ public function setReturnUrl($sUrl) * * @param string $sOrderIdent * - * @return WirecardCEE_QMore_DataStorageClient + * @return QentaCEE_QMore_DataStorageClient */ public function setOrderIdent($sOrderIdent) { @@ -358,7 +358,7 @@ public function setOrderIdent($sOrderIdent) * * @param string $sStorageId * - * @return WirecardCEE_QMore_DataStorageClient + * @return QentaCEE_QMore_DataStorageClient */ public function setStorageId($sStorageId) { @@ -484,7 +484,7 @@ public function setCreditCardShowIssueDatePlaceholder($showPlaceholder) */ /** - * @see WirecardCEE_Stdlib_Client_Request_Abstract::_getRequestUrl() + * @see QentaCEE_Stdlib_Client_Request_Abstract::_getRequestUrl() * @return string */ protected function _getRequestUrl() diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Error.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Error.php similarity index 71% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Error.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Error.php index 5428139..8d225c7 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Error.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Error.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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_QMore_Error - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Error + * @category QentaCEE + * @package QentaCEE_QMore */ -class WirecardCEE_QMore_Error extends WirecardCEE_Stdlib_Error +class QentaCEE_QMore_Error extends QentaCEE_Stdlib_Error { /** * Error code @@ -53,7 +53,7 @@ class WirecardCEE_QMore_Error extends WirecardCEE_Stdlib_Error protected $_paySysMessage = null; /** - * WirecardCEE_QMore_Error contructor + * QentaCEE_QMore_Error contructor * * @param int $errorCode * @param string $message @@ -79,7 +79,7 @@ public function getErrorCode() * * @param string $paySysMessage * - * @return WirecardCEE_QMore_Error + * @return QentaCEE_QMore_Error */ public function setPaySysMessage($paySysMessage) { diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Exception/InvalidTypeException.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Exception/BadMethodCallException.php similarity index 56% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Exception/InvalidTypeException.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Exception/BadMethodCallException.php index 1855b7c..5df7884 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Exception/InvalidTypeException.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Exception/BadMethodCallException.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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_Stdlib_Exception_InvalidResponseException - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_QMore_Exception_BadMethodCallException + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Exception */ -class WirecardCEE_Stdlib_Exception_InvalidTypeException extends Exception implements WirecardCEE_Stdlib_Client_Exception_ExceptionInterface +class QentaCEE_QMore_Exception_BadMethodCallException extends BadMethodCallException implements QentaCEE_QMore_Exception_ExceptionInterface { } \ No newline at end of file diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Exception/ExceptionInterface.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Exception/ExceptionInterface.php similarity index 58% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Exception/ExceptionInterface.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Exception/ExceptionInterface.php index 762a7ec..796fa25 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Exception/ExceptionInterface.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Exception/ExceptionInterface.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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_QMore_Exception_ExceptionInterface - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Exception_ExceptionInterface + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Exception */ -interface WirecardCEE_QMore_Exception_ExceptionInterface +interface QentaCEE_QMore_Exception_ExceptionInterface { } \ No newline at end of file diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Exception/InvalidParamLengthException.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Exception/InvalidArgumentException.php similarity index 56% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Exception/InvalidParamLengthException.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Exception/InvalidArgumentException.php index ba54973..6d1a56d 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Exception/InvalidParamLengthException.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Exception/InvalidArgumentException.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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_QMore_Exception_InvalidParamLengthException - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Exception_InvalidArgumentException + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Exception */ -class WirecardCEE_QMore_Exception_InvalidParamLengthException extends LengthException implements WirecardCEE_QMore_Exception_ExceptionInterface +class QentaCEE_QMore_Exception_InvalidArgumentException extends InvalidArgumentException implements QentaCEE_QMore_Exception_ExceptionInterface { -} \ No newline at end of file +} diff --git a/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Exception/InvalidParamLengthException.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Exception/InvalidParamLengthException.php new file mode 100644 index 0000000..156f24f --- /dev/null +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Exception/InvalidParamLengthException.php @@ -0,0 +1,42 @@ +_fingerprintOrder = new WirecardCEE_Stdlib_FingerprintOrder(); + $this->_fingerprintOrder = new QentaCEE_Stdlib_FingerprintOrder(); //if no config was sent fallback to default config file if (is_null($config)) { - $config = WirecardCEE_QMore_Module::getConfig(); + $config = QentaCEE_QMore_Module::getConfig(); } - if (isset( $config['WirecardCEEQMoreConfig'] )) { - //we only need the WirecardCEEQMoreConfig here - $config = $config['WirecardCEEQMoreConfig']; + if (isset( $config['QentaCEEQMoreConfig'] )) { + //we only need the QentaCEEQMoreConfig here + $config = $config['QentaCEEQMoreConfig']; } //let's store configuration details in internal objects - $this->oUserConfig = is_object($config) ? $config : new WirecardCEE_Stdlib_Config($config); - $this->oClientConfig = new WirecardCEE_Stdlib_Config(WirecardCEE_QMore_Module::getClientConfig()); + $this->oUserConfig = is_object($config) ? $config : new QentaCEE_Stdlib_Config($config); + $this->oClientConfig = new QentaCEE_Stdlib_Config(QentaCEE_QMore_Module::getClientConfig()); //now let's check if the CUSTOMER_ID, SHOP_ID, LANGUAGE and SECRET exist in $this->oUserConfig object that we've created from config array $sCustomerId = isset( $this->oUserConfig->CUSTOMER_ID ) ? trim($this->oUserConfig->CUSTOMER_ID) : null; @@ -225,17 +225,17 @@ public function __construct($config = null) //If not throw the InvalidArgumentException exception! if (empty( $sCustomerId ) || is_null($sCustomerId)) { - throw new WirecardCEE_QMore_Exception_InvalidArgumentException(sprintf('CUSTOMER_ID passed to %s is invalid.', + throw new QentaCEE_QMore_Exception_InvalidArgumentException(sprintf('CUSTOMER_ID passed to %s is invalid.', __METHOD__)); } if (empty( $sLanguage ) || is_null($sLanguage)) { - throw new WirecardCEE_QMore_Exception_InvalidArgumentException(sprintf('LANGUAGE passed to %s is invalid.', + throw new QentaCEE_QMore_Exception_InvalidArgumentException(sprintf('LANGUAGE passed to %s is invalid.', __METHOD__)); } if (empty( $sSecret ) || is_null($sSecret)) { - throw new WirecardCEE_QMore_Exception_InvalidArgumentException(sprintf('SECRET passed to %s is invalid.', + throw new QentaCEE_QMore_Exception_InvalidArgumentException(sprintf('SECRET passed to %s is invalid.', __METHOD__)); } @@ -248,7 +248,7 @@ public function __construct($config = null) /** * - * @throws WirecardCEE_QMore_Exception_InvalidArgumentException + * @throws QentaCEE_QMore_Exception_InvalidArgumentException */ public function initiate() { @@ -294,7 +294,7 @@ public function initiate() //Are there any errors in the $aMissingFields object? //If so throw the InvalidArgumentException and print all the fields that are missing! if ($aMissingFields->count()) { - throw new WirecardCEE_QMore_Exception_InvalidArgumentException(sprintf( + throw new QentaCEE_QMore_Exception_InvalidArgumentException(sprintf( "Could not initiate QMore! Missing mandatory field(s): %s; thrown in %s; Please use the appropriate setter functions to set the missing fields!", implode(", ", (array) $aMissingFields), __METHOD__)); } @@ -302,10 +302,10 @@ public function initiate() //this is where the magic happens! We send our data to response object and hopefully get back the response object with 'redirectUrl'. //Reponse object is also the one who will, if anything goes wrong, return the errors in an array! try { - $this->oResponse = new WirecardCEE_QMore_Response_Initiation($this->_send()); + $this->oResponse = new QentaCEE_QMore_Response_Initiation($this->_send()); return $this->oResponse; - } catch (WirecardCEE_Stdlib_Client_Exception_InvalidResponseException $e) { + } catch (QentaCEE_Stdlib_Client_Exception_InvalidResponseException $e) { throw $e; } } @@ -315,7 +315,7 @@ public function initiate() * * @param int|float $amount * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ public function setAmount($amount) { @@ -329,7 +329,7 @@ public function setAmount($amount) * * @param string $sCurrency * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ public function setCurrency($sCurrency) { @@ -343,7 +343,7 @@ public function setCurrency($sCurrency) * * @param string $sPaymentType * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ public function setPaymentType($sPaymentType) { @@ -357,7 +357,7 @@ public function setPaymentType($sPaymentType) * * @param string $sDesc * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ public function setOrderDescription($sDesc) { @@ -371,7 +371,7 @@ public function setOrderDescription($sDesc) * * @param string $sUrl * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ public function setSuccessUrl($sUrl) { @@ -385,7 +385,7 @@ public function setSuccessUrl($sUrl) * * @param string $sUrl * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ public function setCancelUrl($sUrl) { @@ -399,7 +399,7 @@ public function setCancelUrl($sUrl) * * @param string $sUrl * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ public function setFailureUrl($sUrl) { @@ -413,7 +413,7 @@ public function setFailureUrl($sUrl) * * @param string $sUrl * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ public function setServiceUrl($sUrl) { @@ -427,7 +427,7 @@ public function setServiceUrl($sUrl) * * @param string $financialInstitution * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ public function setFinancialInstitution($financialInstitution) { @@ -441,7 +441,7 @@ public function setFinancialInstitution($financialInstitution) * * @param string $confirmUrl * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ public function setConfirmUrl($confirmUrl) { @@ -455,7 +455,7 @@ public function setConfirmUrl($confirmUrl) * * @param string $pendingUrl * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ public function setPendingUrl($pendingUrl) { @@ -469,7 +469,7 @@ public function setPendingUrl($pendingUrl) * * @param string $windowName * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ public function setWindowName($windowName) { @@ -483,7 +483,7 @@ public function setWindowName($windowName) * * @param bool $duplicateRequestCheck * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ public function setDuplicateRequestCheck($duplicateRequestCheck) { @@ -499,7 +499,7 @@ public function setDuplicateRequestCheck($duplicateRequestCheck) * * @param string $sTxIdent * - * @return WirecardCEE_QPay_FrontendClient + * @return QentaCEE_QPay_FrontendClient */ public function setTransactionIdentifier($sTxIdent) { @@ -561,7 +561,7 @@ public function getCustomerStatement() * * @param string $orderReference * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ public function setOrderReference($orderReference) { @@ -575,7 +575,7 @@ public function setOrderReference($orderReference) * * @param string $autoDeposit * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ public function setAutoDeposit($autoDeposit) { @@ -591,7 +591,7 @@ public function setAutoDeposit($autoDeposit) * * @param string $orderNumber * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ public function setOrderNumber($orderNumber) { @@ -605,7 +605,7 @@ public function setOrderNumber($orderNumber) * * @param string $confirmMail * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ public function setConfirmMail($confirmMail) { @@ -617,11 +617,11 @@ public function setConfirmMail($confirmMail) /** * adds given consumerData to QMore request * - * @param WirecardCEE_Stdlib_ConsumerData $consumerData + * @param QentaCEE_Stdlib_ConsumerData $consumerData * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ - public function setConsumerData(WirecardCEE_Stdlib_ConsumerData $consumerData) + public function setConsumerData(QentaCEE_Stdlib_ConsumerData $consumerData) { $this->oConsumerData = $consumerData; foreach ($consumerData->getData() as $key => $value) { @@ -632,10 +632,10 @@ public function setConsumerData(WirecardCEE_Stdlib_ConsumerData $consumerData) } /** - * @param WirecardCEE_Stdlib_Basket $basket + * @param QentaCEE_Stdlib_Basket $basket * @return $this */ - public function setBasket(WirecardCEE_Stdlib_Basket $basket) { + public function setBasket(QentaCEE_Stdlib_Basket $basket) { $this->oBasket = $basket; foreach($basket->getData() AS $key => $value) { $this->_setField($key, $value); @@ -649,7 +649,7 @@ public function setBasket(WirecardCEE_Stdlib_Basket $basket) { * @param string $orderIdent * @param string $storageId * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ public function setStorageReference($orderIdent, $storageId) { @@ -663,7 +663,7 @@ public function setStorageReference($orderIdent, $storageId) * * @param string $sStorageId * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ public function setStorageId($sStorageId) { @@ -677,7 +677,7 @@ public function setStorageId($sStorageId) * * @param string $sOrderIdent * - * @return WirecardCEE_QMore_FrontendClient + * @return QentaCEE_QMore_FrontendClient */ public function setOrderIdent($sOrderIdent) { @@ -713,12 +713,12 @@ public function createConsumerMerchantCrmId($userEmail) /** * Getter for response object * - * @return WirecardCEE_QMore_Response_Initiation + * @return QentaCEE_QMore_Response_Initiation * @throws Exception */ public function getResponse() { - if (!$this->oResponse instanceof WirecardCEE_QMore_Response_Initiation) { + if (!$this->oResponse instanceof QentaCEE_QMore_Response_Initiation) { throw new Exception(sprintf("%s should be called after the initiate() function!", __METHOD__)); } @@ -780,15 +780,15 @@ public static function generatePluginVersion( */ protected function _isConsumerDataValid() { - // if consumer data is not an instance of WirecardCEE_Stdlib_ConsumerData + // if consumer data is not an instance of QentaCEE_Stdlib_ConsumerData // or if it's empty don't even bother with any checkings... - if (empty( $this->oConsumerData ) || !$this->oConsumerData instanceof WirecardCEE_Stdlib_ConsumerData) { + if (empty( $this->oConsumerData ) || !$this->oConsumerData instanceof QentaCEE_Stdlib_ConsumerData) { return false; } - // @see WirecardCEE_QMore_Request_Initiation_ConsumerData - $sConsumerIpAddressField = WirecardCEE_Stdlib_ConsumerData::getConsumerIpAddressFieldName(); - $sConsumerUserAgentField = WirecardCEE_Stdlib_ConsumerData::getConsumerUserAgentFieldName(); + // @see QentaCEE_QMore_Request_Initiation_ConsumerData + $sConsumerIpAddressField = QentaCEE_Stdlib_ConsumerData::getConsumerIpAddressFieldName(); + $sConsumerUserAgentField = QentaCEE_Stdlib_ConsumerData::getConsumerUserAgentFieldName(); // get all the consumer data in an array // @todo when 5.4 becomes available on our server we coulde use eg. $this->oConsumerData->getData()[$sConsumerIpAddressField] @@ -811,7 +811,7 @@ protected static function _getQMoreClientVersionString() } /** - * @see WirecardCEE_Stdlib_Client_ClientAbstract::_getRequestUrl() + * @see QentaCEE_Stdlib_Client_ClientAbstract::_getRequestUrl() */ protected function _getRequestUrl() { diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Module.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Module.php similarity index 67% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Module.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Module.php index 02705d8..7d2b93a 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Module.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Module.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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_QMore_Module - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Module + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Module */ -class WirecardCEE_QMore_Module extends WirecardCEE_Stdlib_Module_ModuleAbstract implements WirecardCEE_Stdlib_Module_ModuleInterface +class QentaCEE_QMore_Module extends QentaCEE_Stdlib_Module_ModuleAbstract implements QentaCEE_Stdlib_Module_ModuleInterface { /** diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/PaymentType.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/PaymentType.php similarity index 58% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/PaymentType.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/PaymentType.php index 78d9cb6..c33cfc4 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/PaymentType.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/PaymentType.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 Central Eastern Europe 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. * @@ -32,10 +32,10 @@ /** - * @name WirecardCEE_QMore_PaymentType - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_PaymentType + * @category QentaCEE + * @package QentaCEE_QMore */ -class WirecardCEE_QMore_PaymentType extends WirecardCEE_Stdlib_PaymentTypeAbstract +class QentaCEE_QMore_PaymentType extends QentaCEE_Stdlib_PaymentTypeAbstract { } diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Request/Backend/TransferFund.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Request/Backend/TransferFund.php similarity index 77% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Request/Backend/TransferFund.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Request/Backend/TransferFund.php index 9fd584d..95f80ff 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Request/Backend/TransferFund.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Request/Backend/TransferFund.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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_QMore_Request_Backend_TransferFund_Existing - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Request_Backend_TransferFund_Existing + * @category QentaCEE + * @package QentaCEE_QMore */ -class WirecardCEE_QMore_Request_Backend_TransferFund extends WirecardCEE_QMore_BackendClient +class QentaCEE_QMore_Request_Backend_TransferFund extends QentaCEE_QMore_BackendClient { /** diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Request/Backend/TransferFund/Existing.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Request/Backend/TransferFund/Existing.php similarity index 72% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Request/Backend/TransferFund/Existing.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Request/Backend/TransferFund/Existing.php index ced8583..3218cf9 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Request/Backend/TransferFund/Existing.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Request/Backend/TransferFund/Existing.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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_QMore_Request_Backend_TransferFund_Existing - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Request_Backend_TransferFund_Existing + * @category QentaCEE + * @package QentaCEE_QMore */ -class WirecardCEE_QMore_Request_Backend_TransferFund_Existing extends WirecardCEE_QMore_Request_Backend_TransferFund +class QentaCEE_QMore_Request_Backend_TransferFund_Existing extends QentaCEE_QMore_Request_Backend_TransferFund { public function send($amount, $currency, $orderDescription, $sourceOrderNumber) @@ -78,6 +78,6 @@ public function send($amount, $currency, $orderDescription, $sourceOrderNumber) $this->_fingerprintOrder->setOrder($this->_fingerprintOrder->setOrder($orderArray)); - return new WirecardCEE_QMore_Response_Backend_TransferFund($this->_send()); + return new QentaCEE_QMore_Response_Backend_TransferFund($this->_send()); } } \ No newline at end of file diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Request/Backend/TransferFund/Moneta.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Request/Backend/TransferFund/Moneta.php similarity index 73% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Request/Backend/TransferFund/Moneta.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Request/Backend/TransferFund/Moneta.php index 84f4c4f..fe11c4f 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Request/Backend/TransferFund/Moneta.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Request/Backend/TransferFund/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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_QMore_Request_Backend_TransferFund_Moneta - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Request_Backend_TransferFund_Moneta + * @category QentaCEE + * @package QentaCEE_QMore */ -class WirecardCEE_QMore_Request_Backend_TransferFund_Moneta extends WirecardCEE_QMore_Request_Backend_TransferFund +class QentaCEE_QMore_Request_Backend_TransferFund_Moneta extends QentaCEE_QMore_Request_Backend_TransferFund { public function send($amount, $currency, $orderDescription, $customerStatement, $consumerWalletId) @@ -79,6 +79,6 @@ public function send($amount, $currency, $orderDescription, $customerStatement, $this->_fingerprintOrder->setOrder($this->_fingerprintOrder->setOrder($orderArray)); - return new WirecardCEE_QMore_Response_Backend_TransferFund($this->_send()); + return new QentaCEE_QMore_Response_Backend_TransferFund($this->_send()); } } \ No newline at end of file diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Request/Backend/TransferFund/SepaCT.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Request/Backend/TransferFund/SepaCT.php similarity index 75% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Request/Backend/TransferFund/SepaCT.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Request/Backend/TransferFund/SepaCT.php index dc109ce..0637f84 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Request/Backend/TransferFund/SepaCT.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Request/Backend/TransferFund/SepaCT.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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_QMore_Request_Backend_TransferFund_SkrillWallet - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Request_Backend_TransferFund_SkrillWallet + * @category QentaCEE + * @package QentaCEE_QMore */ -class WirecardCEE_QMore_Request_Backend_TransferFund_SepaCT extends WirecardCEE_QMore_Request_Backend_TransferFund +class QentaCEE_QMore_Request_Backend_TransferFund_SepaCT extends QentaCEE_QMore_Request_Backend_TransferFund { public function send($amount, $currency, $orderDescription, $bankAccountOwner, $bankBic, $bankAccountIban) @@ -85,6 +85,6 @@ public function send($amount, $currency, $orderDescription, $bankAccountOwner, $ $this->_fingerprintOrder->setOrder($this->_fingerprintOrder->setOrder($orderArray)); - return new WirecardCEE_QMore_Response_Backend_TransferFund($this->_send()); + return new QentaCEE_QMore_Response_Backend_TransferFund($this->_send()); } } \ No newline at end of file diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Request/Backend/TransferFund/SkrillWallet.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Request/Backend/TransferFund/SkrillWallet.php similarity index 73% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Request/Backend/TransferFund/SkrillWallet.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Request/Backend/TransferFund/SkrillWallet.php index 1e1f04c..81347fb 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Request/Backend/TransferFund/SkrillWallet.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Request/Backend/TransferFund/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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_QMore_Request_Backend_TransferFund_SkrillWallet - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Request_Backend_TransferFund_SkrillWallet + * @category QentaCEE + * @package QentaCEE_QMore */ -class WirecardCEE_QMore_Request_Backend_TransferFund_SkrillWallet extends WirecardCEE_QMore_Request_Backend_TransferFund +class QentaCEE_QMore_Request_Backend_TransferFund_SkrillWallet extends QentaCEE_QMore_Request_Backend_TransferFund { public function send($amount, $currency, $orderDescription, $customerStatement, $consumerEmail) @@ -79,6 +79,6 @@ public function send($amount, $currency, $orderDescription, $customerStatement, $this->_fingerprintOrder->setOrder($this->_fingerprintOrder->setOrder($orderArray)); - return new WirecardCEE_QMore_Response_Backend_TransferFund($this->_send()); + return new QentaCEE_QMore_Response_Backend_TransferFund($this->_send()); } } \ No newline at end of file diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/ApproveReversal.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/ApproveReversal.php similarity index 56% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/ApproveReversal.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/ApproveReversal.php index 98b93a2..c531334 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/ApproveReversal.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/ApproveReversal.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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_QMore_Response_Backend_ApproveReversal - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Backend_ApproveReversal + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response_Backend */ -class WirecardCEE_QMore_Response_Backend_ApproveReversal extends WirecardCEE_QMore_Response_Backend_ResponseAbstract +class QentaCEE_QMore_Response_Backend_ApproveReversal extends QentaCEE_QMore_Response_Backend_ResponseAbstract { } \ No newline at end of file diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Deposit.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Deposit.php similarity index 64% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Deposit.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Deposit.php index 0279839..c6f6741 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Deposit.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Deposit.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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_QMore_Response_Backend_Deposit - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Backend_Deposit + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response_Backend */ -class WirecardCEE_QMore_Response_Backend_Deposit extends WirecardCEE_QMore_Response_Backend_ResponseAbstract +class QentaCEE_QMore_Response_Backend_Deposit extends QentaCEE_QMore_Response_Backend_ResponseAbstract { /** * Payment number diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/DepositReversal.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/DepositReversal.php similarity index 56% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/DepositReversal.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/DepositReversal.php index 1f27042..d77cf8b 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/DepositReversal.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/DepositReversal.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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_QMore_Response_Backend_DepositReversal - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Backend_DepositReversal + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response_Backend */ -class WirecardCEE_QMore_Response_Backend_DepositReversal extends WirecardCEE_QMore_Response_Backend_ResponseAbstract +class QentaCEE_QMore_Response_Backend_DepositReversal extends QentaCEE_QMore_Response_Backend_ResponseAbstract { } \ No newline at end of file diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/FinancialObject.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/FinancialObject.php similarity index 70% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/FinancialObject.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/FinancialObject.php index b89246e..c7db1ec 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/FinancialObject.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/FinancialObject.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 Central Eastern Europe 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. * @@ -32,13 +32,13 @@ /** - * @name WirecardCEE_QMore_Response_Backend_FinancialObject - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Backend_FinancialObject + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response_Backend * @abstract */ -abstract class WirecardCEE_QMore_Response_Backend_FinancialObject +abstract class QentaCEE_QMore_Response_Backend_FinancialObject { /** * Internal data holder diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/GetFinancialInstitutions.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/GetFinancialInstitutions.php similarity index 59% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/GetFinancialInstitutions.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/GetFinancialInstitutions.php index 1659508..46e8560 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/GetFinancialInstitutions.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/GetFinancialInstitutions.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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_QMore_Response_Backend_GetFinancialInstitutions - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Backend_GetFinancialInstitutions + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response_Backend */ -class WirecardCEE_QMore_Response_Backend_GetFinancialInstitutions extends WirecardCEE_QMore_Response_Backend_ResponseAbstract +class QentaCEE_QMore_Response_Backend_GetFinancialInstitutions extends QentaCEE_QMore_Response_Backend_ResponseAbstract { public function getFinancialInstitutions() diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/GetOrderDetails.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/GetOrderDetails.php similarity index 65% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/GetOrderDetails.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/GetOrderDetails.php index af7be77..9ab7370 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/GetOrderDetails.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/GetOrderDetails.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 Central Eastern Europe 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. * @@ -32,17 +32,17 @@ /** - * @name WirecardCEE_QMore_Response_Backend_GetOrderDetails - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Backend_GetOrderDetails + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response_Backend */ -class WirecardCEE_QMore_Response_Backend_GetOrderDetails extends WirecardCEE_QMore_Response_Backend_ResponseAbstract +class QentaCEE_QMore_Response_Backend_GetOrderDetails extends QentaCEE_QMore_Response_Backend_ResponseAbstract { /** - * Internal WirecardCEE_QMore_Response_Backend_Order holder + * Internal QentaCEE_QMore_Response_Backend_Order holder * - * @var WirecardCEE_QMore_Response_Backend_Order + * @var QentaCEE_QMore_Response_Backend_Order */ private $_order; @@ -72,7 +72,7 @@ class WirecardCEE_QMore_Response_Backend_GetOrderDetails extends WirecardCEE_QMo /** * - * @see WirecardCEE_QMore_Response_Backend_ResponseAbstract + * @see QentaCEE_QMore_Response_Backend_ResponseAbstract * * @param string[] $result */ @@ -87,13 +87,13 @@ public function __construct($result) $order['paymentData'] = is_array($payments[0]) ? $payments[0] : Array(); $order['creditData'] = is_array($credits[0]) ? $credits[0] : Array(); - $this->_order = new WirecardCEE_QMore_Response_Backend_Order($order); + $this->_order = new QentaCEE_QMore_Response_Backend_Order($order); } /** * getter for the returned order object * - * @return WirecardCEE_QMore_Response_Backend_Order + * @return QentaCEE_QMore_Response_Backend_Order */ public function getOrder() { diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order.php similarity index 81% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order.php index 2affdc6..6cc1fb4 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order.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 Central Eastern Europe 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. * @@ -32,24 +32,24 @@ /** - * @name WirecardCEE_QMore_Response_Backend_Order - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Backend_Order + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response_Backend */ -class WirecardCEE_QMore_Response_Backend_Order extends WirecardCEE_QMore_Response_Backend_FinancialObject +class QentaCEE_QMore_Response_Backend_Order extends QentaCEE_QMore_Response_Backend_FinancialObject { /** - * Internal WirecardCEE_QMore_Response_Backend_Order_CreditIterator holder + * Internal QentaCEE_QMore_Response_Backend_Order_CreditIterator holder * - * @var WirecardCEE_QMore_Response_Backend_Order_CreditIterator + * @var QentaCEE_QMore_Response_Backend_Order_CreditIterator */ private $_credits; /** - * internal WirecardCEE_QMore_Response_Backend_Order_PaymentIterator holder + * internal QentaCEE_QMore_Response_Backend_Order_PaymentIterator holder * - * @var WirecardCEE_QMore_Response_Backend_Order_PaymentIterator + * @var QentaCEE_QMore_Response_Backend_Order_PaymentIterator */ private $_payments; @@ -214,7 +214,7 @@ class WirecardCEE_QMore_Response_Backend_Order extends WirecardCEE_QMore_Respons private static $PAYMENTTYPE_IDEAL = 'IDL'; /** - * creates an instance of the WirecardCEE_QMore_Response_Backend_Order object + * creates an instance of the QentaCEE_QMore_Response_Backend_Order object * * @param string[] $orderData */ @@ -404,7 +404,7 @@ public function getSourceOrderNumber() /** * getter for corresponding payment objects * - * @return WirecardCEE_QMore_Response_Backend_Order_PaymentIterator + * @return QentaCEE_QMore_Response_Backend_Order_PaymentIterator */ public function getPayments() { @@ -414,7 +414,7 @@ public function getPayments() /** * getter for corresponding credit objects * - * @return WirecardCEE_QMore_Response_Backend_Order_CreditIterator + * @return QentaCEE_QMore_Response_Backend_Order_CreditIterator */ public function getCredits() { @@ -432,20 +432,20 @@ protected function _setPayments($paymentEntries) foreach ($paymentEntries as $paymentEntry) { switch ($paymentEntry['paymentType']) { case self::$PAYMENTTYPE_PAYPAL: - $payments[] = new WirecardCEE_QMore_Response_Backend_Order_Payment_Paypal($paymentEntry); + $payments[] = new QentaCEE_QMore_Response_Backend_Order_Payment_Paypal($paymentEntry); break; case self::$PAYMENTTYPE_SOFORTUEBERWEISUNG: - $payments[] = new WirecardCEE_QMore_Response_Backend_Order_Payment_Sofortueberweisung($paymentEntry); + $payments[] = new QentaCEE_QMore_Response_Backend_Order_Payment_Sofortueberweisung($paymentEntry); break; case self::$PAYMENTTYPE_IDEAL: - $payments[] = new WirecardCEE_QMore_Response_Backend_Order_Payment_Ideal($paymentEntry); + $payments[] = new QentaCEE_QMore_Response_Backend_Order_Payment_Ideal($paymentEntry); break; default: - $payments[] = new WirecardCEE_QMore_Response_Backend_Order_Payment($paymentEntry); + $payments[] = new QentaCEE_QMore_Response_Backend_Order_Payment($paymentEntry); break; } } - $this->_payments = new WirecardCEE_QMore_Response_Backend_Order_PaymentIterator($payments); + $this->_payments = new QentaCEE_QMore_Response_Backend_Order_PaymentIterator($payments); } /** @@ -457,9 +457,9 @@ protected function _setCredits($creditEntries) { $credits = Array(); foreach ($creditEntries as $creditEntry) { - $credits[] = new WirecardCEE_QMore_Response_Backend_Order_Credit($creditEntry); + $credits[] = new QentaCEE_QMore_Response_Backend_Order_Credit($creditEntry); } - $this->_credits = new WirecardCEE_QMore_Response_Backend_Order_CreditIterator($credits); + $this->_credits = new QentaCEE_QMore_Response_Backend_Order_CreditIterator($credits); } } \ No newline at end of file diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/Credit.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/Credit.php similarity index 85% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/Credit.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/Credit.php index 1db359d..3ece059 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/Credit.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/Credit.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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_QMore_Response_Backend_Order_Credit - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Backend_Order_Credit + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response_Backend_Order */ -class WirecardCEE_QMore_Response_Backend_Order_Credit extends WirecardCEE_QMore_Response_Backend_FinancialObject +class QentaCEE_QMore_Response_Backend_Order_Credit extends QentaCEE_QMore_Response_Backend_FinancialObject { /** * Merchant number @@ -129,7 +129,7 @@ class WirecardCEE_QMore_Response_Backend_Order_Credit extends WirecardCEE_QMore_ /** * creates an instance of an {@link - * WirecardCEE_QMore_Response_Backend_Order_Credit} object + * QentaCEE_QMore_Response_Backend_Order_Credit} object * * @param string[] $creditData */ diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/CreditIterator.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/CreditIterator.php similarity index 56% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/CreditIterator.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/CreditIterator.php index 5053dbc..7ef683a 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/CreditIterator.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/CreditIterator.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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_QMore_Response_Backend_Order_CreditIterator - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Backend_Order_CreditIterator + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response_Backend_Order */ -class WirecardCEE_QMore_Response_Backend_Order_CreditIterator extends WirecardCEE_QMore_Response_Backend_Order_OrderIterator +class QentaCEE_QMore_Response_Backend_Order_CreditIterator extends QentaCEE_QMore_Response_Backend_Order_OrderIterator { } diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/OrderIterator.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/OrderIterator.php similarity index 75% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/OrderIterator.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/OrderIterator.php index bb1253e..bd0211a 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/OrderIterator.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/OrderIterator.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 Central Eastern Europe 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. * @@ -32,13 +32,13 @@ /** - * @name WirecardCEE_QMore_Response_Backend_Order_OrderIterator - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Backend_Order_OrderIterator + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response_Backend_Order * @abstract */ -abstract class WirecardCEE_QMore_Response_Backend_Order_OrderIterator implements Iterator +abstract class QentaCEE_QMore_Response_Backend_Order_OrderIterator implements Iterator { /** * Internal position holder diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/Payment.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/Payment.php similarity index 87% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/Payment.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/Payment.php index ded8151..25f3083 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/Payment.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/Payment.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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_QMore_Response_Backend_Order_Payment - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Backend_Order_Payment + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response_Backend_Order */ -class WirecardCEE_QMore_Response_Backend_Order_Payment extends WirecardCEE_QMore_Response_Backend_FinancialObject +class QentaCEE_QMore_Response_Backend_Order_Payment extends QentaCEE_QMore_Response_Backend_FinancialObject { /** * Merchant number @@ -153,7 +153,7 @@ class WirecardCEE_QMore_Response_Backend_Order_Payment extends WirecardCEE_QMore /** * creates an instance of an {@link - * WirecardCEE_QMore_Response_Backend_Order_Payment} object + * QentaCEE_QMore_Response_Backend_Order_Payment} object * * @param string[] $paymentData */ diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/Payment/Ideal.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/Payment/Ideal.php similarity index 72% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/Payment/Ideal.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/Payment/Ideal.php index e56a69f..17d4fa4 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/Payment/Ideal.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/Payment/Ideal.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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_QMore_Response_Backend_Order_Payment_Ideal - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Backend_Order_Payment_Ideal + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response_Backend_Order_Payment */ -class WirecardCEE_QMore_Response_Backend_Order_Payment_Ideal extends WirecardCEE_QMore_Response_Backend_Order_Payment +class QentaCEE_QMore_Response_Backend_Order_Payment_Ideal extends QentaCEE_QMore_Response_Backend_Order_Payment { /** * iDEAL consumer name diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/Payment/Paypal.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/Payment/Paypal.php similarity index 88% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/Payment/Paypal.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/Payment/Paypal.php index 5ddaa14..4565667 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/Payment/Paypal.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/Payment/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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_QMore_Response_Backend_Order_Payment_Paypal - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Backend_Order_Payment_Paypal + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response_Backend_Order_Payment */ -class WirecardCEE_QMore_Response_Backend_Order_Payment_Paypal extends WirecardCEE_QMore_Response_Backend_Order_Payment +class QentaCEE_QMore_Response_Backend_Order_Payment_Paypal extends QentaCEE_QMore_Response_Backend_Order_Payment { /** * Paypal payer ID diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/Payment/Sofortueberweisung.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/Payment/Sofortueberweisung.php similarity index 82% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/Payment/Sofortueberweisung.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/Payment/Sofortueberweisung.php index 489090b..ce480dc 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/Payment/Sofortueberweisung.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/Payment/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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_QMore_Response_Backend_Order_Payment_Sofortueberweisung - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Backend_Order_Payment_Sofortueberweisung + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response_Backend_Order_Payment */ -class WirecardCEE_QMore_Response_Backend_Order_Payment_Sofortueberweisung extends WirecardCEE_QMore_Response_Backend_Order_Payment +class QentaCEE_QMore_Response_Backend_Order_Payment_Sofortueberweisung extends QentaCEE_QMore_Response_Backend_Order_Payment { /** * Sender account owner diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/PaymentIterator.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/PaymentIterator.php similarity index 56% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/PaymentIterator.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/PaymentIterator.php index b21438a..fca506a 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Order/PaymentIterator.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Order/PaymentIterator.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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_QMore_Response_Backend_Order_PaymentIterator - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Backend_Order_PaymentIterator + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response_Backend_Order */ -class WirecardCEE_QMore_Response_Backend_Order_PaymentIterator extends WirecardCEE_QMore_Response_Backend_Order_OrderIterator +class QentaCEE_QMore_Response_Backend_Order_PaymentIterator extends QentaCEE_QMore_Response_Backend_Order_OrderIterator { } \ No newline at end of file diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/RecurPayment.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/RecurPayment.php similarity index 63% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/RecurPayment.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/RecurPayment.php index 68c7697..6347803 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/RecurPayment.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/RecurPayment.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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_QMore_Response_Backend_RecurPayment - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Backend_RecurPayment + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response_Backend */ -class WirecardCEE_QMore_Response_Backend_RecurPayment extends WirecardCEE_QMore_Response_Backend_ResponseAbstract +class QentaCEE_QMore_Response_Backend_RecurPayment extends QentaCEE_QMore_Response_Backend_ResponseAbstract { /** * Order number diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/TransferFund.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Refund.php similarity index 63% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/TransferFund.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Refund.php index bf38a3b..82d4b2e 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/TransferFund.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/Refund.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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_QMore_Response_Backend_TransferFund - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Backend_Refund + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response_Backend */ -class WirecardCEE_QMore_Response_Backend_TransferFund extends WirecardCEE_QMore_Response_Backend_ResponseAbstract +class QentaCEE_QMore_Response_Backend_Refund extends QentaCEE_QMore_Response_Backend_ResponseAbstract { /** * Credit number diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/RefundReversal.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/RefundReversal.php similarity index 57% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/RefundReversal.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/RefundReversal.php index 5e4bc5b..4c75cad 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/RefundReversal.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/RefundReversal.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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_QMore_Response_Backend_RefundReversal - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Backend_RefundReversal + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response_Backend */ -class WirecardCEE_QMore_Response_Backend_RefundReversal extends WirecardCEE_QMore_Response_Backend_ResponseAbstract +class QentaCEE_QMore_Response_Backend_RefundReversal extends QentaCEE_QMore_Response_Backend_ResponseAbstract { } \ No newline at end of file diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/ResponseAbstract.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/ResponseAbstract.php similarity index 63% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/ResponseAbstract.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/ResponseAbstract.php index 5475145..68a40c6 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/ResponseAbstract.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/ResponseAbstract.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 Central Eastern Europe 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. * @@ -32,13 +32,13 @@ /** - * @name WirecardCEE_QMore_Response_Backend_ResponseAbstract - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Backend_ResponseAbstract + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response_Backend * @abstract */ -abstract class WirecardCEE_QMore_Response_Backend_ResponseAbstract extends WirecardCEE_QMore_Response_ResponseAbstract +abstract class QentaCEE_QMore_Response_Backend_ResponseAbstract extends QentaCEE_QMore_Response_ResponseAbstract { /** * Status diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Refund.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/TransferFund.php similarity index 66% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Refund.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/TransferFund.php index 6d361a7..dbfc6ac 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Backend/Refund.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Backend/TransferFund.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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_QMore_Response_Backend_Refund - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Backend_TransferFund + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response_Backend */ -class WirecardCEE_QMore_Response_Backend_Refund extends WirecardCEE_QMore_Response_Backend_ResponseAbstract +class QentaCEE_QMore_Response_Backend_TransferFund extends QentaCEE_QMore_Response_Backend_ResponseAbstract { /** * Credit number diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Initiation.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Initiation.php similarity index 63% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Initiation.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Initiation.php index 2793e6a..6c04f41 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/Initiation.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/Initiation.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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_QMore_Response_Initiation - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_Initiation + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response */ -class WirecardCEE_QMore_Response_Initiation extends WirecardCEE_QMore_Response_ResponseAbstract +class QentaCEE_QMore_Response_Initiation extends QentaCEE_QMore_Response_ResponseAbstract { /** diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/ResponseAbstract.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/ResponseAbstract.php similarity index 77% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/ResponseAbstract.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/ResponseAbstract.php index bca7312..765c8c0 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Response/ResponseAbstract.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Response/ResponseAbstract.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 Central Eastern Europe 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. * @@ -32,13 +32,13 @@ /** - * @name WirecardCEE_QMore_Response_ResponseAbstract - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Response_ResponseAbstract + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Response * @abstract */ -abstract class WirecardCEE_QMore_Response_ResponseAbstract extends WirecardCEE_Stdlib_Response_ResponseAbstract +abstract class QentaCEE_QMore_Response_ResponseAbstract extends QentaCEE_Stdlib_Response_ResponseAbstract { /** * Errors @@ -95,7 +95,7 @@ public function getNumberOfErrors() /** * getter for list of errors that occured * - * @return WirecardCEE_QMore_Error[] + * @return QentaCEE_QMore_Error[] */ public function getErrors() { @@ -108,7 +108,7 @@ public function getErrors() $consumerMessage = isset( $error[self::$ERROR_CONSUMER_MESSAGE] ) ? $error[self::$ERROR_CONSUMER_MESSAGE] : ''; $paySysMessage = isset( $error[self::$ERROR_PAYSYS_MESSAGE] ) ? $error[self::$ERROR_PAYSYS_MESSAGE] : ''; - $error = new WirecardCEE_QMore_Error($errorCode, $message); + $error = new QentaCEE_QMore_Error($errorCode, $message); $error->setConsumerMessage($consumerMessage); $error->setPaySysMessage($paySysMessage); diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Cancel.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Cancel.php similarity index 58% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Cancel.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Cancel.php index 278de99..eb252af 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Cancel.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Cancel.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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_QMore_Return_Cancel - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Return_Cancel + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Return */ -class WirecardCEE_QMore_Return_Cancel extends WirecardCEE_Stdlib_Return_Cancel +class QentaCEE_QMore_Return_Cancel extends QentaCEE_Stdlib_Return_Cancel { } diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Failure.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Failure.php similarity index 71% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Failure.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Failure.php index f65ff38..c1a8d76 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Failure.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Failure.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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_QMore_Return_Failure - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Return_Failure + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Return */ -class WirecardCEE_QMore_Return_Failure extends WirecardCEE_Stdlib_Return_Failure +class QentaCEE_QMore_Return_Failure extends QentaCEE_Stdlib_Return_Failure { /** @@ -65,7 +65,7 @@ public function getErrors() $consumerMessage = $error[self::$ERROR_CONSUMER_MESSAGE]; $paySysMessage = $error[self::$ERROR_PAY_SYS_MESSAGE]; - $errorObject = new WirecardCEE_QMore_Error($errorCode, $message); + $errorObject = new QentaCEE_QMore_Error($errorCode, $message); $errorObject->setPaySysMessage($paySysMessage); $errorObject->setConsumerMessage($consumerMessage); diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Pending.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Pending.php similarity index 56% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Pending.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Pending.php index b67cb7a..a982133 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Pending.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Pending.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 Central Eastern Europe 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. * @@ -32,16 +32,16 @@ /** - * @name WirecardCEE_QMore_Return_Pending - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Return_Pending + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Return */ -class WirecardCEE_QMore_Return_Pending extends WirecardCEE_Stdlib_Return_Pending +class QentaCEE_QMore_Return_Pending extends QentaCEE_Stdlib_Return_Pending { public function __construct($returnData, $secret) { - parent::__construct($returnData, $secret, WirecardCEE_Stdlib_Fingerprint::HASH_ALGORITHM_HMAC_SHA512); + parent::__construct($returnData, $secret, QentaCEE_Stdlib_Fingerprint::HASH_ALGORITHM_HMAC_SHA512); } } \ No newline at end of file diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Success.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Success.php similarity index 56% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Success.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Success.php index 395d629..185fc32 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Success.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Success.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 Central Eastern Europe 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. * @@ -32,16 +32,16 @@ /** - * @name WirecardCEE_QMore_Return_Success - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Return_Success + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Return */ -class WirecardCEE_QMore_Return_Success extends WirecardCEE_Stdlib_Return_Success +class QentaCEE_QMore_Return_Success extends QentaCEE_Stdlib_Return_Success { public function __construct($returnData, $secret) { - parent::__construct($returnData, $secret, WirecardCEE_Stdlib_Fingerprint::HASH_ALGORITHM_HMAC_SHA512); + parent::__construct($returnData, $secret, QentaCEE_Stdlib_Fingerprint::HASH_ALGORITHM_HMAC_SHA512); } } \ No newline at end of file diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Success/CreditCard.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Success/CreditCard.php similarity index 55% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Success/CreditCard.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Success/CreditCard.php index 8185f9b..df3c9ca 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Success/CreditCard.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Success/CreditCard.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 Central Eastern Europe 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. * @@ -32,16 +32,16 @@ /** - * @name WirecardCEE_QMore_Return_Success_CreditCard - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Return_Success_CreditCard + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Return_Success */ -class WirecardCEE_QMore_Return_Success_CreditCard extends WirecardCEE_Stdlib_Return_Success_CreditCard +class QentaCEE_QMore_Return_Success_CreditCard extends QentaCEE_Stdlib_Return_Success_CreditCard { public function __construct($returnData, $secret) { - parent::__construct($returnData, $secret, WirecardCEE_Stdlib_Fingerprint::HASH_ALGORITHM_HMAC_SHA512); + parent::__construct($returnData, $secret, QentaCEE_Stdlib_Fingerprint::HASH_ALGORITHM_HMAC_SHA512); } } \ No newline at end of file diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Success/Ideal.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Success/Ideal.php similarity index 56% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Success/Ideal.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Success/Ideal.php index 4b19683..ac26e15 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Success/Ideal.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Success/Ideal.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 Central Eastern Europe 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. * @@ -32,16 +32,16 @@ /** - * @name WirecardCEE_QMore_Return_Success_Ideal - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Return_Success_Ideal + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Return_Success */ -class WirecardCEE_QMore_Return_Success_Ideal extends WirecardCEE_Stdlib_Return_Success_Ideal +class QentaCEE_QMore_Return_Success_Ideal extends QentaCEE_Stdlib_Return_Success_Ideal { public function __construct($returnData, $secret) { - parent::__construct($returnData, $secret, WirecardCEE_Stdlib_Fingerprint::HASH_ALGORITHM_HMAC_SHA512); + parent::__construct($returnData, $secret, QentaCEE_Stdlib_Fingerprint::HASH_ALGORITHM_HMAC_SHA512); } } \ No newline at end of file diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Success/PayPal.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Success/PayPal.php similarity index 56% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Success/PayPal.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Success/PayPal.php index c864601..c4216a1 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Success/PayPal.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Success/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 Central Eastern Europe 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. * @@ -32,16 +32,16 @@ /** - * @name WirecardCEE_QMore_Return_Success_PayPal - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Return_Success_PayPal + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Return_Success */ -class WirecardCEE_QMore_Return_Success_PayPal extends WirecardCEE_Stdlib_Return_Success_PayPal +class QentaCEE_QMore_Return_Success_PayPal extends QentaCEE_Stdlib_Return_Success_PayPal { public function __construct($returnData, $secret) { - parent::__construct($returnData, $secret, WirecardCEE_Stdlib_Fingerprint::HASH_ALGORITHM_HMAC_SHA512); + parent::__construct($returnData, $secret, QentaCEE_Stdlib_Fingerprint::HASH_ALGORITHM_HMAC_SHA512); } } \ No newline at end of file diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Success/SepaDD.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Success/SepaDD.php similarity index 56% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Success/SepaDD.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Success/SepaDD.php index f6362f3..590a177 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Return/Success/SepaDD.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Success/SepaDD.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 Central Eastern Europe 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. * @@ -32,16 +32,16 @@ /** - * @name WirecardCEE_QMore_Return_Success_SepaDD - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_QMore_Return_Success_SepaDD + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Return_Success */ -class WirecardCEE_QMore_Return_Success_SepaDD extends WirecardCEE_Stdlib_Return_Success_SepaDD +class QentaCEE_QMore_Return_Success_SepaDD extends QentaCEE_Stdlib_Return_Success_SepaDD { public function __construct($returnData, $secret) { - parent::__construct($returnData, $secret, WirecardCEE_Stdlib_Fingerprint::HASH_ALGORITHM_HMAC_SHA512); + parent::__construct($returnData, $secret, QentaCEE_Stdlib_Fingerprint::HASH_ALGORITHM_HMAC_SHA512); } } \ No newline at end of file diff --git a/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Success/Sofortueberweisung.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Success/Sofortueberweisung.php new file mode 100644 index 0000000..22935d9 --- /dev/null +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/QMore/Return/Success/Sofortueberweisung.php @@ -0,0 +1,46 @@ +getArticleNumber(); $_quantity = $this->_getItemQuantity($_mArticleNumber); @@ -97,7 +97,7 @@ public function addItem(WirecardCEE_Stdlib_Basket_Item $oItem, $iQuantity = 1) } /** - * Returns the basket as pre-defined array (defined by WirecardCEE) + * Returns the basket as pre-defined array (defined by QentaCEE) * * @return Array */ @@ -112,15 +112,15 @@ public function getData() $mArticleNumber = $oItem['instance']->getArticleNumber(); $oItem = $oItem['instance']; - $this->_basket[self::BASKET_ITEM_PREFIX . $_counter . WirecardCEE_Stdlib_Basket_Item::ITEM_ARTICLE_NUMBER] = $mArticleNumber; + $this->_basket[self::BASKET_ITEM_PREFIX . $_counter . QentaCEE_Stdlib_Basket_Item::ITEM_ARTICLE_NUMBER] = $mArticleNumber; $this->_basket[self::BASKET_ITEM_PREFIX . $_counter . self::QUANTITY] = $this->_getItemQuantity($mArticleNumber); - $this->_basket[self::BASKET_ITEM_PREFIX . $_counter . WirecardCEE_Stdlib_Basket_Item::ITEM_UNIT_GROSS_AMOUNT] = $oItem->getUnitGrossAmount(); - $this->_basket[self::BASKET_ITEM_PREFIX . $_counter . WirecardCEE_Stdlib_Basket_Item::ITEM_UNIT_NET_AMOUNT] = $oItem->getUnitNetAmount(); - $this->_basket[self::BASKET_ITEM_PREFIX . $_counter . WirecardCEE_Stdlib_Basket_Item::ITEM_UNIT_TAX_AMOUNT] = $oItem->getUnitTaxAmount(); - $this->_basket[self::BASKET_ITEM_PREFIX . $_counter . WirecardCEE_Stdlib_Basket_Item::ITEM_UNIT_TAX_RATE] = $oItem->getUnitTaxRate(); - $this->_basket[self::BASKET_ITEM_PREFIX . $_counter . WirecardCEE_Stdlib_Basket_Item::ITEM_DESCRIPTION] = $oItem->getDescription(); - $this->_basket[self::BASKET_ITEM_PREFIX . $_counter . WirecardCEE_Stdlib_Basket_Item::ITEM_NAME] = $oItem->getName(); - $this->_basket[self::BASKET_ITEM_PREFIX . $_counter . WirecardCEE_Stdlib_Basket_Item::ITEM_IMAGE_URL] = $oItem->getImageUrl(); + $this->_basket[self::BASKET_ITEM_PREFIX . $_counter . QentaCEE_Stdlib_Basket_Item::ITEM_UNIT_GROSS_AMOUNT] = $oItem->getUnitGrossAmount(); + $this->_basket[self::BASKET_ITEM_PREFIX . $_counter . QentaCEE_Stdlib_Basket_Item::ITEM_UNIT_NET_AMOUNT] = $oItem->getUnitNetAmount(); + $this->_basket[self::BASKET_ITEM_PREFIX . $_counter . QentaCEE_Stdlib_Basket_Item::ITEM_UNIT_TAX_AMOUNT] = $oItem->getUnitTaxAmount(); + $this->_basket[self::BASKET_ITEM_PREFIX . $_counter . QentaCEE_Stdlib_Basket_Item::ITEM_UNIT_TAX_RATE] = $oItem->getUnitTaxRate(); + $this->_basket[self::BASKET_ITEM_PREFIX . $_counter . QentaCEE_Stdlib_Basket_Item::ITEM_DESCRIPTION] = $oItem->getDescription(); + $this->_basket[self::BASKET_ITEM_PREFIX . $_counter . QentaCEE_Stdlib_Basket_Item::ITEM_NAME] = $oItem->getName(); + $this->_basket[self::BASKET_ITEM_PREFIX . $_counter . QentaCEE_Stdlib_Basket_Item::ITEM_IMAGE_URL] = $oItem->getImageUrl(); $_counter ++; } diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Basket/Item.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Basket/Item.php similarity index 85% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Basket/Item.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Basket/Item.php index bb187ce..a1c334a 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Basket/Item.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Basket/Item.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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_Stdlib_Basket_Item - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Basket_Item + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Basket */ -class WirecardCEE_Stdlib_Basket_Item +class QentaCEE_Stdlib_Basket_Item { /** @@ -78,7 +78,7 @@ public function __construct($mArticleNumber = null) * Sets the item tax amount * * @param mixed(integer|float) $fTaxAmount - * @return WirecardCEE_Stdlib_Basket_Item + * @return QentaCEE_Stdlib_Basket_Item */ public function setUnitTaxAmount($fTaxAmount) { @@ -100,7 +100,7 @@ public function getUnitTaxAmount() * Sets the item tax rate * * @param mixed(integer|float) $fTaxRate - * @return WirecardCEE_Stdlib_Basket_Item + * @return QentaCEE_Stdlib_Basket_Item */ public function setUnitTaxRate($fTaxRate) { @@ -123,7 +123,7 @@ public function getUnitTaxRate() * * @param mixed(string|integer) $mArticleNumber * - * @return WirecardCEE_Stdlib_Basket_Item + * @return QentaCEE_Stdlib_Basket_Item */ public function setArticleNumber($mArticleNumber) { @@ -146,7 +146,7 @@ public function getArticleNumber() * Sets the gross amount for a unit * * @param mixed(integer|float) $fAmount - * @return WirecardCEE_Stdlib_Basket_Item + * @return QentaCEE_Stdlib_Basket_Item */ public function setUnitGrossAmount($fAmount) { @@ -168,7 +168,7 @@ public function getUnitGrossAmount() * Sets the net amount for a unit * * @param mixed(integer|float) $fAmount - * @return WirecardCEE_Stdlib_Basket_Item + * @return QentaCEE_Stdlib_Basket_Item */ public function setUnitNetAmount($fAmount) { @@ -191,7 +191,7 @@ public function getUnitNetAmount() * * @param string $sDescription * - * @return WirecardCEE_Stdlib_Basket_Item + * @return QentaCEE_Stdlib_Basket_Item */ public function setDescription($sDescription) { @@ -217,7 +217,7 @@ public function getDescription() * Sets the item name * * @param string $sName - * @return WirecardCEE_Stdlib_Basket_Item + * @return QentaCEE_Stdlib_Basket_Item */ public function setName($sName) { $this->_setField(self::ITEM_NAME, (string) $sName); @@ -239,7 +239,7 @@ public function getName() * Sets the item image url * * @param string $sImageUrl - * @return WirecardCEE_Stdlib_Basket_Item + * @return QentaCEE_Stdlib_Basket_Item */ public function setImageUrl($sImageUrl) { $this->_setField(self::ITEM_IMAGE_URL, (string) $sImageUrl); diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Client/ClientAbstract.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Client/ClientAbstract.php similarity index 77% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Client/ClientAbstract.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Client/ClientAbstract.php index 72a7db9..3fc078a 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Client/ClientAbstract.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Client/ClientAbstract.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 Central Eastern Europe 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 @@ use Psr\Http\Message\ResponseInterface; /** - * @name WirecardCEE_Stdlib_Client_ClientAbstract - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Client_ClientAbstract + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Client * @abstract */ -abstract class WirecardCEE_Stdlib_Client_ClientAbstract +abstract class QentaCEE_Stdlib_Client_ClientAbstract { /** @@ -81,7 +81,7 @@ abstract class WirecardCEE_Stdlib_Client_ClientAbstract /** * Fingeprint order * - * @var WirecardCEE_Stdlib_FingerprintOrder + * @var QentaCEE_Stdlib_FingerprintOrder */ protected $_fingerprintOrder; @@ -102,14 +102,14 @@ abstract class WirecardCEE_Stdlib_Client_ClientAbstract /** * User configuration holder! * - * @var WirecardCEE_Stdlib_Config + * @var QentaCEE_Stdlib_Config */ protected $oUserConfig; /** * Client configuration holder! * - * @var WirecardCEE_Stdlib_Config + * @var QentaCEE_Stdlib_Config */ protected $oClientConfig; @@ -228,7 +228,7 @@ abstract class WirecardCEE_Stdlib_Client_ClientAbstract /** * Must be implemented in the client object * - * @param array|WirecardCEE_Stdlib_Config $aConfig + * @param array|QentaCEE_Stdlib_Config $aConfig * * @abstract */ @@ -241,7 +241,7 @@ abstract public function __construct($aConfig = null); * * @param $httpClient * - * @return WirecardCEE_Stdlib_Client_ClientAbstract + * @return QentaCEE_Stdlib_Client_ClientAbstract */ public function setHttpClient($httpClient) { @@ -270,7 +270,7 @@ protected function _getHttpClient() /** * Returns the user configuration object * - * @return WirecardCEE_Stdlib_Config + * @return QentaCEE_Stdlib_Config */ public function getUserConfig() { @@ -280,7 +280,7 @@ public function getUserConfig() /** * Returns the client configuration object * - * @return WirecardCEE_Stdlib_Config + * @return QentaCEE_Stdlib_Config */ public function getClientConfig() { @@ -294,7 +294,7 @@ public function getClientConfig() */ public function getUserAgentString() { - $oClientConfig = new WirecardCEE_Stdlib_Config(WirecardCEE_Stdlib_Module::getClientConfig()); + $oClientConfig = new QentaCEE_Stdlib_Config(QentaCEE_Stdlib_Module::getClientConfig()); $sUserAgent = $this->_getUserAgent() . ";{$oClientConfig->MODULE_NAME};{$oClientConfig->MODULE_VERSION};"; @@ -349,7 +349,7 @@ protected function _setSecret($secret) /** * sends the request and returns the zend http response object instance * - * @throws WirecardCEE_Stdlib_Client_Exception_InvalidResponseException + * @throws QentaCEE_Stdlib_Client_Exception_InvalidResponseException * @return ResponseInterface */ protected function _send() @@ -364,7 +364,7 @@ protected function _send() try { $response = $this->_sendRequest(); } catch (RequestException $e) { - throw new WirecardCEE_Stdlib_Client_Exception_InvalidResponseException($e->getMessage(), $e->getCode(), $e); + throw new QentaCEE_Stdlib_Client_Exception_InvalidResponseException($e->getMessage(), $e->getCode(), $e); } return $response; @@ -388,7 +388,7 @@ protected function _calculateFingerprint() $fingerprintFields = $this->_requestData; $fingerprintFields[self::SECRET] = $this->_secret; - return WirecardCEE_Stdlib_Fingerprint::generate($fingerprintFields, $oFingerprintOrder); + return QentaCEE_Stdlib_Fingerprint::generate($fingerprintFields, $oFingerprintOrder); } /** @@ -413,10 +413,10 @@ protected function _sendRequest() /** * Setter for requestfield. - * Bare in mind that $this->_fingerprintOrder is an WirecardCEE_Stdlib_FingerprintOrder object which implements + * Bare in mind that $this->_fingerprintOrder is an QentaCEE_Stdlib_FingerprintOrder object which implements * the ArrayAccess interface meaning we can use the array annotation [] on an object * - * @see WirecardCEE_Stdlib_FingerprintOrder + * @see QentaCEE_Stdlib_FingerprintOrder * * @param string $name * @param mixed $value @@ -442,7 +442,7 @@ protected function _isFieldSet($sFieldname) /** * Sets shopping basket data to _requestData * - * @param WirecardCEE_Stdlib_Basket $basket + * @param QentaCEE_Stdlib_Basket $basket */ protected function _setBasket($basket) { @@ -458,7 +458,7 @@ protected function _setBasket($basket) /** * Appends basket to fingerprint order * - * @param WirecardCEE_Stdlib_Basket $basket + * @param QentaCEE_Stdlib_Basket $basket */ protected function _appendBasketFingerprintOrder($basket) { @@ -467,17 +467,17 @@ protected function _appendBasketFingerprintOrder($basket) } $data = $basket->getData(); - $this->_fingerprintOrder[] = WirecardCEE_Stdlib_Basket::BASKET_ITEMS; - for ($i = 1; $i <= (int)$data[WirecardCEE_Stdlib_Basket::BASKET_ITEMS]; $i++) { - $this->_fingerprintOrder[] = WirecardCEE_Stdlib_Basket::BASKET_ITEM_PREFIX . $i . WirecardCEE_Stdlib_Basket_Item::ITEM_ARTICLE_NUMBER; - $this->_fingerprintOrder[] = WirecardCEE_Stdlib_Basket::BASKET_ITEM_PREFIX . $i . WirecardCEE_Stdlib_Basket_Item::ITEM_QUANTITY; - $this->_fingerprintOrder[] = WirecardCEE_Stdlib_Basket::BASKET_ITEM_PREFIX . $i . WirecardCEE_Stdlib_Basket_Item::ITEM_DESCRIPTION; - $this->_fingerprintOrder[] = WirecardCEE_Stdlib_Basket::BASKET_ITEM_PREFIX . $i . WirecardCEE_Stdlib_Basket_Item::ITEM_NAME; - $this->_fingerprintOrder[] = WirecardCEE_Stdlib_Basket::BASKET_ITEM_PREFIX . $i . WirecardCEE_Stdlib_Basket_Item::ITEM_IMAGE_URL; - $this->_fingerprintOrder[] = WirecardCEE_Stdlib_Basket::BASKET_ITEM_PREFIX . $i . WirecardCEE_Stdlib_Basket_Item::ITEM_UNIT_GROSS_AMOUNT; - $this->_fingerprintOrder[] = WirecardCEE_Stdlib_Basket::BASKET_ITEM_PREFIX . $i . WirecardCEE_Stdlib_Basket_Item::ITEM_UNIT_NET_AMOUNT; - $this->_fingerprintOrder[] = WirecardCEE_Stdlib_Basket::BASKET_ITEM_PREFIX . $i . WirecardCEE_Stdlib_Basket_Item::ITEM_UNIT_TAX_AMOUNT; - $this->_fingerprintOrder[] = WirecardCEE_Stdlib_Basket::BASKET_ITEM_PREFIX . $i . WirecardCEE_Stdlib_Basket_Item::ITEM_UNIT_TAX_RATE; + $this->_fingerprintOrder[] = QentaCEE_Stdlib_Basket::BASKET_ITEMS; + for ($i = 1; $i <= (int)$data[QentaCEE_Stdlib_Basket::BASKET_ITEMS]; $i++) { + $this->_fingerprintOrder[] = QentaCEE_Stdlib_Basket::BASKET_ITEM_PREFIX . $i . QentaCEE_Stdlib_Basket_Item::ITEM_ARTICLE_NUMBER; + $this->_fingerprintOrder[] = QentaCEE_Stdlib_Basket::BASKET_ITEM_PREFIX . $i . QentaCEE_Stdlib_Basket_Item::ITEM_QUANTITY; + $this->_fingerprintOrder[] = QentaCEE_Stdlib_Basket::BASKET_ITEM_PREFIX . $i . QentaCEE_Stdlib_Basket_Item::ITEM_DESCRIPTION; + $this->_fingerprintOrder[] = QentaCEE_Stdlib_Basket::BASKET_ITEM_PREFIX . $i . QentaCEE_Stdlib_Basket_Item::ITEM_NAME; + $this->_fingerprintOrder[] = QentaCEE_Stdlib_Basket::BASKET_ITEM_PREFIX . $i . QentaCEE_Stdlib_Basket_Item::ITEM_IMAGE_URL; + $this->_fingerprintOrder[] = QentaCEE_Stdlib_Basket::BASKET_ITEM_PREFIX . $i . QentaCEE_Stdlib_Basket_Item::ITEM_UNIT_GROSS_AMOUNT; + $this->_fingerprintOrder[] = QentaCEE_Stdlib_Basket::BASKET_ITEM_PREFIX . $i . QentaCEE_Stdlib_Basket_Item::ITEM_UNIT_NET_AMOUNT; + $this->_fingerprintOrder[] = QentaCEE_Stdlib_Basket::BASKET_ITEM_PREFIX . $i . QentaCEE_Stdlib_Basket_Item::ITEM_UNIT_TAX_AMOUNT; + $this->_fingerprintOrder[] = QentaCEE_Stdlib_Basket::BASKET_ITEM_PREFIX . $i . QentaCEE_Stdlib_Basket_Item::ITEM_UNIT_TAX_RATE; } } @@ -493,7 +493,7 @@ protected function _composeCustomerStatement($paymenttype, $prefix = null, $uniq $uniqString = $this->generateUniqString(10); } - if ($paymenttype == WirecardCEE_Stdlib_PaymentTypeAbstract::POLI) { + if ($paymenttype == QentaCEE_Stdlib_PaymentTypeAbstract::POLI) { $customerStatement = $prefix; } else { $customerStatement = sprintf('%s Id:%s', $prefix, $uniqString); diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Client/Exception/ExceptionInterface.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Client/Exception/ExceptionInterface.php similarity index 56% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Client/Exception/ExceptionInterface.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Client/Exception/ExceptionInterface.php index bf6ac0f..25b0a88 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Client/Exception/ExceptionInterface.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Client/Exception/ExceptionInterface.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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_Stdlib_Client_Exception_ExceptionInterface - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Client_Exception_ExceptionInterface + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Client_Exception */ -interface WirecardCEE_Stdlib_Client_Exception_ExceptionInterface extends WirecardCEE_Stdlib_Exception_ExceptionInterface +interface QentaCEE_Stdlib_Client_Exception_ExceptionInterface extends QentaCEE_Stdlib_Exception_ExceptionInterface { } \ No newline at end of file diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Client/Exception/InvalidResponseException.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Client/Exception/InvalidResponseException.php similarity index 55% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Client/Exception/InvalidResponseException.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Client/Exception/InvalidResponseException.php index cfa7817..22d3971 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Client/Exception/InvalidResponseException.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Client/Exception/InvalidResponseException.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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_Stdlib_Client_Exception_InvalidResponseException - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Client_Exception_InvalidResponseException + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Client_Exception */ -class WirecardCEE_Stdlib_Client_Exception_InvalidResponseException extends Exception implements WirecardCEE_Stdlib_Client_Exception_ExceptionInterface +class QentaCEE_Stdlib_Client_Exception_InvalidResponseException extends Exception implements QentaCEE_Stdlib_Client_Exception_ExceptionInterface { } diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Config.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Config.php similarity index 83% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Config.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Config.php index 554a23e..7f758cb 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Config.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/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 Central Eastern Europe 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. * @@ -33,11 +33,11 @@ /** * - * @name WirecardCEE_Stdlib_Config - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Config + * @category QentaCEE + * @package QentaCEE_Stdlib */ -class WirecardCEE_Stdlib_Config implements Countable, Iterator +class QentaCEE_Stdlib_Config implements Countable, Iterator { /** * Iteration index @@ -69,12 +69,12 @@ class WirecardCEE_Stdlib_Config implements Countable, Iterator protected $_skipNextIteration; /** - * WirecardCEE_Stdlib_Config provides a property based interface to + * QentaCEE_Stdlib_Config provides a property based interface to * an array. * The data are read-only unless $allowModifications * is set to true on construction. * - * WirecardCEE_Stdlib_Config also implements Countable and Iterator to + * QentaCEE_Stdlib_Config also implements Countable and Iterator to * facilitate easy access to the data. * * @param array $array @@ -227,7 +227,7 @@ public function toArray() $array = array(); $data = $this->_data; foreach ($data as $key => $value) { - if ($value instanceof WirecardCEE_Stdlib_Config) { + if ($value instanceof QentaCEE_Stdlib_Config) { $array[$key] = $value->toArray(); } else { $array[$key] = $value; diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Config/client.config.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Config/client.config.php similarity index 66% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Config/client.config.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Config/client.config.php index 531ef01..94db158 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Config/client.config.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Config/client.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 Central Eastern Europe 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. * @@ -31,7 +31,7 @@ */ return Array( - 'MODULE_NAME' => 'WirecardCEE_Stdlib', + 'MODULE_NAME' => 'QentaCEE_Stdlib', 'MODULE_VERSION' => '3.0.3', 'DEPENDENCIES' => array( 'SCRIPTING_LANG' => 'PHP', diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/ConsumerData.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/ConsumerData.php similarity index 81% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/ConsumerData.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/ConsumerData.php index 1a31a50..eae80e9 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/ConsumerData.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/ConsumerData.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 Central Eastern Europe 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. * @@ -34,12 +34,12 @@ /** * Container class for consumerData * - * @name WirecardCEE_Stdlib_ConsumerData - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_ConsumerData + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage ConsumerData */ -class WirecardCEE_Stdlib_ConsumerData +class QentaCEE_Stdlib_ConsumerData { /** * @@ -127,7 +127,7 @@ class WirecardCEE_Stdlib_ConsumerData * * @param string $mailAddress * - * @return WirecardCEE_Stdlib_ConsumerData + * @return QentaCEE_Stdlib_ConsumerData */ public function setEmail($mailAddress) { @@ -141,7 +141,7 @@ public function setEmail($mailAddress) * * @param DateTime $birthDate * - * @return WirecardCEE_Stdlib_ConsumerData + * @return QentaCEE_Stdlib_ConsumerData */ public function setBirthDate(DateTime $birthDate) { @@ -155,7 +155,7 @@ public function setBirthDate(DateTime $birthDate) * * @param string $taxIdentificationNumber * - * @return WirecardCEE_Stdlib_ConsumerData + * @return QentaCEE_Stdlib_ConsumerData */ public function setTaxIdentificationNumber($taxIdentificationNumber) { @@ -169,7 +169,7 @@ public function setTaxIdentificationNumber($taxIdentificationNumber) * * @param string $driversLicenseNumber * - * @return WirecardCEE_Stdlib_ConsumerData + * @return QentaCEE_Stdlib_ConsumerData */ public function setDriversLicenseNumber($driversLicenseNumber) { @@ -183,7 +183,7 @@ public function setDriversLicenseNumber($driversLicenseNumber) * * @param string $driversLicenseCountry * - * @return WirecardCEE_Stdlib_ConsumerData + * @return QentaCEE_Stdlib_ConsumerData */ public function setDriversLicenseCountry($driversLicenseCountry) { @@ -197,7 +197,7 @@ public function setDriversLicenseCountry($driversLicenseCountry) * * @param string $driversLicenseState * - * @return WirecardCEE_Stdlib_ConsumerData + * @return QentaCEE_Stdlib_ConsumerData */ public function setDriversLicenseState($driversLicenseState) { @@ -209,7 +209,7 @@ public function setDriversLicenseState($driversLicenseState) /** * @param string $companyName * - * @return WirecardCEE_Stdlib_ConsumerData + * @return QentaCEE_Stdlib_ConsumerData */ public function setCompanyName($companyName) { @@ -221,7 +221,7 @@ public function setCompanyName($companyName) /** * @param string $companyVatId * - * @return WirecardCEE_Stdlib_ConsumerData + * @return QentaCEE_Stdlib_ConsumerData */ public function setCompanyVatId($companyVatId) { @@ -233,7 +233,7 @@ public function setCompanyVatId($companyVatId) /** * @param string $companyTradeRegistryNumber * - * @return WirecardCEE_Stdlib_ConsumerData + * @return QentaCEE_Stdlib_ConsumerData */ public function setCompanyTradeRegistryNumber($companyTradeRegistryNumber) { @@ -244,13 +244,13 @@ public function setCompanyTradeRegistryNumber($companyTradeRegistryNumber) /** * adds addressinformation to the consumerdata. - * used {@link WirecardCEE_Stdlib_ConsumerData::getData()} + * used {@link QentaCEE_Stdlib_ConsumerData::getData()} * - * @param WirecardCEE_Stdlib_ConsumerData_Address $address + * @param QentaCEE_Stdlib_ConsumerData_Address $address * - * @return WirecardCEE_Stdlib_ConsumerData + * @return QentaCEE_Stdlib_ConsumerData */ - public function addAddressInformation(WirecardCEE_Stdlib_ConsumerData_Address $address) + public function addAddressInformation(QentaCEE_Stdlib_ConsumerData_Address $address) { $consumerData = array_merge($this->_consumerData, $address->getData()); $this->_consumerData = $consumerData; @@ -263,7 +263,7 @@ public function addAddressInformation(WirecardCEE_Stdlib_ConsumerData_Address $a * * @param string $consumerIpAddress * - * @return WirecardCEE_Stdlib_ConsumerData + * @return QentaCEE_Stdlib_ConsumerData */ public function setIpAddress($consumerIpAddress) { @@ -277,7 +277,7 @@ public function setIpAddress($consumerIpAddress) * * @param string $consumerUserAgent * - * @return WirecardCEE_Stdlib_ConsumerData + * @return QentaCEE_Stdlib_ConsumerData */ public function setUserAgent($consumerUserAgent) { diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/ConsumerData/Address.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/ConsumerData/Address.php similarity index 81% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/ConsumerData/Address.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/ConsumerData/Address.php index 5d6ad53..e27e3f0 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/ConsumerData/Address.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/ConsumerData/Address.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 Central Eastern Europe 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. * @@ -34,12 +34,12 @@ /** * Container class for consumerData * - * @name WirecardCEE_Stdlib_ConsumerData - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_ConsumerData + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage ConsumerData */ -class WirecardCEE_Stdlib_ConsumerData_Address +class QentaCEE_Stdlib_ConsumerData_Address { /** * Constant: Shipping @@ -158,7 +158,7 @@ class WirecardCEE_Stdlib_ConsumerData_Address protected $_addressData = Array(); /** - * creates an instance of the WirecardCEE_Stdlib_ConsumerData_Address object. + * creates an instance of the QentaCEE_Stdlib_ConsumerData_Address object. * addressType should be Shipping or Billing. * * @param string $addressType @@ -173,7 +173,7 @@ public function __construct($addressType) * * @param string $firstname * - * @return WirecardCEE_Stdlib_ConsumerData_Address + * @return QentaCEE_Stdlib_ConsumerData_Address */ public function setFirstname($firstname) { @@ -187,7 +187,7 @@ public function setFirstname($firstname) * * @param string $lastname * - * @return WirecardCEE_Stdlib_ConsumerData_Address + * @return QentaCEE_Stdlib_ConsumerData_Address */ public function setLastname($lastname) { @@ -201,7 +201,7 @@ public function setLastname($lastname) * * @param string $address1 * - * @return WirecardCEE_Stdlib_ConsumerData_Address + * @return QentaCEE_Stdlib_ConsumerData_Address */ public function setAddress1($address1) { @@ -215,7 +215,7 @@ public function setAddress1($address1) * * @param string $address2 * - * @return WirecardCEE_Stdlib_ConsumerData_Address + * @return QentaCEE_Stdlib_ConsumerData_Address */ public function setAddress2($address2) { @@ -229,7 +229,7 @@ public function setAddress2($address2) * * @param string $city * - * @return WirecardCEE_Stdlib_ConsumerData_Address + * @return QentaCEE_Stdlib_ConsumerData_Address */ public function setCity($city) { @@ -243,7 +243,7 @@ public function setCity($city) * * @param string $country * - * @return WirecardCEE_Stdlib_ConsumerData_Address + * @return QentaCEE_Stdlib_ConsumerData_Address */ public function setCountry($country) { @@ -257,7 +257,7 @@ public function setCountry($country) * * @param string $state * - * @return WirecardCEE_Stdlib_ConsumerData_Address + * @return QentaCEE_Stdlib_ConsumerData_Address */ public function setState($state) { @@ -271,7 +271,7 @@ public function setState($state) * * @param string $zipCode * - * @return WirecardCEE_Stdlib_ConsumerData_Address + * @return QentaCEE_Stdlib_ConsumerData_Address */ public function setZipCode($zipCode) { @@ -285,7 +285,7 @@ public function setZipCode($zipCode) * * @param string $phone * - * @return WirecardCEE_Stdlib_ConsumerData_Address + * @return QentaCEE_Stdlib_ConsumerData_Address */ public function setPhone($phone) { @@ -299,7 +299,7 @@ public function setPhone($phone) * * @param string $fax * - * @return WirecardCEE_Stdlib_ConsumerData_Address + * @return QentaCEE_Stdlib_ConsumerData_Address */ public function setFax($fax) { diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Error.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Error.php similarity index 72% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Error.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Error.php index 8ac5c7c..b4df7cf 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Error.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Error.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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_Stdlib_Error - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Error + * @category QentaCEE + * @package QentaCEE_Stdlib * @abstract */ -abstract class WirecardCEE_Stdlib_Error +abstract class QentaCEE_Stdlib_Error { /** @@ -69,7 +69,7 @@ public function getMessage() * * @param string $message * - * @return WirecardCEE_Stdlib_Error + * @return QentaCEE_Stdlib_Error */ public function setMessage($message) { @@ -83,7 +83,7 @@ public function setMessage($message) * * @param string $consumerMessage * - * @return WirecardCEE_Stdlib_Error + * @return QentaCEE_Stdlib_Error */ public function setConsumerMessage($consumerMessage) { diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Exception/ExceptionInterface.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Exception/ExceptionInterface.php similarity index 58% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Exception/ExceptionInterface.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Exception/ExceptionInterface.php index ff55968..a1e83d1 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Exception/ExceptionInterface.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Exception/ExceptionInterface.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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_Stdlib_Exception_ExceptionInterface - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Exception_ExceptionInterface + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Exception */ -interface WirecardCEE_Stdlib_Exception_ExceptionInterface +interface QentaCEE_Stdlib_Exception_ExceptionInterface { } \ No newline at end of file diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Exception/BadMethodCallException.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Exception/InvalidArgumentException.php similarity index 56% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Exception/BadMethodCallException.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Exception/InvalidArgumentException.php index 5f0aab8..65404ac 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/QMore/Exception/BadMethodCallException.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Exception/InvalidArgumentException.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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_QMore_Exception_BadMethodCallException - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_Stdlib_Exception_InvalidArgumentException + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Exception */ -class WirecardCEE_QMore_Exception_BadMethodCallException extends BadMethodCallException implements WirecardCEE_QMore_Exception_ExceptionInterface +class QentaCEE_Stdlib_Exception_InvalidArgumentException extends InvalidArgumentException implements QentaCEE_Stdlib_Exception_ExceptionInterface { } \ No newline at end of file diff --git a/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Exception/InvalidFormatException.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Exception/InvalidFormatException.php new file mode 100644 index 0000000..f98407a --- /dev/null +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Exception/InvalidFormatException.php @@ -0,0 +1,42 @@ +add('index') is same as $obj[] = 'index'; * * 2. we can iterate it via foreach ie. @@ -47,12 +47,12 @@ * 3. and we can use count() on the whole object ie count($obj) * which will return the number of items in fingeprintOrder array * - * @name WirecardCEE_Stdlib_FingerprintOrder - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_FingerprintOrder + * @category QentaCEE + * @package QentaCEE_Stdlib */ -class WirecardCEE_Stdlib_FingerprintOrder implements ArrayAccess, IteratorAggregate, Countable +class QentaCEE_Stdlib_FingerprintOrder implements ArrayAccess, IteratorAggregate, Countable { /** * @@ -67,14 +67,14 @@ class WirecardCEE_Stdlib_FingerprintOrder implements ArrayAccess, IteratorAggreg * * @param string|array $mItems * - * @throws WirecardCEE_Stdlib_Exception_InvalidArgumentException + * @throws QentaCEE_Stdlib_Exception_InvalidArgumentException */ public function __construct($mItems = null) { $this->_fingeprintOrder = Array(); if (!is_null($mItems) && !$this->setOrder($mItems)) { - throw new WirecardCEE_Stdlib_Exception_InvalidArgumentException(sprintf("Unknown fingerprint format in %s on line %s", + throw new QentaCEE_Stdlib_Exception_InvalidArgumentException(sprintf("Unknown fingerprint format in %s on line %s", __METHOD__, __LINE__)); } } diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Module.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Module.php similarity index 62% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Module.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Module.php index 9053f40..f17b601 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Module.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Module.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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_Stdlib_Module - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Module + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Module */ -class WirecardCEE_Stdlib_Module extends WirecardCEE_Stdlib_Module_ModuleAbstract implements WirecardCEE_Stdlib_Module_ModuleInterface +class QentaCEE_Stdlib_Module extends QentaCEE_Stdlib_Module_ModuleAbstract implements QentaCEE_Stdlib_Module_ModuleInterface { /** * Returns the client configuration details found in 'Config' directory diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Module/ModuleAbstract.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Module/ModuleAbstract.php similarity index 65% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Module/ModuleAbstract.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Module/ModuleAbstract.php index 00e7ed1..3f3504c 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Module/ModuleAbstract.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Module/ModuleAbstract.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 Central Eastern Europe 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. * @@ -32,13 +32,13 @@ /** - * @name WirecardCEE_Stdlib_Module_ModuleAbstract - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Module_ModuleAbstract + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Module * @abstract */ -abstract class WirecardCEE_Stdlib_Module_ModuleAbstract implements WirecardCEE_Stdlib_Module_ModuleInterface +abstract class QentaCEE_Stdlib_Module_ModuleAbstract implements QentaCEE_Stdlib_Module_ModuleInterface { /** * Returns the user configuration details found in 'Config' directory diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Module/ModuleInterface.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Module/ModuleInterface.php similarity index 66% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Module/ModuleInterface.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Module/ModuleInterface.php index f6c450c..fb571b0 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Module/ModuleInterface.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Module/ModuleInterface.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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_Stdlib_Module_ModuleInterface - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Module_ModuleInterface + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Module */ -interface WirecardCEE_Stdlib_Module_ModuleInterface +interface QentaCEE_Stdlib_Module_ModuleInterface { /** diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/PaymentTypeAbstract.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/PaymentTypeAbstract.php similarity index 88% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/PaymentTypeAbstract.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/PaymentTypeAbstract.php index 9aa1b29..8cf4941 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/PaymentTypeAbstract.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/PaymentTypeAbstract.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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_Stdlib_PaymentTypeAbstract - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_PaymentTypeAbstract + * @category QentaCEE + * @package QentaCEE_Stdlib * @abstract */ -abstract class WirecardCEE_Stdlib_PaymentTypeAbstract +abstract class QentaCEE_Stdlib_PaymentTypeAbstract { const BMC = 'BANCONTACT_MISTERCASH'; const CCARD = 'CCARD'; @@ -169,7 +169,7 @@ public static function getFinancialInstitutions($paymentType) /** * Returns full name of the financial institution - * Used in dd_wirecard_order.php (function: getPayment()) + * Used in dd_qenta_order.php (function: getPayment()) * * @param string $sFinancialInstitutionShortCode * diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Response/ResponseAbstract.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Response/ResponseAbstract.php similarity index 75% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Response/ResponseAbstract.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Response/ResponseAbstract.php index 1af587d..4115ecd 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Response/ResponseAbstract.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Response/ResponseAbstract.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 Central Eastern Europe 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. * @@ -34,13 +34,13 @@ use GuzzleHttp\Message\Response; /** - * @name WirecardCEE_Stdlib_Response_ResponseAbstract - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Response_ResponseAbstract + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Response * @abstract */ -abstract class WirecardCEE_Stdlib_Response_ResponseAbstract +abstract class QentaCEE_Stdlib_Response_ResponseAbstract { /** * State success @@ -98,16 +98,16 @@ abstract class WirecardCEE_Stdlib_Response_ResponseAbstract * * @param ResponseInterface $response * - * @throws WirecardCEE_Stdlib_Exception_InvalidResponseException + * @throws QentaCEE_Stdlib_Exception_InvalidResponseException */ public function __construct($response) { if ($response instanceof Response) { - $this->_response = WirecardCEE_Stdlib_SerialApi::decode($response->getBody()); + $this->_response = QentaCEE_Stdlib_SerialApi::decode($response->getBody()); } elseif (is_array($response)) { $this->_response = $response; } else { - throw new WirecardCEE_Stdlib_Exception_InvalidResponseException(sprintf('Invalid response from WirecardCEE thrown in %s.', + throw new QentaCEE_Stdlib_Exception_InvalidResponseException(sprintf('Invalid response from QentaCEE thrown in %s.', __METHOD__)); } } diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Cancel.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Cancel.php similarity index 60% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Cancel.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Cancel.php index 391596b..d9c62cd 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Cancel.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Cancel.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 Central Eastern Europe 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. * @@ -32,13 +32,13 @@ /** - * @name WirecardCEE_Stdlib_Return_Cancel - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Return_Cancel + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Return * @abstract */ -abstract class WirecardCEE_Stdlib_Return_Cancel extends WirecardCEE_Stdlib_Return_ReturnAbstract +abstract class QentaCEE_Stdlib_Return_Cancel extends QentaCEE_Stdlib_Return_ReturnAbstract { /** * State diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Failure.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Failure.php similarity index 71% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Failure.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Failure.php index 5916393..dbc490b 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Failure.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Failure.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 Central Eastern Europe 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. * @@ -32,13 +32,13 @@ /** - * @name WirecardCEE_Stdlib_Return_Failure - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Return_Failure + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Return * @abstract */ -abstract class WirecardCEE_Stdlib_Return_Failure extends WirecardCEE_Stdlib_Return_ReturnAbstract +abstract class QentaCEE_Stdlib_Return_Failure extends QentaCEE_Stdlib_Return_ReturnAbstract { /** * diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Pending.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Pending.php similarity index 66% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Pending.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Pending.php index 5eae0f0..31e9b3c 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Pending.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Pending.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 Central Eastern Europe 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. * @@ -32,13 +32,13 @@ /** - * @name WirecardCEE_Stdlib_Return_Pending - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Return_Pending + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Return * @abstract */ -abstract class WirecardCEE_Stdlib_Return_Pending extends WirecardCEE_Stdlib_Return_ReturnAbstract +abstract class QentaCEE_Stdlib_Return_Pending extends QentaCEE_Stdlib_Return_ReturnAbstract { /** @@ -73,18 +73,18 @@ abstract class WirecardCEE_Stdlib_Return_Pending extends WirecardCEE_Stdlib_Retu public function __construct( $returnData, $secret, - $hashAlgo = WirecardCEE_Stdlib_Fingerprint::HASH_ALGORITHM_HMAC_SHA512 + $hashAlgo = QentaCEE_Stdlib_Fingerprint::HASH_ALGORITHM_HMAC_SHA512 ) { - //@see WirecardCEE_Stdlib_Return_ReturnAbstract::__construct($returnData) + //@see QentaCEE_Stdlib_Return_ReturnAbstract::__construct($returnData) parent::__construct($returnData); - $oFingerprintValidator = new WirecardCEE_Stdlib_Validate_Fingerprint(Array( + $oFingerprintValidator = new QentaCEE_Stdlib_Validate_Fingerprint(Array( self::$SECRET => $secret, self::$FINGERPRINT_ORDER_FIELD => 'responseFingerprintOrder', )); $oFingerprintValidator->setHashAlgorithm($hashAlgo); - $oFingerprintValidator->setOrderType(WirecardCEE_Stdlib_Validate_Fingerprint::TYPE_DYNAMIC); + $oFingerprintValidator->setOrderType(QentaCEE_Stdlib_Validate_Fingerprint::TYPE_DYNAMIC); $this->addValidator($oFingerprintValidator, 'responseFingerprint'); } diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/ReturnAbstract.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/ReturnAbstract.php similarity index 77% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/ReturnAbstract.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/ReturnAbstract.php index 0008e0b..18e34a2 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/ReturnAbstract.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/ReturnAbstract.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 Central Eastern Europe 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. * @@ -33,13 +33,13 @@ /** - * @name WirecardCEE_Stdlib_Return_ReturnAbstract - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Return_ReturnAbstract + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Return * @abstract */ -abstract class WirecardCEE_Stdlib_Return_ReturnAbstract +abstract class QentaCEE_Stdlib_Return_ReturnAbstract { /** * Return data holder @@ -52,7 +52,7 @@ abstract class WirecardCEE_Stdlib_Return_ReturnAbstract /** * Validators holder * - * @var WirecardCEE_Stdlib_Validate_ValidateAbstract[] + * @var QentaCEE_Stdlib_Validate_ValidateAbstract[] * @internal */ protected $_validators = Array(); @@ -93,7 +93,7 @@ public function validate() // Iterate thru all the validators and validate every one of them foreach ($this->_validators as $param => $aValidator) { foreach ($aValidator as $oValidator) { - /** @var WirecardCEE_Stdlib_Validate_ValidateAbstract $oValidator */ + /** @var QentaCEE_Stdlib_Validate_ValidateAbstract $oValidator */ $param = (string) $param; if (!isset( $this->_returnData[$param] )) { @@ -113,12 +113,12 @@ public function validate() /** * Adds the validator * - * @param WirecardCEE_Stdlib_Validate_ValidateAbstract $oValidator + * @param QentaCEE_Stdlib_Validate_ValidateAbstract $oValidator * @param string $param * - * @return WirecardCEE_Stdlib_Return_ReturnAbstract + * @return QentaCEE_Stdlib_Return_ReturnAbstract */ - public function addValidator(WirecardCEE_Stdlib_Validate_ValidateAbstract $oValidator, $param) + public function addValidator(QentaCEE_Stdlib_Validate_ValidateAbstract $oValidator, $param) { $this->_validators[(string) $param][] = $oValidator; diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Success.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Success.php similarity index 78% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Success.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Success.php index b9216f0..e4ca695 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Success.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Success.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 Central Eastern Europe 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. * @@ -32,13 +32,13 @@ /** - * @name WirecardCEE_Stdlib_Return_Success - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Return_Success + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Return * @abstract */ -abstract class WirecardCEE_Stdlib_Return_Success extends WirecardCEE_Stdlib_Return_ReturnAbstract +abstract class QentaCEE_Stdlib_Return_Success extends QentaCEE_Stdlib_Return_ReturnAbstract { /** * @@ -69,7 +69,7 @@ abstract class WirecardCEE_Stdlib_Return_Success extends WirecardCEE_Stdlib_Retu protected static $FINGERPRINT_ORDER_FIELD = 'fingerprintOrderField'; /** - * creates an instance of an WirecardCEE_Stdlib_Return_Success object + * creates an instance of an QentaCEE_Stdlib_Return_Success object * * @param Array $returnData * @param string $secret @@ -77,18 +77,18 @@ abstract class WirecardCEE_Stdlib_Return_Success extends WirecardCEE_Stdlib_Retu public function __construct( array $returnData, $secret, - $hashAlgo = WirecardCEE_Stdlib_Fingerprint::HASH_ALGORITHM_HMAC_SHA512 + $hashAlgo = QentaCEE_Stdlib_Fingerprint::HASH_ALGORITHM_HMAC_SHA512 ) { $this->_secret = (string) $secret; parent::__construct($returnData); - $oFingerprintValidator = new WirecardCEE_Stdlib_Validate_Fingerprint(Array( + $oFingerprintValidator = new QentaCEE_Stdlib_Validate_Fingerprint(Array( self::$SECRET => $secret, self::$FINGERPRINT_ORDER_FIELD => 'responseFingerprintOrder', )); $oFingerprintValidator->setHashAlgorithm($hashAlgo); - $oFingerprintValidator->setOrderType(WirecardCEE_Stdlib_Validate_Fingerprint::TYPE_DYNAMIC); + $oFingerprintValidator->setOrderType(QentaCEE_Stdlib_Validate_Fingerprint::TYPE_DYNAMIC); $this->addValidator($oFingerprintValidator, 'responseFingerprint'); } diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Success/CreditCard.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Success/CreditCard.php similarity index 72% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Success/CreditCard.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Success/CreditCard.php index 77ddea3..c249a0b 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Success/CreditCard.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Success/CreditCard.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 Central Eastern Europe 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. * @@ -32,13 +32,13 @@ /** - * @name WirecardCEE_Stdlib_Return_Success_CreditCard - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Return_Success_CreditCard + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Return_Success * @abstract */ -abstract class WirecardCEE_Stdlib_Return_Success_CreditCard extends WirecardCEE_Stdlib_Return_Success +abstract class QentaCEE_Stdlib_Return_Success_CreditCard extends QentaCEE_Stdlib_Return_Success { /** diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Success/Ideal.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Success/Ideal.php similarity index 69% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Success/Ideal.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Success/Ideal.php index 8b3e12a..6efd70b 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Success/Ideal.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Success/Ideal.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 Central Eastern Europe 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. * @@ -32,13 +32,13 @@ /** - * @name WirecardCEE_Stdlib_Return_Success_Ideal - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Return_Success_Ideal + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Return_Success * @abstract */ -abstract class WirecardCEE_Stdlib_Return_Success_Ideal extends WirecardCEE_Stdlib_Return_Success +abstract class QentaCEE_Stdlib_Return_Success_Ideal extends QentaCEE_Stdlib_Return_Success { /** * getter for the return parameter idealConsumerName diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Success/PayPal.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Success/PayPal.php similarity index 81% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Success/PayPal.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Success/PayPal.php index 236485b..fba0c1c 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Success/PayPal.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Success/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 Central Eastern Europe 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. * @@ -32,13 +32,13 @@ /** - * @name WirecardCEE_Stdlib_Return_Success_PayPal - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Return_Success_PayPal + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Return_Success * @abstract */ -abstract class WirecardCEE_Stdlib_Return_Success_PayPal extends WirecardCEE_Stdlib_Return_Success +abstract class QentaCEE_Stdlib_Return_Success_PayPal extends QentaCEE_Stdlib_Return_Success { /** diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Success/SepaDD.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Success/SepaDD.php similarity index 70% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Success/SepaDD.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Success/SepaDD.php index 29a7e61..979457a 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Success/SepaDD.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Success/SepaDD.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 Central Eastern Europe 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. * @@ -32,12 +32,12 @@ /** - * @name WirecardCEE_Stdlib_Return_Success_SepaDD - * @category WirecardCEE - * @package WirecardCEE_QMore + * @name QentaCEE_Stdlib_Return_Success_SepaDD + * @category QentaCEE + * @package QentaCEE_QMore * @subpackage Return_Success */ -abstract class WirecardCEE_Stdlib_Return_Success_SepaDD extends WirecardCEE_Stdlib_Return_Success +abstract class QentaCEE_Stdlib_Return_Success_SepaDD extends QentaCEE_Stdlib_Return_Success { /** diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Success/Sofortueberweisung.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Success/Sofortueberweisung.php similarity index 76% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Success/Sofortueberweisung.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Success/Sofortueberweisung.php index de58400..aff1ac1 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Return/Success/Sofortueberweisung.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Return/Success/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 Central Eastern Europe 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. * @@ -32,13 +32,13 @@ /** - * @name WirecardCEE_Stdlib_Return_Success_Sofortueberweisung - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Return_Success_Sofortueberweisung + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Return_Success * @abstract */ -abstract class WirecardCEE_Stdlib_Return_Success_Sofortueberweisung extends WirecardCEE_Stdlib_Return_Success +abstract class QentaCEE_Stdlib_Return_Success_Sofortueberweisung extends QentaCEE_Stdlib_Return_Success { /** diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/ReturnFactoryAbstract.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/ReturnFactoryAbstract.php similarity index 77% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/ReturnFactoryAbstract.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/ReturnFactoryAbstract.php index f0d5016..99abc74 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/ReturnFactoryAbstract.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/ReturnFactoryAbstract.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 Central Eastern Europe 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. * @@ -34,13 +34,13 @@ /** * Factory method for returned params validators * - * @name WirecardCEE_Stdlib_ReturnFactoryAbstract - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_ReturnFactoryAbstract + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Return * @abstract */ -abstract class WirecardCEE_Stdlib_ReturnFactoryAbstract +abstract class QentaCEE_Stdlib_ReturnFactoryAbstract { /** * Success diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/SerialApi.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/SerialApi.php similarity index 86% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/SerialApi.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/SerialApi.php index 8a6b400..896b61d 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/SerialApi.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/SerialApi.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 Central Eastern Europe 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. * @@ -32,11 +32,11 @@ /** - * @name WirecardCEE_Stdlib_SerialApi - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_SerialApi + * @category QentaCEE + * @package QentaCEE_Stdlib */ -class WirecardCEE_Stdlib_SerialApi +class QentaCEE_Stdlib_SerialApi { /** * Encode the mixed[] $valueToEncode into the SerialAPI format @@ -44,7 +44,7 @@ class WirecardCEE_Stdlib_SerialApi * NOTE: only Strings can be handled. So for every object the __toString * will be called. * - * @throws WirecardCEE_Stdlib_Exception_InvalidTypeException if valueToEncode is not an array. + * @throws QentaCEE_Stdlib_Exception_InvalidTypeException if valueToEncode is not an array. * * @param mixed[] $aValueToEncode * @@ -60,7 +60,7 @@ public static function encode($aValueToEncode) return $serializedString; } else { - throw new WirecardCEE_Stdlib_Exception_InvalidTypeException(sprintf('Invalid type for %s. Array must be given.', + throw new QentaCEE_Stdlib_Exception_InvalidTypeException(sprintf('Invalid type for %s. Array must be given.', __METHOD__)); } } @@ -176,7 +176,7 @@ public static function decode($encodedValue) * @param string $sEntry * @param array $aDecodedValue * - * @throws WirecardCEE_Stdlib_Exception_InvalidFormatException + * @throws QentaCEE_Stdlib_Exception_InvalidFormatException * @return Array */ protected static function _addEntryDecode($sEntry, $aDecodedValue) @@ -208,7 +208,7 @@ protected static function _addEntryDecode($sEntry, $aDecodedValue) return $aDecodedValue; } else { - throw new WirecardCEE_Stdlib_Exception_InvalidFormatException('Invalid format for WirecardCEE_Stdlib_SerialApi::decode. Expecting key=value pairs'); + throw new QentaCEE_Stdlib_Exception_InvalidFormatException('Invalid format for QentaCEE_Stdlib_SerialApi::decode. Expecting key=value pairs'); } } diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Validate/Exception.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Validate/Exception.php similarity index 61% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Validate/Exception.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Validate/Exception.php index 7f2df19..9c858a4 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Validate/Exception.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Validate/Exception.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 Central Eastern Europe 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,7 +30,7 @@ * Please do not use the plugin if you do not agree to these terms of use! */ -class WirecardCEE_Stdlib_Validate_Exception extends Exception +class QentaCEE_Stdlib_Validate_Exception extends Exception { } diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Validate/Fingerprint.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Validate/Fingerprint.php similarity index 75% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Validate/Fingerprint.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Validate/Fingerprint.php index 56fc63a..9ee63ff 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Validate/Fingerprint.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Validate/Fingerprint.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 Central Eastern Europe 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. * @@ -32,18 +32,18 @@ /** - * @name WirecardCEE_Stdlib_Validate_Fingerprint - * @category WirecardCEE - * @package WirecardCEE_Stdlib + * @name QentaCEE_Stdlib_Validate_Fingerprint + * @category QentaCEE + * @package QentaCEE_Stdlib * @subpackage Validate */ -class WirecardCEE_Stdlib_Validate_Fingerprint extends WirecardCEE_Stdlib_Validate_ValidateAbstract +class QentaCEE_Stdlib_Validate_Fingerprint extends QentaCEE_Stdlib_Validate_ValidateAbstract { /** * Fingeprint order * - * @var WirecardCEE_Stdlib_FingerprintOrder + * @var QentaCEE_Stdlib_FingerprintOrder */ protected $fingerprintOrder; @@ -59,7 +59,7 @@ class WirecardCEE_Stdlib_Validate_Fingerprint extends WirecardCEE_Stdlib_Validat * * @var string */ - protected $hashAlgorithm = WirecardCEE_Stdlib_Fingerprint::HASH_ALGORITHM_SHA512; + protected $hashAlgorithm = QentaCEE_Stdlib_Fingerprint::HASH_ALGORITHM_SHA512; /** * Secret @@ -147,9 +147,9 @@ class WirecardCEE_Stdlib_Validate_Fingerprint extends WirecardCEE_Stdlib_Validat */ public function __construct($options = array()) { - $this->fingerprintOrder = new WirecardCEE_Stdlib_FingerprintOrder(); + $this->fingerprintOrder = new QentaCEE_Stdlib_FingerprintOrder(); - if ($options instanceof WirecardCEE_Stdlib_Config) { + if ($options instanceof QentaCEE_Stdlib_Config) { $options = $options->toArray(); } @@ -176,7 +176,7 @@ public function __construct($options = array()) * * @param string $sFingerprintOrderField * - * @return WirecardCEE_Stdlib_Validate_Fingerprint + * @return QentaCEE_Stdlib_Validate_Fingerprint */ public function setFingerprintOrderField($sFingerprintOrderField) { @@ -190,7 +190,7 @@ public function setFingerprintOrderField($sFingerprintOrderField) * * @param string $orderType * - * @return WirecardCEE_Stdlib_Validate_Fingerprint + * @return QentaCEE_Stdlib_Validate_Fingerprint */ public function setOrderType($orderType) { @@ -204,7 +204,7 @@ public function setOrderType($orderType) * * @param string|array $order * - * @return WirecardCEE_Stdlib_Validate_Fingerprint + * @return QentaCEE_Stdlib_Validate_Fingerprint */ public function setOrder($order) { @@ -218,12 +218,12 @@ public function setOrder($order) * * @param string $hashAlgorithm * - * @return WirecardCEE_Stdlib_Validate_Fingerprint + * @return QentaCEE_Stdlib_Validate_Fingerprint */ public function setHashAlgorithm($hashAlgorithm) { $this->hashAlgorithm = (string) $hashAlgorithm; - WirecardCEE_Stdlib_Fingerprint::setHashAlgorithm($hashAlgorithm); + QentaCEE_Stdlib_Fingerprint::setHashAlgorithm($hashAlgorithm); return $this; } @@ -233,7 +233,7 @@ public function setHashAlgorithm($hashAlgorithm) * * @param string $secret * - * @return WirecardCEE_Stdlib_Validate_Fingerprint + * @return QentaCEE_Stdlib_Validate_Fingerprint */ public function setSecret($secret) { @@ -247,7 +247,7 @@ public function setSecret($secret) * * @param string $mandatoryField * - * @return WirecardCEE_Stdlib_Validate_Fingerprint + * @return QentaCEE_Stdlib_Validate_Fingerprint */ public function addMandatoryField($mandatoryField) { @@ -263,7 +263,7 @@ public function addMandatoryField($mandatoryField) * * @param array $mandatoryFields * - * @return WirecardCEE_Stdlib_Validate_Fingerprint + * @return QentaCEE_Stdlib_Validate_Fingerprint */ public function setMandatoryFields(Array $mandatoryFields) { @@ -275,22 +275,22 @@ public function setMandatoryFields(Array $mandatoryFields) /** * Is validator check valid? * - * @see WirecardCEE_Stdlib_Validate_Interface::isValid() + * @see QentaCEE_Stdlib_Validate_Interface::isValid() */ public function isValid($value, $context = null) { $context = array_change_key_case($context, CASE_LOWER); switch ($this->hashAlgorithm) { - case WirecardCEE_Stdlib_Fingerprint::HASH_ALGORITHM_HMAC_SHA512: - case WirecardCEE_Stdlib_Fingerprint::HASH_ALGORITHM_SHA512: + case QentaCEE_Stdlib_Fingerprint::HASH_ALGORITHM_HMAC_SHA512: + case QentaCEE_Stdlib_Fingerprint::HASH_ALGORITHM_SHA512: $stringLength = 128; break; - case WirecardCEE_Stdlib_Fingerprint::HASH_ALGORITHM_MD5: + case QentaCEE_Stdlib_Fingerprint::HASH_ALGORITHM_MD5: $stringLength = 32; break; default: - throw new WirecardCEE_Stdlib_Exception_UnexpectedValueException(sprintf("Used hash algorithm '%s' is not supported. MD5, SHA512, or HMAC_SHA512 are currently supported.", + throw new QentaCEE_Stdlib_Exception_UnexpectedValueException(sprintf("Used hash algorithm '%s' is not supported. MD5, SHA512, or HMAC_SHA512 are currently supported.", $this->hashAlgorithm)); break; } @@ -303,7 +303,7 @@ public function isValid($value, $context = null) $fingerprintOrder = $this->fingerprintOrder; } else { if (array_key_exists($this->fingerprintOrderField, $context)) { - $fingerprintOrder = new WirecardCEE_Stdlib_FingerprintOrder(strtolower($context[$this->fingerprintOrderField])); + $fingerprintOrder = new QentaCEE_Stdlib_FingerprintOrder(strtolower($context[$this->fingerprintOrderField])); } else { $this->_error(self::FINGERPRINTORDER_MISSING); @@ -313,7 +313,7 @@ public function isValid($value, $context = null) $fingerprintOrder->setOrder(array_map('strtolower', $this->fingerprintOrder->__toArray())); if (!in_array('secret', $fingerprintOrder->__toArray())) { - throw new WirecardCEE_Stdlib_Exception_UnexpectedValueException(); + throw new QentaCEE_Stdlib_Exception_UnexpectedValueException(); } $fingerprintFields = Array(); @@ -325,7 +325,7 @@ public function isValid($value, $context = null) } } - if (!WirecardCEE_Stdlib_Fingerprint::compare($fingerprintFields, $fingerprintOrder, $value)) { + if (!QentaCEE_Stdlib_Fingerprint::compare($fingerprintFields, $fingerprintOrder, $value)) { $this->_error(self::INVALID); return false; diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Validate/Interface.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Validate/Interface.php similarity index 72% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Validate/Interface.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Validate/Interface.php index 1717e3d..f231cfb 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Validate/Interface.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Validate/Interface.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 Central Eastern Europe 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. * @@ -31,7 +31,7 @@ */ -interface WirecardCEE_Stdlib_Validate_Interface +interface QentaCEE_Stdlib_Validate_Interface { /** * Returns true if and only if $value meets the validation requirements @@ -43,7 +43,7 @@ interface WirecardCEE_Stdlib_Validate_Interface * @param mixed $value * * @return boolean - * @throws WirecardCEE_Stdlib_Validate_Exception If validation of $value is impossible + * @throws QentaCEE_Stdlib_Validate_Exception If validation of $value is impossible */ public function isValid($value); diff --git a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Validate/ValidateAbstract.php b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Validate/ValidateAbstract.php similarity index 85% rename from Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Validate/ValidateAbstract.php rename to Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Validate/ValidateAbstract.php index 3fa5f9b..6f9e63a 100644 --- a/Frontend/WirecardCheckoutSeamless/Components/WirecardCEE/Stdlib/Validate/ValidateAbstract.php +++ b/Frontend/QentaCheckoutSeamless/Components/QentaCEE/Stdlib/Validate/ValidateAbstract.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 Central Eastern Europe 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. * @@ -31,7 +31,7 @@ */ -abstract class WirecardCEE_Stdlib_Validate_ValidateAbstract implements WirecardCEE_Stdlib_Validate_Interface +abstract class QentaCEE_Stdlib_Validate_ValidateAbstract implements QentaCEE_Stdlib_Validate_Interface { /** * The value to be validated @@ -112,8 +112,8 @@ public function getMessageTemplates() * @param string $messageString * @param string $messageKey OPTIONAL * - * @return WirecardCEE_Stdlib_Validate_ValidateAbstract Provides a fluent interface - * @throws WirecardCEE_Stdlib_Validate_Exception + * @return QentaCEE_Stdlib_Validate_ValidateAbstract Provides a fluent interface + * @throws QentaCEE_Stdlib_Validate_Exception */ public function setMessage($messageString, $messageKey = null) { @@ -127,7 +127,7 @@ public function setMessage($messageString, $messageKey = null) } if (!isset( $this->_messageTemplates[$messageKey] )) { - throw new WirecardCEE_Stdlib_Validate_Exception("No message template exists for key '$messageKey'"); + throw new QentaCEE_Stdlib_Validate_Exception("No message template exists for key '$messageKey'"); } $this->_messageTemplates[$messageKey] = $messageString; @@ -141,7 +141,7 @@ public function setMessage($messageString, $messageKey = null) * * @param array $messages * - * @return WirecardCEE_Stdlib_Validate_ValidateAbstract + * @return QentaCEE_Stdlib_Validate_ValidateAbstract */ public function setMessages(array $messages) { @@ -159,7 +159,7 @@ public function setMessages(array $messages) * @param string $property * * @return mixed - * @throws WirecardCEE_Stdlib_Validate_Exception + * @throws QentaCEE_Stdlib_Validate_Exception */ public function __get($property) { @@ -170,7 +170,7 @@ public function __get($property) return $this->{$this->_messageVariables[$property]}; } - throw new WirecardCEE_Stdlib_Validate_Exception("No property exists by the name '$property'"); + throw new QentaCEE_Stdlib_Validate_Exception("No property exists by the name '$property'"); } /** @@ -261,7 +261,7 @@ protected function _setValue($value) * * @param bool $flag * - * @return WirecardCEE_Stdlib_Validate_ValidateAbstract + * @return QentaCEE_Stdlib_Validate_ValidateAbstract */ public function setObscureValue($flag) { diff --git a/Frontend/WirecardCheckoutSeamless/Controllers/Frontend/WirecardCheckoutSeamless.php b/Frontend/QentaCheckoutSeamless/Controllers/Frontend/QentaCheckoutSeamless.php similarity index 72% rename from Frontend/WirecardCheckoutSeamless/Controllers/Frontend/WirecardCheckoutSeamless.php rename to Frontend/QentaCheckoutSeamless/Controllers/Frontend/QentaCheckoutSeamless.php index fc2c880..d959c25 100644 --- a/Frontend/WirecardCheckoutSeamless/Controllers/Frontend/WirecardCheckoutSeamless.php +++ b/Frontend/QentaCheckoutSeamless/Controllers/Frontend/QentaCheckoutSeamless.php @@ -1,11 +1,11 @@ redirect(array('controller' => 'checkout')); } - if (Shopware()->WirecardCheckoutSeamless()->Config()->BASKET_RESERVE) { + if (Shopware()->QentaCheckoutSeamless()->Config()->BASKET_RESERVE) { $reservedItems = array(); $basketContent = Shopware()->Session()->sOrderVariables['sBasket']; @@ -64,12 +64,12 @@ public function indexAction() } } - Shopware()->Session()->offsetSet('WirecardWCSReservedBasketItems', $reservedItems); + Shopware()->Session()->offsetSet('QentaWCSReservedBasketItems', $reservedItems); // Create new unique Id for the customer - Shopware()->WirecardCheckoutSeamless()->wWirecardCheckoutSeamlessId = $this->createTransactionUniqueId(); + Shopware()->QentaCheckoutSeamless()->wQentaCheckoutSeamlessId = $this->createTransactionUniqueId(); - $sql = 'INSERT INTO `wirecard_checkout_seamless` ' + $sql = 'INSERT INTO `qenta_checkout_seamless` ' . '(`uniqueId`, `hash`, `state`, `orderdate`, `method`, `transactionId`, `basket`, `session`, `remoteAddr`) ' . 'VALUES ' . '(:uniqueId, :hash, :state, :orderdate, :method, :transactionId, :basket, :sessiondata, :remoteAddr) ' @@ -86,9 +86,9 @@ public function indexAction() Shopware()->Db()->query( $sql, array( - ':uniqueId' => Shopware()->WirecardCheckoutSeamless()->wWirecardCheckoutSeamlessId, + ':uniqueId' => Shopware()->QentaCheckoutSeamless()->wQentaCheckoutSeamlessId, ':hash' => $this->generateHash( - Shopware()->WirecardCheckoutSeamless()->wWirecardCheckoutSeamlessId, + Shopware()->QentaCheckoutSeamless()->wQentaCheckoutSeamlessId, $this->getAmount(), $this->getCurrencyShortName() ), @@ -96,19 +96,19 @@ public function indexAction() ':state' => 'progress', ':transactionId' => uniqid(), ':method' => $this->getPaymentShortName( - Shopware()->WirecardCheckoutSeamless()->wWirecardCheckoutSeamlessId, + Shopware()->QentaCheckoutSeamless()->wQentaCheckoutSeamlessId, $this->getAmount(), $this->getCurrencyShortName() ), - ':basket' => Shopware()->WirecardCheckoutSeamless()->Basket()->getSerializedBasket(), + ':basket' => Shopware()->QentaCheckoutSeamless()->Basket()->getSerializedBasket(), ':sessiondata' => base64_encode(serialize($_SESSION)), // store session data for server2server request ':remoteAddr' => $_SERVER['REMOTE_ADDR'] ) ); - $this->View()->loadTemplate('responsive/frontend/wirecard_checkout_seamless/index.tpl'); + $this->View()->loadTemplate('responsive/frontend/qenta_checkout_seamless/index.tpl'); - $headerStyle = Shopware()->WirecardCheckoutSeamless()->Config()->WIRECARD_CONFIRM_HEADER_STYLE; + $headerStyle = Shopware()->QentaCheckoutSeamless()->Config()->QENTA_CONFIRM_HEADER_STYLE; $headerTemplate = $headerStyle == 1 ? 'frontend/index/index.tpl' : 'frontend/checkout/confirm.tpl'; $this->View()->assign('headerTemplate', $headerTemplate); $this->View()->assign('saveOrderUrl', $this->Front()->Router()->assemble(Array('action' => 'saveOrder', 'sUseSSL' => true))); @@ -121,20 +121,20 @@ public function indexAction() */ public function saveOrderAction() { - $paymentType = Shopware()->WirecardCheckoutSeamless()->Config()->getPaymentMethod($this->getPaymentShortName()); + $paymentType = Shopware()->QentaCheckoutSeamless()->Config()->getPaymentMethod($this->getPaymentShortName()); // Create and save new unique Id for the customer - if (null == Shopware()->WirecardCheckoutSeamless()->wWirecardCheckoutSeamlessId) { - Shopware()->WirecardCheckoutSeamless()->wWirecardCheckoutSeamlessId = $this->createTransactionUniqueId(); + if (null == Shopware()->QentaCheckoutSeamless()->wQentaCheckoutSeamlessId) { + Shopware()->QentaCheckoutSeamless()->wQentaCheckoutSeamlessId = $this->createTransactionUniqueId(); } // update session data for server2server request - $sql = 'UPDATE `wirecard_checkout_seamless` SET session = :sessiondata WHERE uniqueId = :uniqueId'; + $sql = 'UPDATE `qenta_checkout_seamless` SET session = :sessiondata WHERE uniqueId = :uniqueId'; Shopware()->Db()->query( $sql, array( ':sessiondata' => base64_encode(serialize($_SESSION)), - ':uniqueId' => Shopware()->WirecardCheckoutSeamless()->wWirecardCheckoutSeamlessId + ':uniqueId' => Shopware()->QentaCheckoutSeamless()->wQentaCheckoutSeamlessId )); $router = $this->Front()->Router(); @@ -163,7 +163,7 @@ public function saveOrderAction() 'confirm' => $confirmUrl ); if(strlen($_SESSION["wcs_redirect_url"])) { - if ($paymentType == WirecardCEE_Stdlib_PaymentTypeAbstract::SOFORTUEBERWEISUNG) { + if ($paymentType == QentaCEE_Stdlib_PaymentTypeAbstract::SOFORTUEBERWEISUNG) { die(json_encode(array('redirectUrl' => $_SESSION["wcs_redirect_url"], 'useIframe' => false))); } else { die(json_encode(array('redirectUrl' => $_SESSION["wcs_redirect_url"], 'useIframe' => true))); @@ -171,7 +171,7 @@ public function saveOrderAction() } // Set customer data like name, address - $response = Shopware()->WirecardCheckoutSeamless()->Seamless()->getResponse( + $response = Shopware()->QentaCheckoutSeamless()->Seamless()->getResponse( $paymentType, $this->getAmount(), $this->getCurrencyShortName(), @@ -179,7 +179,7 @@ public function saveOrderAction() array( 'sCoreId' => Shopware()->SessionID(), '__shop' => Shopware()->Shop()->getId(), - 'wWirecardCheckoutSeamlessId' => Shopware()->WirecardCheckoutSeamless()->wWirecardCheckoutSeamlessId, + 'wQentaCheckoutSeamlessId' => Shopware()->QentaCheckoutSeamless()->wQentaCheckoutSeamlessId, '__currency' => Shopware()->Shop()->getCurrency()->getId(), ) ); @@ -196,14 +196,14 @@ public function saveOrderAction() foreach ($response->getErrors() as $error) { $msg[] = $error->getConsumerMessage(); } - Shopware()->WirecardCheckoutSeamless()->wirecard_action = 'failure'; - Shopware()->WirecardCheckoutSeamless()->wirecard_message = implode(', ', $msg); - Shopware()->Pluginlogger()->error('WirecardCheckoutSeamless: Message: ' . Shopware()->WirecardCheckoutSeamless()->wirecard_message + Shopware()->QentaCheckoutSeamless()->qenta_action = 'failure'; + Shopware()->QentaCheckoutSeamless()->qenta_message = implode(', ', $msg); + Shopware()->Pluginlogger()->error('QentaCheckoutSeamless: Message: ' . Shopware()->QentaCheckoutSeamless()->qenta_message ); die($dataFail); } $_SESSION["wcs_redirect_url"] = $response->getRedirectUrl(); - if ($paymentType == WirecardCEE_Stdlib_PaymentTypeAbstract::SOFORTUEBERWEISUNG) { + if ($paymentType == QentaCEE_Stdlib_PaymentTypeAbstract::SOFORTUEBERWEISUNG) { die(json_encode(array('redirectUrl' => $response->getRedirectUrl(), 'useIframe' => false))); } else { die(json_encode(array('redirectUrl' => $response->getRedirectUrl(), 'useIframe' => true))); @@ -214,8 +214,8 @@ public function datastorageReadAction() { $ret = new \stdClass(); - /** @var WirecardCEE_QMore_DataStorage_Response_Read $response */ - $response = Shopware()->WirecardCheckoutSeamless()->Datastorage()->read(); + /** @var QentaCEE_QMore_DataStorage_Response_Read $response */ + $response = Shopware()->QentaCheckoutSeamless()->Datastorage()->read(); $ret->status = $response->getStatus(); $ret->paymentInformaton = $response->getPaymentInformation(); @@ -230,7 +230,7 @@ public function datastorageReadAction() */ public function getPaymentShortName() { - return Shopware()->WirecardCheckoutSeamless()->getPaymentShortName(); + return Shopware()->QentaCheckoutSeamless()->getPaymentShortName(); } /** @@ -247,11 +247,11 @@ public function confirmAction() $post = $this->Request()->getPost(); - Shopware()->Pluginlogger()->info('WirecardCheckoutSeamless: '. __METHOD__ . ':' . print_r($post, 1)); + Shopware()->Pluginlogger()->info('QentaCheckoutSeamless: '. __METHOD__ . ':' . print_r($post, 1)); - $return = WirecardCEE_QMore_ReturnFactory::getInstance( + $return = QentaCEE_QMore_ReturnFactory::getInstance( $post, - Shopware()->WirecardCheckoutSeamless()->Config()->SECRET + Shopware()->QentaCheckoutSeamless()->Config()->SECRET ); if (strlen($this->Request()->getParam('reservedItems'))) { @@ -263,8 +263,8 @@ public function confirmAction() } } - $paymentUniqueId = $this->Request()->getParam('wWirecardCheckoutSeamlessId'); - if (Shopware()->WirecardCheckoutSeamless()->Config()->setAsTransactionID() == 'gatewayReferenceNumber') { + $paymentUniqueId = $this->Request()->getParam('wQentaCheckoutSeamlessId'); + if (Shopware()->QentaCheckoutSeamless()->Config()->setAsTransactionID() == 'gatewayReferenceNumber') { $sTransactionIdField = 'gatewayReferenceNumber'; } else { @@ -273,12 +273,12 @@ public function confirmAction() $transactionId = $this->Request()->getParam($sTransactionIdField, $paymentUniqueId); if (!$return->validate()) { - Shopware()->Pluginlogger()->info('WirecardCheckoutSeamless: '. __METHOD__ . ':Validation error: invalid response'); - die(\WirecardCEE_QMore_ReturnFactory::generateConfirmResponseString('Validation error: invalid response')); + Shopware()->Pluginlogger()->info('QentaCheckoutSeamless: '. __METHOD__ . ':Validation error: invalid response'); + die(\QentaCEE_QMore_ReturnFactory::generateConfirmResponseString('Validation error: invalid response')); } $sql = Shopware()->Db()->select() - ->from('wirecard_checkout_seamless') + ->from('qenta_checkout_seamless') ->where('uniqueId = ?', array($paymentUniqueId)); $data = Shopware()->Db()->fetchRow($sql); @@ -286,8 +286,8 @@ public function confirmAction() $sessionData = unserialize(base64_decode($data['session'])); if(!is_array($sessionData)) { - Shopware()->Pluginlogger()->info('WirecardCheckoutSeamless: '. __METHOD__ . ':Validation error: invalid session data'); - die(\WirecardCEE_QMore_ReturnFactory::generateConfirmResponseString('Validation error: invalid session data')); + Shopware()->Pluginlogger()->info('QentaCheckoutSeamless: '. __METHOD__ . ':Validation error: invalid session data'); + die(\QentaCEE_QMore_ReturnFactory::generateConfirmResponseString('Validation error: invalid session data')); } // restore session @@ -317,8 +317,8 @@ public function confirmAction() switch ($return->getPaymentState()) { - case WirecardCEE_QMore_ReturnFactory::STATE_SUCCESS: - /** @var WirecardCEE_QMore_Return_Success $return */ + case QentaCEE_QMore_ReturnFactory::STATE_SUCCESS: + /** @var QentaCEE_QMore_Return_Success $return */ $update['orderNumber'] = $return->getOrderNumber(); $update['session'] = ''; @@ -330,7 +330,7 @@ public function confirmAction() $this->saveOrder( $data['transactionId'], $paymentUniqueId, - Shopware()->WirecardCheckoutSeamless()->Config()->getPaymentStatusId('success'), + Shopware()->QentaCheckoutSeamless()->Config()->getPaymentStatusId('success'), false ); //never send mail automatic @@ -394,19 +394,19 @@ public function confirmAction() $update['orderId'] = $this->saveOrder( $transactionId, $paymentUniqueId, - Shopware()->WirecardCheckoutSeamless()->Config()->getPaymentStatusId('success'), + Shopware()->QentaCheckoutSeamless()->Config()->getPaymentStatusId('success'), false ); $orderId = $update['orderId']; } - if (Shopware()->WirecardCheckoutSeamless()->Config()->saveReturnValues() > 1) { + if (Shopware()->QentaCheckoutSeamless()->Config()->saveReturnValues() > 1) { $this->saveComments($return , $orderId); } break; - case WirecardCEE_QMore_ReturnFactory::STATE_PENDING: - /** @var WirecardCEE_QMore_Return_Pending $return */ + case QentaCEE_QMore_ReturnFactory::STATE_PENDING: + /** @var QentaCEE_QMore_Return_Pending $return */ Shopware()->Session()->offsetSet('sPaymentstate', 'pending'); @@ -427,12 +427,12 @@ public function confirmAction() $update['orderId'] = $this->saveOrder( $transactionId, $paymentUniqueId, - Shopware()->WirecardCheckoutSeamless()->Config()->getPaymentStatusId('pending'), + Shopware()->QentaCheckoutSeamless()->Config()->getPaymentStatusId('pending'), false ); //do not send automatic mail for ordercreation //only send pendingmail if configured - if(Shopware()->WirecardCheckoutSeamless()->Config()->SEND_PENDING_MAILS) { + if(Shopware()->QentaCheckoutSeamless()->Config()->SEND_PENDING_MAILS) { $existingOrder = Shopware()->Models()->getRepository('Shopware\Models\Order\Order')->findByNumber($sOrderVariables['sOrderNumber']); $status = $existingOrder[0]->getPaymentStatus(); @@ -468,29 +468,29 @@ public function confirmAction() Shopware()->Session()->offsetSet('sOrderVariables', $variables); } } - if (Shopware()->WirecardCheckoutSeamless()->Config()->saveReturnValues() > 1) { + if (Shopware()->QentaCheckoutSeamless()->Config()->saveReturnValues() > 1) { $this->saveComments($return , $orderId); } } break; - case WirecardCEE_QMore_ReturnFactory::STATE_CANCEL: + case QentaCEE_QMore_ReturnFactory::STATE_CANCEL: Shopware()->Session()->offsetSet('sPaymentstate', 'cancel'); break; - case WirecardCEE_QMore_ReturnFactory::STATE_FAILURE: + case QentaCEE_QMore_ReturnFactory::STATE_FAILURE: Shopware()->Session()->offsetSet('sPaymentstate', 'failure'); if ($data['orderId']) { $existingOrder = Shopware()->Models()->getRepository('Shopware\Models\Order\Order')->findByNumber($data['orderId']); - if(($existingOrder[0] instanceof \Shopware\Models\Order\Order) && $existingOrder[0]->getPaymentStatus()->getId() !== Shopware()->WirecardCheckoutSeamless()->Config()->getPaymentStatusId('pending')) { - Shopware()->Pluginlogger()->info('WirecardCheckoutSeamless: '.__METHOD__ . ': failure: do not modify payment status as the order is in a final state'); + if(($existingOrder[0] instanceof \Shopware\Models\Order\Order) && $existingOrder[0]->getPaymentStatus()->getId() !== Shopware()->QentaCheckoutSeamless()->Config()->getPaymentStatusId('pending')) { + Shopware()->Pluginlogger()->info('QentaCheckoutSeamless: '.__METHOD__ . ': failure: do not modify payment status as the order is in a final state'); break; } else if($existingOrder[0] instanceof \Shopware\Models\Order\Order) { $this->savePaymentStatus( $data['transactionId'], $paymentUniqueId, - Shopware()->WirecardCheckoutSeamless()->Config()->getPaymentStatusId('failure'), + Shopware()->QentaCheckoutSeamless()->Config()->getPaymentStatusId('failure'), false ); @@ -543,17 +543,17 @@ public function confirmAction() $update['session'] = base64_encode(serialize($_SESSION)); // save back ev. modified sessiondata Shopware()->Db()->update( - 'wirecard_checkout_seamless', + 'qenta_checkout_seamless', $update, "uniqueId = '$paymentUniqueId'" ); } catch (Exception $e) { - Shopware()->Pluginlogger()->info('WirecardCheckoutSeamless: '.__METHOD__ . ':' . $e->getMessage()); - die(WirecardCEE_QMore_ReturnFactory::generateConfirmResponseString(htmlspecialchars($e->getMessage()))); + Shopware()->Pluginlogger()->info('QentaCheckoutSeamless: '.__METHOD__ . ':' . $e->getMessage()); + die(QentaCEE_QMore_ReturnFactory::generateConfirmResponseString(htmlspecialchars($e->getMessage()))); } - die(WirecardCEE_QMore_ReturnFactory::generateConfirmResponseString($message)); + die(QentaCEE_QMore_ReturnFactory::generateConfirmResponseString($message)); } /** @@ -564,13 +564,13 @@ public function returnAction() if(strlen($_SESSION["wcs_redirect_url"])) unset($_SESSION["wcs_redirect_url"]); - // Get data saved by wirecard callback + // Get data saved by qenta callback $sql = Shopware()->Db()->select() - ->from('wirecard_checkout_seamless') - ->where('uniqueId = ?', array(Shopware()->WirecardCheckoutSeamless()->wWirecardCheckoutSeamlessId)); + ->from('qenta_checkout_seamless') + ->where('uniqueId = ?', array(Shopware()->QentaCheckoutSeamless()->wQentaCheckoutSeamlessId)); $result = Shopware()->Db()->fetchRow($sql); - $this->View()->loadTemplate('responsive/frontend/wirecard_checkout_seamless/return.tpl'); + $this->View()->loadTemplate('responsive/frontend/qenta_checkout_seamless/return.tpl'); $this->View()->redirectUrl = $this->Front()->Router()->assemble(Array('controller' => 'checkout', 'action' => 'confirm', 'sUseSSL' => true)); @@ -584,29 +584,29 @@ public function returnAction() try { - $return = WirecardCEE_QMore_ReturnFactory::getInstance( + $return = QentaCEE_QMore_ReturnFactory::getInstance( $responseData, - Shopware()->WirecardCheckoutSeamless()->Config()->SECRET + Shopware()->QentaCheckoutSeamless()->Config()->SECRET ); switch ($return->getPaymentState()) { - case WirecardCEE_QMore_ReturnFactory::STATE_SUCCESS: - /** @var $return WirecardCEE_QMore_Return_Success */ + case QentaCEE_QMore_ReturnFactory::STATE_SUCCESS: + /** @var $return QentaCEE_QMore_Return_Success */ $this->View()->redirectUrl = $this->Front()->Router()->assemble(Array('controller' => 'checkout', 'action' => 'finish', 'sUseSSL' => true)); break; - case WirecardCEE_QMore_ReturnFactory::STATE_PENDING: + case QentaCEE_QMore_ReturnFactory::STATE_PENDING: $this->View()->redirectUrl = $this->Front()->Router()->assemble(Array('controller' => 'checkout', 'action' => 'finish', 'sUseSSL' => true, 'pending' => true)); break; - case WirecardCEE_QMore_ReturnFactory::STATE_CANCEL: - /** @var $return WirecardCEE_QMore_Return_Cancel */ - Shopware()->WirecardCheckoutSeamless()->wirecard_action = 'cancel'; + case QentaCEE_QMore_ReturnFactory::STATE_CANCEL: + /** @var $return QentaCEE_QMore_Return_Cancel */ + Shopware()->QentaCheckoutSeamless()->qenta_action = 'cancel'; break; - case WirecardCEE_QMore_ReturnFactory::STATE_FAILURE: + case QentaCEE_QMore_ReturnFactory::STATE_FAILURE: default: - /** @var $return WirecardCEE_QMore_Return_Failure */ + /** @var $return QentaCEE_QMore_Return_Failure */ $msg = ''; for ($i = 1; $i <= $return->getNumberOfErrors(); $i++) { $key = sprintf('error_%d_consumerMessage', $i); @@ -615,22 +615,22 @@ public function returnAction() } $msg .= $responseData[$key]; } - Shopware()->WirecardCheckoutSeamless()->wirecard_action = 'external_error'; - Shopware()->WirecardCheckoutSeamless()->wirecard_message = $msg; + Shopware()->QentaCheckoutSeamless()->qenta_action = 'external_error'; + Shopware()->QentaCheckoutSeamless()->qenta_message = $msg; } } catch (Exception $e) { - Shopware()->Pluginlogger()->error('WirecardCheckoutSeamless: '.__METHOD__ . ':' . $e->getMessage()); + Shopware()->Pluginlogger()->error('QentaCheckoutSeamless: '.__METHOD__ . ':' . $e->getMessage()); /** @var Enlight_Components_Snippet_Namespace ns */ - $ns = Shopware()->Snippets()->getNamespace('engine/Shopware/Plugins/Community/Frontend/WirecardCheckoutSeamless/Views/frontend/checkout/wirecard'); + $ns = Shopware()->Snippets()->getNamespace('engine/Shopware/Plugins/Community/Frontend/QentaCheckoutSeamless/Views/frontend/checkout/qenta'); // suppress technical error message - Shopware()->WirecardCheckoutSeamless()->wirecard_message = $ns['WirecardMessageActionFailure']; - Shopware()->WirecardCheckoutSeamless()->wirecard_action = 'failure'; + Shopware()->QentaCheckoutSeamless()->qenta_message = $ns['QentaMessageActionFailure']; + Shopware()->QentaCheckoutSeamless()->qenta_action = 'failure'; } - Shopware()->WirecardCheckoutSeamless()->wWirecardCheckoutSeamlessId = $this->createTransactionUniqueId(); + Shopware()->QentaCheckoutSeamless()->wQentaCheckoutSeamlessId = $this->createTransactionUniqueId(); } /** @@ -638,42 +638,42 @@ public function returnAction() */ public function successAction() { - // Get data saved by wirecard callback + // Get data saved by qenta callback $sql = Shopware()->Db()->select() - ->from('wirecard_checkout_seamless') - ->where('uniqueId = ?', array(Shopware()->WirecardCheckoutSeamless()->wWirecardCheckoutSeamlessId)); + ->from('qenta_checkout_seamless') + ->where('uniqueId = ?', array(Shopware()->QentaCheckoutSeamless()->wQentaCheckoutSeamlessId)); $result = Shopware()->Db()->fetchRow($sql); $update = array(); // Payment accepted: normal successfully transaction if (!empty($result['transactionId'])) { if ($result['hash'] != $this->generateHash( - Shopware()->WirecardCheckoutSeamless()->wWirecardCheckoutSeamlessId, + Shopware()->QentaCheckoutSeamless()->wQentaCheckoutSeamlessId, $this->getAmount(), $this->getCurrencyShortName() ) ) { - Shopware()->Pluginlogger()->warning('WirecardCheckoutSeamless: Hash could not be verified'); + Shopware()->Pluginlogger()->warning('QentaCheckoutSeamless: Hash could not be verified'); // Restore old basket - if (false == Shopware()->WirecardCheckoutSeamless()->Basket()->setSerializedBasket($result->basket)) { - Shopware()->Pluginlogger()->info('WirecardCheckoutSeamless: Restoring basket'); - $status = Shopware()->WirecardCheckoutSeamless()->Config()->getPaymentStatusId('checkup'); + if (false == Shopware()->QentaCheckoutSeamless()->Basket()->setSerializedBasket($result->basket)) { + Shopware()->Pluginlogger()->info('QentaCheckoutSeamless: Restoring basket'); + $status = Shopware()->QentaCheckoutSeamless()->Config()->getPaymentStatusId('checkup'); } else { - Shopware()->Pluginlogger()->warning('WirecardCheckoutSeamless: Something is wrong - check order!'); - $status = Shopware()->WirecardCheckoutSeamless()->Config()->getPaymentStatusId('success'); + Shopware()->Pluginlogger()->warning('QentaCheckoutSeamless: Something is wrong - check order!'); + $status = Shopware()->QentaCheckoutSeamless()->Config()->getPaymentStatusId('success'); } } // Normal order else { - Shopware()->Pluginlogger()->info('WirecardCheckoutSeamless: save successfully order'); - $status = Shopware()->WirecardCheckoutSeamless()->Config()->getPaymentStatusId( + Shopware()->Pluginlogger()->info('QentaCheckoutSeamless: save successfully order'); + $status = Shopware()->QentaCheckoutSeamless()->Config()->getPaymentStatusId( strtolower($result['state']) ); } $update['orderId'] = $this->saveOrder( $result['transactionId'], - Shopware()->WirecardCheckoutSeamless()->wWirecardCheckoutSeamlessId, + Shopware()->QentaCheckoutSeamless()->wQentaCheckoutSeamlessId, $status ); // Update date of payment @@ -682,52 +682,52 @@ public function successAction() array('cleareddate' => date('Y-m-d H:i:s')), 'ordernumber = ' . (int)$update['orderId'] ); - // Save return values by Wirecard - if (true == Shopware()->WirecardCheckoutSeamless()->Config()->saveReturnValues() and !empty($result['data']) + // Save return values by Qenta + if (true == Shopware()->QentaCheckoutSeamless()->Config()->saveReturnValues() and !empty($result['data']) ) { - $return = WirecardCEE_QMore_ReturnFactory::getInstance( + $return = QentaCEE_QMore_ReturnFactory::getInstance( unserialize($result['data']), - Shopware()->WirecardCheckoutSeamless()->Config()->SECRET + Shopware()->QentaCheckoutSeamless()->Config()->SECRET ); $this->saveComments($return, $update['orderId']); } } // Under normal conditions this should not happen - maybe if the callback failed else { - Shopware()->Pluginlogger()->info('WirecardCheckoutSeamless: save unsuccessfully order'); + Shopware()->Pluginlogger()->info('QentaCheckoutSeamless: save unsuccessfully order'); $transactionId = (empty($result->transactionId)) ? Shopware()->SessionID() : $result->transactionId; $update['orderId'] = $this->saveOrder( $transactionId, - Shopware()->WirecardCheckoutSeamless()->wWirecardCheckoutSeamlessId, - Shopware()->WirecardCheckoutSeamless()->Config()->getPaymentStatusId('checkup') + Shopware()->QentaCheckoutSeamless()->wQentaCheckoutSeamlessId, + Shopware()->QentaCheckoutSeamless()->Config()->getPaymentStatusId('checkup') ); $update['state'] = 'checkup'; } Shopware()->Db()->update( - 'wirecard_checkout_seamless', + 'qenta_checkout_seamless', $update, - 'uniqueId = \'' . Shopware()->WirecardCheckoutSeamless()->wWirecardCheckoutSeamlessId . '\'' + 'uniqueId = \'' . Shopware()->QentaCheckoutSeamless()->wQentaCheckoutSeamlessId . '\'' ); - Shopware()->WirecardCheckoutSeamless()->wWirecardCheckoutSeamlessId = $this->createTransactionUniqueId(); + Shopware()->QentaCheckoutSeamless()->wQentaCheckoutSeamlessId = $this->createTransactionUniqueId(); - $this->View()->loadTemplate('responsive/frontend/wirecard_checkout_seamless/return.tpl'); + $this->View()->loadTemplate('responsive/frontend/qenta_checkout_seamless/return.tpl'); $this->View()->redirectUrl = $this->Front()->Router()->assemble(Array('controller' => 'checkout', 'action' => 'finish', 'sUseSSL' => true)); } /** * Save return data * - * @param WirecardCEE_QMore_Return_Success $return + * @param QentaCEE_QMore_Return_Success $return * @param null $orderNumber * * @internal param null $transactionId */ - protected function saveComments(WirecardCEE_Stdlib_Return_ReturnAbstract $return = null, $orderNumber = null) + protected function saveComments(QentaCEE_Stdlib_Return_ReturnAbstract $return = null, $orderNumber = null) { $comments = array(); - $comments[] = "------- Wirecard Response Data --------"; + $comments[] = "------- Qenta Response Data --------"; $gatewayReferenceNumber =''; foreach ($return->getReturned() as $name => $value) { - if ($name == 'sCoreId' || $name == 'wWirecardCheckoutPageId') { + if ($name == 'sCoreId' || $name == 'wQentaCheckoutPageId') { continue; } if($name == 'gatewayReferenceNumber'){ @@ -739,11 +739,11 @@ protected function saveComments(WirecardCEE_Stdlib_Return_ReturnAbstract $return - $field = Shopware()->WirecardCheckoutSeamless()->Config()->getReturnField(); - Shopware()->Pluginlogger()->info('WirecardCheckoutSeamless: Comment field:' . $field); + $field = Shopware()->QentaCheckoutSeamless()->Config()->getReturnField(); + Shopware()->Pluginlogger()->info('QentaCheckoutSeamless: Comment field:' . $field); if ($field == 'internalcomment') { - Shopware()->Pluginlogger()->info('WirecardCheckoutSeamless: Saving internal comment'); + Shopware()->Pluginlogger()->info('QentaCheckoutSeamless: Saving internal comment'); Shopware()->Db()->update( 's_order', array($field => implode("\n", $comments)), @@ -755,7 +755,7 @@ protected function saveComments(WirecardCEE_Stdlib_Return_ReturnAbstract $return ->where('ordernumber = ?', array($orderNumber)); $orderId = Shopware()->Db()->fetchOne($sql); - Shopware()->Pluginlogger()->info('WirecardCheckoutSeamless: Saving attribute'); + Shopware()->Pluginlogger()->info('QentaCheckoutSeamless: Saving attribute'); Shopware()->Db()->update( 's_order_attributes', array($field => implode("\n", $comments)), @@ -771,18 +771,18 @@ public function dsStoreReturnAction() { $post = $this->Request()->getPost(); - Shopware()->Pluginlogger()->info('WirecardCheckoutSeamless: Called: dsStoreReturnAction'); + Shopware()->Pluginlogger()->info('QentaCheckoutSeamless: Called: dsStoreReturnAction'); if (empty($post['response'])) { - Shopware()->Pluginlogger()->error('WirecardCheckoutSeamless: dsStoreReturnAction: Parameter not found'); + Shopware()->Pluginlogger()->error('QentaCheckoutSeamless: dsStoreReturnAction: Parameter not found'); die('Parameter not found'); } - $this->View()->loadTemplate('responsive/frontend/wirecard_checkout_seamless/storeReturn.tpl'); - $this->View()->wirecardResponse = (true == get_magic_quotes_gpc()) ? $post['response'] : addslashes( + $this->View()->loadTemplate('responsive/frontend/qenta_checkout_seamless/storeReturn.tpl'); + $this->View()->qentaResponse = (true == get_magic_quotes_gpc()) ? $post['response'] : addslashes( $post['response'] ); Shopware()->Pluginlogger()->info( - 'WirecardCheckoutSeamless: Response: ' . print_r($this->View()->wirecardResponse, 1) + 'QentaCheckoutSeamless: Response: ' . print_r($this->View()->qentaResponse, 1) ); } @@ -799,7 +799,7 @@ public function dsStoreReturnAction() public function generateHash($id, $amount, $currencycode) { return md5( - Shopware()->WirecardCheckoutSeamless()->Config()->SECRET . '|' . $id . '|' . $amount . '|' . $currencycode + Shopware()->QentaCheckoutSeamless()->Config()->SECRET . '|' . $id . '|' . $amount . '|' . $currencycode ); } diff --git a/Frontend/WirecardCheckoutSeamless/Models/Basket.php b/Frontend/QentaCheckoutSeamless/Models/Basket.php similarity index 85% rename from Frontend/WirecardCheckoutSeamless/Models/Basket.php rename to Frontend/QentaCheckoutSeamless/Models/Basket.php index 83566bc..816a418 100644 --- a/Frontend/WirecardCheckoutSeamless/Models/Basket.php +++ b/Frontend/QentaCheckoutSeamless/Models/Basket.php @@ -3,7 +3,7 @@ * Shop System Plugins - Terms of use * * This terms of use regulates warranty and liability between - * Wirecard Central Eastern Europe (subsequently referred to as WDCEE) + * Qenta Central Eastern Europe (subsequently referred to as WDCEE) * and it's contractual partners (subsequently referred to as customer or customers) * which are related to the use of plugins provided by WDCEE. * The Plugin is provided by WDCEE free of charge for it's customers and @@ -22,13 +22,13 @@ /** * class representing a basket object stored to the database */ -class Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Basket +class Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Basket { /** * Singleton pattern - only one instance of ourselve * - * @var Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Config + * @var Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Config */ private static $instance; @@ -41,14 +41,14 @@ private function __construct() } /** - * Returns instance of Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Config + * Returns instance of Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Config * - * @return Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Config + * @return Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Config */ public static function getSingleton() { if (!isset(self::$instance)) { - self::$instance = new Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Basket(); + self::$instance = new Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Basket(); } return self::$instance; } diff --git a/Frontend/WirecardCheckoutSeamless/Models/Config.php b/Frontend/QentaCheckoutSeamless/Models/Config.php similarity index 62% rename from Frontend/WirecardCheckoutSeamless/Models/Config.php rename to Frontend/QentaCheckoutSeamless/Models/Config.php index d343a2b..eb93915 100644 --- a/Frontend/WirecardCheckoutSeamless/Models/Config.php +++ b/Frontend/QentaCheckoutSeamless/Models/Config.php @@ -3,7 +3,7 @@ * Shop System Plugins - Terms of use * * This terms of use regulates warranty and liability between - * Wirecard Central Eastern Europe (subsequently referred to as WDCEE) + * Qenta Central Eastern Europe (subsequently referred to as WDCEE) * and it's contractual partners (subsequently referred to as customer or customers) * which are related to the use of plugins provided by WDCEE. * The Plugin is provided by WDCEE free of charge for it's customers and @@ -20,15 +20,15 @@ */ /** - * class representing the WirecardCheckoutSeamless configuration. + * class representing the QentaCheckoutSeamless configuration. */ -class Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Config +class Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Config { /** * Singleton pattern - only one instance of ourselve * - * @var Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Config + * @var Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Config */ private static $instance; @@ -75,14 +75,14 @@ private function __construct() } /** - * Returns instance of Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Config + * Returns instance of Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Config * - * @return Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Config + * @return Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Config */ public static function getSingleton() { if (!isset(self::$instance)) { - self::$instance = new Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Config(); + self::$instance = new Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Config(); } return self::$instance; } @@ -111,7 +111,7 @@ public function getDbTables() } $return[] = $sql; } - $return[] = 'CREATE TABLE IF NOT EXISTS `wirecard_checkout_seamless` ( + $return[] = 'CREATE TABLE IF NOT EXISTS `qenta_checkout_seamless` ( `uniqueId` varchar(80) NOT NULL DEFAULT \'\', `hash` varchar(80) DEFAULT NULL, `state` varchar(30) DEFAULT NULL, @@ -140,385 +140,385 @@ public function getSnippets() array( 'namespace' => 'frontend/checkout/return', 'locale' => '1', - 'name' => 'WirecardCheckoutSeamlessPaymentRedirectHeader', + 'name' => 'QentaCheckoutSeamlessPaymentRedirectHeader', 'value' => 'Weiterleitung' ), array( 'namespace' => 'frontend/checkout/return', 'locale' => '2', - 'name' => 'WirecardCheckoutSeamlessPaymentRedirectHeader', + 'name' => 'QentaCheckoutSeamlessPaymentRedirectHeader', 'value' => 'Redirect' ), array( 'namespace' => 'frontend/checkout/return', 'locale' => '1', - 'name' => 'WirecardCheckoutSeamlessPaymentRedirectText', + 'name' => 'QentaCheckoutSeamlessPaymentRedirectText', 'value' => 'Sie werden nun weitergeleitet.' ), array( 'namespace' => 'frontend/checkout/return', 'locale' => '2', - 'name' => 'WirecardCheckoutSeamlessPaymentRedirectText', + 'name' => 'QentaCheckoutSeamlessPaymentRedirectText', 'value' => 'You will be redirected in a moment.' ), array( 'namespace' => 'frontend/checkout/return', 'locale' => '1', - 'name' => 'WirecardCheckoutSeamlessPaymentRedirectLinkText', + 'name' => 'QentaCheckoutSeamlessPaymentRedirectLinkText', 'value' => 'Falls Sie nicht weitergeleitet werden, klicken Sie bitte' ), array( 'namespace' => 'frontend/checkout/return', 'locale' => '2', - 'name' => 'WirecardCheckoutSeamlessPaymentRedirectLinkText', + 'name' => 'QentaCheckoutSeamlessPaymentRedirectLinkText', 'value' => 'If the redirect does not work please click' ), array( 'namespace' => 'frontend/checkout/return', 'locale' => '1', - 'name' => 'WirecardCheckoutSeamlessPaymentRedirectLink', + 'name' => 'QentaCheckoutSeamlessPaymentRedirectLink', 'value' => 'hier' ), array( 'namespace' => 'frontend/checkout/return', 'locale' => '2', - 'name' => 'WirecardCheckoutSeamlessPaymentRedirectLink', + 'name' => 'QentaCheckoutSeamlessPaymentRedirectLink', 'value' => 'here' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardFinancialInstitutions', + 'name' => 'QentaFinancialInstitutions', 'value' => 'Finanzinstitut' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardFinancialInstitutions', + 'name' => 'QentaFinancialInstitutions', 'value' => 'Financial institution' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardCcardCardholdername', + 'name' => 'QentaCcardCardholdername', 'value' => 'Karteninhaber' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardCcardCardholdername', + 'name' => 'QentaCcardCardholdername', 'value' => 'Card holder name' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardCcardPAN', + 'name' => 'QentaCcardPAN', 'value' => 'Kartennummer' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardCcardPAN', + 'name' => 'QentaCcardPAN', 'value' => 'Card number' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardCcardSecurityCode', + 'name' => 'QentaCcardSecurityCode', 'value' => 'Kartenprüfnummer' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardCcardSecurityCode', + 'name' => 'QentaCcardSecurityCode', 'value' => 'Card verification code' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardCcardExpiration', + 'name' => 'QentaCcardExpiration', 'value' => 'Gültig bis' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardCcardExpiration', + 'name' => 'QentaCcardExpiration', 'value' => 'Expiration date' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardCcardIssueNumber', + 'name' => 'QentaCcardIssueNumber', 'value' => 'Ausgabenummer' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardCcardIssueNumber', + 'name' => 'QentaCcardIssueNumber', 'value' => 'Issue number' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardCcardIssueMonth', + 'name' => 'QentaCcardIssueMonth', 'value' => 'Ausgabedatum' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardCcardIssueMonth', + 'name' => 'QentaCcardIssueMonth', 'value' => 'Issue date' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardPayboxNumber', + 'name' => 'QentaPayboxNumber', 'value' => 'paybox-Nummer' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardPayboxNumber', + 'name' => 'QentaPayboxNumber', 'value' => 'paybox number' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardSEPADDAccount', + 'name' => 'QentaSEPADDAccount', 'value' => 'Kontoinhaber' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardSEPADDAccount', + 'name' => 'QentaSEPADDAccount', 'value' => 'Account number' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardSEPADDIban', + 'name' => 'QentaSEPADDIban', 'value' => 'IBAN' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardSEPADDIban', + 'name' => 'QentaSEPADDIban', 'value' => 'IBAN' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardSEPADDBic', + 'name' => 'QentaSEPADDBic', 'value' => 'BIC' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardSEPADDBic', + 'name' => 'QentaSEPADDBic', 'value' => 'BIC' ), array( - 'namespace' => 'frontend/checkout/wirecard_seamless', + 'namespace' => 'frontend/checkout/qenta_seamless', 'locale' => '1', - 'name' => 'WirecardCheckoutSeamlessPaymentHeader', + 'name' => 'QentaCheckoutSeamlessPaymentHeader', 'value' => 'Bitte führen Sie nun die Zahlung durch.' ), array( - 'namespace' => 'frontend/checkout/wirecard_seamless', + 'namespace' => 'frontend/checkout/qenta_seamless', 'locale' => '2', - 'name' => 'WirecardCheckoutSeamlessPaymentHeader', + 'name' => 'QentaCheckoutSeamlessPaymentHeader', 'value' => 'Please proceed with the payment process.' ), array( - 'namespace' => 'frontend/checkout/wirecard_seamless', + 'namespace' => 'frontend/checkout/qenta_seamless', 'locale' => '1', - 'name' => 'WirecardCheckoutSeamlessPaymentInfoWait', + 'name' => 'QentaCheckoutSeamlessPaymentInfoWait', 'value' => 'Bitte warten ...' ), array( - 'namespace' => 'frontend/checkout/wirecard_seamless', + 'namespace' => 'frontend/checkout/qenta_seamless', 'locale' => '2', - 'name' => 'WirecardCheckoutSeamlessPaymentInfoWait', + 'name' => 'QentaCheckoutSeamlessPaymentInfoWait', 'value' => 'Please wait ...' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardMessageActionCancel', + 'name' => 'QentaMessageActionCancel', 'value' => 'Der Bezahlprozess wurde abgebrochen.' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardMessageActionCancel', + 'name' => 'QentaMessageActionCancel', 'value' => 'The payment process has been canceled.' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardMessageActionUndefined', + 'name' => 'QentaMessageActionUndefined', 'value' => 'Zeitüberschreitung während des Bezahlprozesses. Bitte versuchen Sie es erneut.' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardMessageActionUndefined', + 'name' => 'QentaMessageActionUndefined', 'value' => 'A timeout occurred during the payment process. Please try again.' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardMessageActionFailure', + 'name' => 'QentaMessageActionFailure', 'value' => 'Während des Bezahlprozesses ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut oder wählen Sie ein anderes Zahlungsmittel.' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardMessageActionFailure', + 'name' => 'QentaMessageActionFailure', 'value' => 'An error occurred during the payment process. Please try again or choose a different payment method.' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardMessageErrorInit', + 'name' => 'QentaMessageErrorInit', 'value' => 'Während der Initialisierung des Bezahlprozesses ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut oder wählen Sie ein anderes Zahlungsmittel.' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardMessageErrorInit', + 'name' => 'QentaMessageErrorInit', 'value' => 'An error occurred during the initialization of the payment process. Please try again or choose a different payment method.' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardMessageErrorBankIdeal', + 'name' => 'QentaMessageErrorBankIdeal', 'value' => 'Bitte wählen Sie Ihre Bank aus.' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardMessageErrorBankIdeal', + 'name' => 'QentaMessageErrorBankIdeal', 'value' => 'Please select your bank.' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardMessageErrorBankEPS', + 'name' => 'QentaMessageErrorBankEPS', 'value' => 'Bitte wählen Sie Ihre Bank aus.' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardMessageErrorBankEPS', + 'name' => 'QentaMessageErrorBankEPS', 'value' => 'Please select your bank.' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardMessageNoPaymentdata', + 'name' => 'QentaMessageNoPaymentdata', 'value' => 'Die Zahlungsinformation fehlt.' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardMessageNoPaymentdata', + 'name' => 'QentaMessageNoPaymentdata', 'value' => 'Payment information is missing.' ), array( - 'namespace' => 'frontend/checkout/wirecard_finish', + 'namespace' => 'frontend/checkout/qenta_finish', 'locale' => '1', - 'name' => 'WirecardMessageActionPending', + 'name' => 'QentaMessageActionPending', 'value' => 'Ihre Zahlung wurde vom Finanzinstitut noch nicht bestätigt.' ), array( - 'namespace' => 'frontend/checkout/wirecard_finish', + 'namespace' => 'frontend/checkout/qenta_finish', 'locale' => '2', - 'name' => 'WirecardMessageActionPending', + 'name' => 'QentaMessageActionPending', 'value' => 'Your financial institution has not yet approved your payment.' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardCheckoutSeamlessPayolutionTermsHeader', + 'name' => 'QentaCheckoutSeamlessPayolutionTermsHeader', 'value' => 'Payolution Konditionen' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardCheckoutSeamlessPayolutionTermsHeader', + 'name' => 'QentaCheckoutSeamlessPayolutionTermsHeader', 'value' => 'Payolution Terms' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardCheckoutSeamlessPayolutionConsent1', + 'name' => 'QentaCheckoutSeamlessPayolutionConsent1', 'value' => 'Mit der Übermittlung jener Daten an payolution, die für die Abwicklung von Zahlungen mit Kauf auf Rechnung und die Identitäts- und Bonitätsprüfung erforderlich sind, bin ich einverstanden. Meine ' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardCheckoutSeamlessPayolutionConsent1', + 'name' => 'QentaCheckoutSeamlessPayolutionConsent1', 'value' => 'I agree that the data which are necessary for the liquidation of purchase on account and which are used to complete the identy and credit check are transmitted to payolution. My ' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardCheckoutSeamlessPayolutionConsent2', + 'name' => 'QentaCheckoutSeamlessPayolutionConsent2', 'value' => ' kann ich jederzeit mit Wirkung für die Zukunft widerrufen.' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardCheckoutSeamlessPayolutionConsent2', + 'name' => 'QentaCheckoutSeamlessPayolutionConsent2', 'value' => ' can be revoked at any time with effect for the future.' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardCheckoutSeamlessPayolutionLink', + 'name' => 'QentaCheckoutSeamlessPayolutionLink', 'value' => 'Einwilligung' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardCheckoutSeamlessPayolutionLink', + 'name' => 'QentaCheckoutSeamlessPayolutionLink', 'value' => 'consent' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardCheckoutSeamlessBirthday', + 'name' => 'QentaCheckoutSeamlessBirthday', 'value' => 'Geburtsdatum' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardCheckoutSeamlessBirthday', + 'name' => 'QentaCheckoutSeamlessBirthday', 'value' => 'Date of birth' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardCheckoutSeamlessBirthdayInformation', + 'name' => 'QentaCheckoutSeamlessBirthdayInformation', 'value' => 'Sie müssen mindestens 18 Jahre alt sein, um dieses Zahlungsmittel nutzen zu können.' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardCheckoutSeamlessBirthdayInformation', + 'name' => 'QentaCheckoutSeamlessBirthdayInformation', 'value' => 'You must be at least 18 years of age to use this payment method.' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '1', - 'name' => 'WirecardCheckoutSeamlessPayolutionTermsAccept', + 'name' => 'QentaCheckoutSeamlessPayolutionTermsAccept', 'value' => 'Bitte akzeptieren Sie die payolution Konditionen.' ), array( - 'namespace' => 'frontend/checkout/wirecard', + 'namespace' => 'frontend/checkout/qenta', 'locale' => '2', - 'name' => 'WirecardCheckoutSeamlessPayolutionTermsAccept', + 'name' => 'QentaCheckoutSeamlessPayolutionTermsAccept', 'value' => 'Please accept the payolution terms.' ) ); @@ -558,163 +558,163 @@ public function getPaymentMethods() $pm[] = array( 'name' => 'ccard', 'description' => 'Kreditkarte', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::CCARD, - 'translation' => Array('description' => 'Wirecard Credit Card', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::CCARD, + 'translation' => Array('description' => 'Qenta Credit Card', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'maestro', 'description' => 'Maestro SecureCode', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::MAESTRO, - 'translation' => Array('description' => 'Wirecard Maestro SecureCode', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::MAESTRO, + 'translation' => Array('description' => 'Qenta Maestro SecureCode', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'eps', 'description' => 'eps Online-Überweisung', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::EPS, - 'translation' => Array('description' => 'Wirecard eps Online Bank Transfer', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::EPS, + 'translation' => Array('description' => 'Qenta eps Online Bank Transfer', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'ideal', 'description' => 'iDEAL', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::IDL, - 'translation' => Array('description' => 'Wirecard iDEAL', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::IDL, + 'translation' => Array('description' => 'Qenta iDEAL', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'giropay', 'description' => 'giropay', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::GIROPAY, - 'translation' => Array('description' => 'Wirecard giropay', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::GIROPAY, + 'translation' => Array('description' => 'Qenta giropay', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'sofortueberweisung', 'description' => 'Sofort.', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::SOFORTUEBERWEISUNG, - 'translation' => Array('description' => 'Wirecard Online bank transfer.', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::SOFORTUEBERWEISUNG, + 'translation' => Array('description' => 'Qenta Online bank transfer.', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'bancontact_mistercash', 'description' => 'Bancontact', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::BMC, - 'translation' => Array('description' => 'Wirecard Bancontact', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::BMC, + 'translation' => Array('description' => 'Qenta Bancontact', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'przelewy24', 'description' => 'Przelewy24', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::P24, - 'translation' => Array('description' => 'Wirecard Przelewy24', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::P24, + 'translation' => Array('description' => 'Qenta Przelewy24', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'moneta', 'description' => 'moneta.ru', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::MONETA, - 'translation' => Array('description' => 'Wirecard moneta.ru', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::MONETA, + 'translation' => Array('description' => 'Qenta moneta.ru', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'poli', 'description' => 'POLi', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::POLI, - 'translation' => Array('description' => 'Wirecard POLi', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::POLI, + 'translation' => Array('description' => 'Qenta POLi', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'pbx', 'description' => 'paybox', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::PBX, - 'translation' => Array('description' => 'Wirecard paybox', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::PBX, + 'translation' => Array('description' => 'Qenta paybox', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'psc', 'description' => 'paysafecard', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::PSC, - 'translation' => Array('description' => 'Wirecard paysafecard', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::PSC, + 'translation' => Array('description' => 'Qenta paysafecard', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'paypal', 'description' => 'PayPal', - 'call' => WirecardCEE_QMore_PaymentType::PAYPAL, - 'additionalDescription' => ' ', - 'translation' => Array('description' => 'Wirecard PayPal', 'additionalDescription' => '') + 'call' => QentaCEE_QMore_PaymentType::PAYPAL, + 'additionalDescription' => ' ', + 'translation' => Array('description' => 'Qenta PayPal', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'sepa-dd', 'description' => 'SEPA Lastschrift', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::SEPADD, - 'translation' => Array('description' => 'Wirecard SEPA Direct Debit', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::SEPADD, + 'translation' => Array('description' => 'Qenta SEPA Direct Debit', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'invoice', 'description' => 'Kauf auf Rechnung', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::INVOICE, - 'translation' => Array('description' => 'Wirecard Invoice', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::INVOICE, + 'translation' => Array('description' => 'Qenta Invoice', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'installment', 'description' => 'Kauf auf Raten', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::INSTALLMENT, - 'translation' => Array('description' => 'Wirecard Installment', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::INSTALLMENT, + 'translation' => Array('description' => 'Qenta Installment', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'skrillwallet', 'description' => 'Skrill Digital Wallet', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::SKRILLWALLET, - 'translation' => Array('description' => 'Wirecard Skrill Digital Wallet', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::SKRILLWALLET, + 'translation' => Array('description' => 'Qenta Skrill Digital Wallet', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'ekonto', 'description' => 'eKonto', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::EKONTO, - 'translation' => Array('description' => 'Wirecard eKonto', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::EKONTO, + 'translation' => Array('description' => 'Qenta eKonto', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'trustly', 'description' => 'Trustly', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::TRUSTLY, - 'translation' => Array('description' => 'Wirecard Trustly', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::TRUSTLY, + 'translation' => Array('description' => 'Qenta Trustly', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'ccard-moto', 'description' => 'Kreditkarte - Post / Telefonbestellung', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::CCARD_MOTO, - 'translation' => Array('description' => 'Wirecard Credit Card - Mail Order and Telephone Order', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::CCARD_MOTO, + 'translation' => Array('description' => 'Qenta Credit Card - Mail Order and Telephone Order', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'tatrapay', 'description' => 'TatraPay', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::TATRAPAY, - 'translation' => Array('description' => 'Wirecard TatraPay', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::TATRAPAY, + 'translation' => Array('description' => 'Qenta TatraPay', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'epay', 'description' => 'ePay.bg', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::EPAYBG, - 'translation' => Array('description' => 'Wirecard ePay.bg', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::EPAYBG, + 'translation' => Array('description' => 'Qenta ePay.bg', 'additionalDescription' => '') ); $pm[] = array( 'name' => 'voucher', 'description' => 'Gutschein', - 'additionalDescription' => ' ', - 'call' => WirecardCEE_QMore_PaymentType::VOUCHER, - 'translation' => Array('description' => 'Wirecard Voucher', 'additionalDescription' => '') + 'additionalDescription' => ' ', + 'call' => QentaCEE_QMore_PaymentType::VOUCHER, + 'translation' => Array('description' => 'Qenta Voucher', 'additionalDescription' => '') ); return $pm; @@ -754,7 +754,7 @@ public function __get($var = null) if (is_null($config)) { $config = Shopware()->Plugins() ->Frontend() - ->WirecardCheckoutSeamless() + ->QentaCheckoutSeamless() ->pluginConfig(); } $var = strtoupper($var); @@ -769,8 +769,8 @@ public function __get($var = null) } /** - * Customer will be informed by Wirecard via e-mail - * This must be configured in Wirecard backend + * Customer will be informed by Qenta via e-mail + * This must be configured in Qenta backend * * @return bool */ @@ -780,7 +780,7 @@ public function sendConfirmationOfPaymentMail() } /** - * Different prefixes for Wirecard CEE payment methods + * Different prefixes for Qenta CEE payment methods * * @param * $type @@ -791,20 +791,20 @@ public function getPrefix($type) { switch ($type) { case 'description': - return 'Wirecard '; + return 'Qenta '; case 'name': - return 'wirecard_'; + return 'qenta_'; } } /** - * Returns WirecardCheckoutSeamless Frontend URL for POST-Request + * Returns QentaCheckoutSeamless Frontend URL for POST-Request * * @return string */ - public function getWirecardCheckoutSeamlessFrontendInitURL() + public function getQentaCheckoutSeamlessFrontendInitURL() { - return 'https://secure.wirecard-cee.com/qmore/frontend/init'; + return 'https://secure.qenta-cee.com/qmore/frontend/init'; } /** @@ -816,16 +816,16 @@ public function getPluginVersion() { return Shopware()->Plugins() ->Frontend() - ->WirecardCheckoutSeamless() + ->QentaCheckoutSeamless() ->getVersion(); } /** - * Returns static WirecardCheckoutSeamless parameter + * Returns static QentaCheckoutSeamless parameter * * @return array */ - public function wirecardCheckoutSeamlessParameters() + public function qentaCheckoutSeamlessParameters() { return array( 'setDuplicateRequestCheck' => false @@ -843,7 +843,7 @@ public function getAutoDeposit() } /** - * Returns true if wirecard confirm mail is enabled + * Returns true if qenta confirm mail is enabled * * @return bool */ @@ -885,7 +885,7 @@ public function getPaymentStatusId($status = '') */ public function getPaymentMethodName($id = 0) { - $cacheId = 'wirecardcheckoutseamless_paymentmethods'; + $cacheId = 'qentacheckoutseamless_paymentmethods'; if (Shopware()->Cache()->test($cacheId)) { $paymentmeans = Shopware()->Cache()->load($cacheId); } else { @@ -941,24 +941,24 @@ public function hasPaymentMethodAdditionalInformations() /** - * Returns TRUE if return values by WirecardCheckoutSeamless should be saved + * Returns TRUE if return values by QentaCheckoutSeamless should be saved * * @return bool */ public function saveReturnValues() { - $saveresponse = $this->WIRECARD_SAVERESPONSE; + $saveresponse = $this->QENTA_SAVERESPONSE; return $saveresponse; } /** - * Returns database field for WirecardCheckoutSeamless return values + * Returns database field for QentaCheckoutSeamless return values * * @return string */ public function getReturnField() { - switch ($this->WIRECARD_SAVERESPONSE) { + switch ($this->QENTA_SAVERESPONSE) { case 2: return 'internalcomment'; case 3: diff --git a/Frontend/WirecardCheckoutSeamless/Models/Datastorage.php b/Frontend/QentaCheckoutSeamless/Models/Datastorage.php similarity index 64% rename from Frontend/WirecardCheckoutSeamless/Models/Datastorage.php rename to Frontend/QentaCheckoutSeamless/Models/Datastorage.php index 683b8a3..6150f90 100644 --- a/Frontend/WirecardCheckoutSeamless/Models/Datastorage.php +++ b/Frontend/QentaCheckoutSeamless/Models/Datastorage.php @@ -1,11 +1,11 @@ WirecardCheckoutSeamless(); - /** @var Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Config $config */ + /** @var Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Resources $seamless */ + $seamless = Shopware()->QentaCheckoutSeamless(); + /** @var Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Config $config */ $config = $seamless->Config(); - $dataStorageInit = new WirecardCEE_QMore_DataStorageClient(Array( + $dataStorageInit = new QentaCEE_QMore_DataStorageClient(Array( 'CUSTOMER_ID' => $config->CUSTOMERID, 'SHOP_ID' => $config->SHOPID, 'LANGUAGE' => Shopware()->Locale()->getLanguage(), @@ -105,8 +105,8 @@ public function initiate() try { $this->response = $dataStorageInit->initiate(); - if ($this->response->getStatus() == WirecardCEE_QMore_DataStorage_Response_Initiation::STATE_SUCCESS) { - $dataStorageRead = new WirecardCEE_QMore_DataStorage_Request_Read(Array( + if ($this->response->getStatus() == QentaCEE_QMore_DataStorage_Response_Initiation::STATE_SUCCESS) { + $dataStorageRead = new QentaCEE_QMore_DataStorage_Request_Read(Array( 'CUSTOMER_ID' => $config->CUSTOMERID, 'SHOP_ID' => $config->SHOPID, 'SECRET' => $config->SECRET, @@ -122,19 +122,19 @@ public function initiate() foreach($dsErrors AS $error) { if (strcmp('undefined', strtolower($error))) { - Shopware()->WirecardCheckoutSeamless()->wirecard_action = 'undefined'; + Shopware()->QentaCheckoutSeamless()->qenta_action = 'undefined'; } $msg[] = 'DataStorage: ' . $error->getConsumerMessage(); } - Shopware()->WirecardCheckoutSeamless()->wirecard_action = 'error_init'; - Shopware()->WirecardCheckoutSeamless()->wirecard_message = implode(', ', $msg); - Shopware()->Pluginlogger()->error('WirecardCheckoutSeamless: '.__METHOD__ . ':' . implode(', ', $msg)); + Shopware()->QentaCheckoutSeamless()->qenta_action = 'error_init'; + Shopware()->QentaCheckoutSeamless()->qenta_message = implode(', ', $msg); + Shopware()->Pluginlogger()->error('QentaCheckoutSeamless: '.__METHOD__ . ':' . implode(', ', $msg)); } } catch (Exception $e) { - if ($e instanceof WirecardCEE_Stdlib_Exception_ExceptionInterface) { - Shopware()->Pluginlogger()->error('WirecardCheckoutSeamless: '.__METHOD__ . ':' . $e->getMessage()); - Shopware()->WirecardCheckoutSeamless()->wirecard_action = 'error_init'; - Shopware()->WirecardCheckoutSeamless()->wirecard_message = $e->getMessage(); + if ($e instanceof QentaCEE_Stdlib_Exception_ExceptionInterface) { + Shopware()->Pluginlogger()->error('QentaCheckoutSeamless: '.__METHOD__ . ':' . $e->getMessage()); + Shopware()->QentaCheckoutSeamless()->qenta_action = 'error_init'; + Shopware()->QentaCheckoutSeamless()->qenta_message = $e->getMessage(); } else { throw $e; } @@ -143,18 +143,18 @@ public function initiate() } /** - * @return WirecardCEE_QMore_DataStorage_Response_Read + * @return QentaCEE_QMore_DataStorage_Response_Read * @throws Enlight_Exception * @throws Exception */ public function read() { - /** @var Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Resources $seamless */ - $seamless = Shopware()->WirecardCheckoutSeamless(); - /** @var Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Config $config */ + /** @var Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Resources $seamless */ + $seamless = Shopware()->QentaCheckoutSeamless(); + /** @var Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Config $config */ $config = $seamless->Config(); - $dataStorageRead = new WirecardCEE_QMore_DataStorage_Request_Read(Array( + $dataStorageRead = new QentaCEE_QMore_DataStorage_Request_Read(Array( 'CUSTOMER_ID' => $config->CUSTOMERID, 'SHOP_ID' => $config->SHOPID, 'SECRET' => $config->SECRET, @@ -163,10 +163,10 @@ public function read() try { - return $dataStorageRead->read(Shopware()->WirecardCheckoutSeamless()->storageId); + return $dataStorageRead->read(Shopware()->QentaCheckoutSeamless()->storageId); } catch (Exception $e) { - if ($e instanceof WirecardCEE_Stdlib_Exception_ExceptionInterface) { - Shopware()->Pluginlogger()->error('WirecardCheckoutSeamless: DataStorage Read: ' . $e->getMessage()); + if ($e instanceof QentaCEE_Stdlib_Exception_ExceptionInterface) { + Shopware()->Pluginlogger()->error('QentaCheckoutSeamless: DataStorage Read: ' . $e->getMessage()); throw new Enlight_Exception('DataStorage: ' . $e->getMessage()); } else { throw $e; @@ -189,7 +189,7 @@ public function getStorageId() } /** - * Returns WirecardCheckoutSeamless javascript url + * Returns QentaCheckoutSeamless javascript url * * @return mixed */ diff --git a/Frontend/WirecardCheckoutSeamless/Models/Resources.php b/Frontend/QentaCheckoutSeamless/Models/Resources.php similarity index 77% rename from Frontend/WirecardCheckoutSeamless/Models/Resources.php rename to Frontend/QentaCheckoutSeamless/Models/Resources.php index 57863dc..f84a0ab 100644 --- a/Frontend/WirecardCheckoutSeamless/Models/Resources.php +++ b/Frontend/QentaCheckoutSeamless/Models/Resources.php @@ -9,7 +9,7 @@ * Shop System Plugins - Terms of use * * This terms of use regulates warranty and liability between - * Wirecard Central Eastern Europe (subsequently referred to as WDCEE) + * Qenta Central Eastern Europe (subsequently referred to as WDCEE) * and it's contractual partners (subsequently referred to as customer or customers) * which are related to the use of plugins provided by WDCEE. * The Plugin is provided by WDCEE free of charge for it's customers and @@ -28,12 +28,12 @@ /** * class responsible for communication with Resources e.G. Components/Models */ -class Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Resources +class Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Resources { /** * Singleton pattern - only one instance of ourselves * - * @var Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Resources + * @var Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Resources */ private static $instance; @@ -46,14 +46,14 @@ private function __construct() /** - * Returns instance of Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Resources + * Returns instance of Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Resources * - * @return Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Resources + * @return Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Resources */ public static function getSingleton() { if (!isset(self::$instance)) { - self::$instance = new Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Resources(); + self::$instance = new Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Resources(); // Autoloader for lib } return self::$instance; @@ -71,10 +71,10 @@ public function __call($name = NULL, $arguments = NULL) { switch ($name) { case 'Loader': - $name = 'Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Components_' . $name; + $name = 'Shopware_Plugins_Frontend_QentaCheckoutSeamless_Components_' . $name; break; default: - $name = 'Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_' . $name; + $name = 'Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_' . $name; break; } @@ -97,7 +97,7 @@ public function __call($name = NULL, $arguments = NULL) */ public function __set($var = NULL, $val = NULL) { - Shopware()->Session()->_SESSION[Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Bootstrap::NAME][$var] = serialize($val); + Shopware()->Session()->_SESSION[Shopware_Plugins_Frontend_QentaCheckoutSeamless_Bootstrap::NAME][$var] = serialize($val); } /** @@ -107,8 +107,8 @@ public function __set($var = NULL, $val = NULL) */ public function __get($var = NULL) { - if (!empty($var) && isset(Shopware()->Session()->_SESSION[Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Bootstrap::NAME][$var])) { - return unserialize(Shopware()->Session()->_SESSION[Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Bootstrap::NAME][$var]); + if (!empty($var) && isset(Shopware()->Session()->_SESSION[Shopware_Plugins_Frontend_QentaCheckoutSeamless_Bootstrap::NAME][$var])) { + return unserialize(Shopware()->Session()->_SESSION[Shopware_Plugins_Frontend_QentaCheckoutSeamless_Bootstrap::NAME][$var]); } else { return NULL; @@ -137,14 +137,14 @@ public function getUser($key = '') /** * Returns short name of payment methods without prefix - * example: saved shortname wirecard_ccard returns ccard + * example: saved shortname qenta_ccard returns ccard * * @return null|string */ public function getPaymentShortName() { - $name = Shopware()->WirecardCheckoutSeamless()->getUser('payment')->name; - return (is_null($name)) ? NULL : substr($name, strlen(Shopware()->WirecardCheckoutSeamless()->Config()->getPrefix('name'))); + $name = Shopware()->QentaCheckoutSeamless()->getUser('payment')->name; + return (is_null($name)) ? NULL : substr($name, strlen(Shopware()->QentaCheckoutSeamless()->Config()->getPrefix('name'))); } diff --git a/Frontend/WirecardCheckoutSeamless/Models/Seamless.php b/Frontend/QentaCheckoutSeamless/Models/Seamless.php similarity index 60% rename from Frontend/WirecardCheckoutSeamless/Models/Seamless.php rename to Frontend/QentaCheckoutSeamless/Models/Seamless.php index a029d58..0995544 100644 --- a/Frontend/WirecardCheckoutSeamless/Models/Seamless.php +++ b/Frontend/QentaCheckoutSeamless/Models/Seamless.php @@ -3,7 +3,7 @@ * Shop System Plugins - Terms of use * * This terms of use regulates warranty and liability between - * Wirecard Central Eastern Europe (subsequently referred to as WDCEE) + * Qenta Central Eastern Europe (subsequently referred to as WDCEE) * and it's contractual partners (subsequently referred to as customer or customers) * which are related to the use of plugins provided by WDCEE. * The Plugin is provided by WDCEE free of charge for it's customers and @@ -22,15 +22,15 @@ /** - * class using the WirecardCheckoutSeamless Frontend interface + * class using the QentaCheckoutSeamless Frontend interface * */ -class Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Seamless +class Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Seamless { /** * Singleton pattern - only one instance of ourselves * - * @var Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Seamless + * @var Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Seamless */ private static $instance; @@ -43,31 +43,31 @@ private function __construct() } /** - * Returns instance of Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Config + * Returns instance of Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Config * - * @return Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Seamless + * @return Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Seamless */ public static function getSingleton() { if (!isset(self::$instance)) { - self::$instance = new Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Models_Seamless(); + self::$instance = new Shopware_Plugins_Frontend_QentaCheckoutSeamless_Models_Seamless(); } return self::$instance; } /** - * Initialize Wirecard library with common user and + * Initialize Qenta library with common user and * plugin config parameter * * @param $confirmUrl - * @return string|WirecardCEE_QMore_FrontendClient + * @return string|QentaCEE_QMore_FrontendClient */ public function initPayment($confirmUrl) { - $cfg = Shopware()->WirecardCheckoutSeamless()->Config(); + $cfg = Shopware()->QentaCheckoutSeamless()->Config(); - $init = new WirecardCEE_QMore_FrontendClient(array( + $init = new QentaCEE_QMore_FrontendClient(array( 'CUSTOMER_ID' => $cfg->customerid, 'SHOP_ID' => $cfg->shopid, 'SECRET' => $cfg->secret, @@ -77,14 +77,14 @@ public function initPayment($confirmUrl) $init->setPluginVersion($this->getPluginVersion()); $init->setConfirmUrl($confirmUrl); - $init->setOrderReference(Shopware()->WirecardCheckoutSeamless()->wWirecardCheckoutSeamlessId); + $init->setOrderReference(Shopware()->QentaCheckoutSeamless()->wQentaCheckoutSeamlessId); if(Shopware()->Session()->offsetGet('wcsConsumerDeviceId') != null) { $init->consumerDeviceId = Shopware()->Session()->offsetGet('wcsConsumerDeviceId'); //default set to null, but no effect Shopware()->Session()->offsetSet('wcsConsumerDeviceId', null); } - foreach ($cfg->wirecardCheckoutSeamlessParameters() as $action => $value) { + foreach ($cfg->qentaCheckoutSeamlessParameters() as $action => $value) { if (!is_null($value)) { $init = $init->$action($value); } @@ -94,12 +94,12 @@ public function initPayment($confirmUrl) $init->setConfirmMail(Shopware()->Config()->mail); } - if (in_array(Shopware()->WirecardCheckoutSeamless()->getPaymentShortName(), $cfg->getPaymentsSeamless()) && Shopware()->WirecardCheckoutSeamless()->storageId) { - $init->setStorageReference(Shopware()->SessionID(), Shopware()->WirecardCheckoutSeamless()->storageId); + if (in_array(Shopware()->QentaCheckoutSeamless()->getPaymentShortName(), $cfg->getPaymentsSeamless()) && Shopware()->QentaCheckoutSeamless()->storageId) { + $init->setStorageReference(Shopware()->SessionID(), Shopware()->QentaCheckoutSeamless()->storageId); } - if (in_array(Shopware()->WirecardCheckoutSeamless()->getPaymentShortName(), $cfg->getPaymentsFinancialInstitution())) { - $init->setFinancialInstitution(Shopware()->WirecardCheckoutSeamless()->financialInstitution); + if (in_array(Shopware()->QentaCheckoutSeamless()->getPaymentShortName(), $cfg->getPaymentsFinancialInstitution())) { + $init->setFinancialInstitution(Shopware()->QentaCheckoutSeamless()->financialInstitution); } return $init; @@ -117,11 +117,11 @@ public function initPayment($confirmUrl) */ public function getResponse($paymentType, $amount, $currencyShortName, $urls, $params = array()) { - Shopware()->Pluginlogger()->info('WirecardCheckoutSeamless: '.$urls['confirm']); + Shopware()->Pluginlogger()->info('QentaCheckoutSeamless: '.$urls['confirm']); $init = $this->initPayment($urls['confirm']); - // add custom params, will be send back by wirecard + // add custom params, will be send back by qenta foreach ($params as $k => $v) $init->$k = $v; @@ -135,40 +135,40 @@ public function getResponse($paymentType, $amount, $currencyShortName, $urls, $p ->setPendingUrl($urls['pending']) ->setCancelUrl($urls['cancel']) ->setFailureUrl($urls['failure']) - ->setServiceUrl(Shopware()->WirecardCheckoutSeamless()->Config()->service_url) + ->setServiceUrl(Shopware()->QentaCheckoutSeamless()->Config()->service_url) ->createConsumerMerchantCrmId($userData['additional']['user']['email']) ->setConsumerData($this->getConsumerData($paymentType)); - $reservedItems = Shopware()->Session()->offsetGet('WirecardWCSReservedBasketItems'); + $reservedItems = Shopware()->Session()->offsetGet('QentaWCSReservedBasketItems'); if (is_array($reservedItems) && count($reservedItems) > 0) { $init->reservedItems = base64_encode(serialize($reservedItems)); - Shopware()->Session()->offsetUnset('WirecardWCSReservedBasketItems'); + Shopware()->Session()->offsetUnset('QentaWCSReservedBasketItems'); } - if (Shopware()->WirecardCheckoutSeamless()->Config()->SEND_BASKET_DATA - || ($paymentType == WirecardCEE_QMore_PaymentType::INSTALLMENT && Shopware()->WirecardCheckoutSeamless()->Config()->INSTALLMENT_PROVIDER != 'payolution') - || ($paymentType == WirecardCEE_QMore_PaymentType::INVOICE && Shopware()->WirecardCheckoutSeamless()->Config()->INVOICE_PROVIDER != 'payolution') + if (Shopware()->QentaCheckoutSeamless()->Config()->SEND_BASKET_DATA + || ($paymentType == QentaCEE_QMore_PaymentType::INSTALLMENT && Shopware()->QentaCheckoutSeamless()->Config()->INSTALLMENT_PROVIDER != 'payolution') + || ($paymentType == QentaCEE_QMore_PaymentType::INVOICE && Shopware()->QentaCheckoutSeamless()->Config()->INVOICE_PROVIDER != 'payolution') ) { $init->setBasket($this->getShoppingBasket()); } - if(Shopware()->WirecardCheckoutSeamless()->Config()->ENABLE_DUPLICATE_REQUEST_CHECK) + if(Shopware()->QentaCheckoutSeamless()->Config()->ENABLE_DUPLICATE_REQUEST_CHECK) $init->setDuplicateRequestCheck(true); $customerStatement = sprintf( '%9s', substr(Shopware()->Config()->get('ShopName'), 0, 9)); - if ($paymentType != WirecardCEE_QMore_PaymentType::POLI){ - $customerStatement .= ' '.Shopware()->WirecardCheckoutSeamless()->wWirecardCheckoutSeamlessId; + if ($paymentType != QentaCEE_QMore_PaymentType::POLI){ + $customerStatement .= ' '.Shopware()->QentaCheckoutSeamless()->wQentaCheckoutSeamlessId; } $init->setCustomerStatement($customerStatement); - Shopware()->Pluginlogger()->info('WirecardCheckoutSeamless: '.__METHOD__ . ':' . print_r($init->getRequestData(),true)); + Shopware()->Pluginlogger()->info('QentaCheckoutSeamless: '.__METHOD__ . ':' . print_r($init->getRequestData(),true)); try { return $init->initiate(); } catch (\Exception $e) { - Shopware()->Pluginlogger()->error('WirecardCheckoutSeamless: '.__METHOD__ . ':' . $e->getMessage()); - Shopware()->WirecardCheckoutSeamless()->wirecard_action = 'failure'; - Shopware()->WirecardCheckoutSeamless()->wirecard_message = $e->getMessage(); + Shopware()->Pluginlogger()->error('QentaCheckoutSeamless: '.__METHOD__ . ':' . $e->getMessage()); + Shopware()->QentaCheckoutSeamless()->qenta_action = 'failure'; + Shopware()->QentaCheckoutSeamless()->qenta_message = $e->getMessage(); } return null; @@ -186,24 +186,24 @@ protected function getPluginVersion() $shopversion = '>5.2.21'; } - return WirecardCEE_QMore_FrontendClient::generatePluginVersion( + return QentaCEE_QMore_FrontendClient::generatePluginVersion( 'Shopware', $shopversion, - Shopware_Plugins_Frontend_WirecardCheckoutSeamless_Bootstrap::NAME, - Shopware()->WirecardCheckoutSeamless()->Config()->getPluginVersion() + Shopware_Plugins_Frontend_QentaCheckoutSeamless_Bootstrap::NAME, + Shopware()->QentaCheckoutSeamless()->Config()->getPluginVersion() ); } /** - * Returns desription of customer - will be displayed in Wirecard backend + * Returns desription of customer - will be displayed in Qenta backend * @return string */ public function getUserDescription() { return sprintf('%s %s %s', - Shopware()->WirecardCheckoutSeamless()->getUser('user')->email, - Shopware()->WirecardCheckoutSeamless()->getUser('billingaddress')->firstname, - Shopware()->WirecardCheckoutSeamless()->getUser('billingaddress')->lastname + Shopware()->QentaCheckoutSeamless()->getUser('user')->email, + Shopware()->QentaCheckoutSeamless()->getUser('billingaddress')->firstname, + Shopware()->QentaCheckoutSeamless()->getUser('billingaddress')->lastname ); } @@ -211,20 +211,20 @@ public function getUserDescription() * Returns customer object * * @param $paymentType - * @return WirecardCEE_Stdlib_ConsumerData + * @return QentaCEE_Stdlib_ConsumerData */ public function getConsumerData($paymentType) { - $consumerData = new WirecardCEE_Stdlib_ConsumerData(); + $consumerData = new QentaCEE_Stdlib_ConsumerData(); $consumerData = $consumerData->setIpAddress($_SERVER['REMOTE_ADDR']); $consumerData = $consumerData->setUserAgent($_SERVER['HTTP_USER_AGENT']); - if (Shopware()->WirecardCheckoutSeamless()->Config()->send_additional_data - || $paymentType == WirecardCEE_QMore_PaymentType::INSTALLMENT - || $paymentType == WirecardCEE_QMore_PaymentType::INVOICE - || $paymentType == WirecardCEE_QMore_PaymentType::P24 + if (Shopware()->QentaCheckoutSeamless()->Config()->send_additional_data + || $paymentType == QentaCEE_QMore_PaymentType::INSTALLMENT + || $paymentType == QentaCEE_QMore_PaymentType::INVOICE + || $paymentType == QentaCEE_QMore_PaymentType::P24 ) { - $consumerData = $consumerData->setEmail(Shopware()->WirecardCheckoutSeamless()->getUser('user')->email); + $consumerData = $consumerData->setEmail(Shopware()->QentaCheckoutSeamless()->getUser('user')->email); $consumerData = $consumerData->addAddressInformation($this->getAddress('billing')); $consumerData = $consumerData->addAddressInformation($this->getAddress('shipping')); @@ -237,23 +237,23 @@ public function getConsumerData($paymentType) } } } - Shopware()->Pluginlogger()->info('WirecardCheckoutSeamless: '.__METHOD__ . ':' . print_r($consumerData,true)); + Shopware()->Pluginlogger()->info('QentaCheckoutSeamless: '.__METHOD__ . ':' . print_r($consumerData,true)); return $consumerData; } /** * Returns basket including basket items * - * @return WirecardCEE_Stdlib_Basket + * @return QentaCEE_Stdlib_Basket */ protected function getShoppingBasket() { - $basket = new WirecardCEE_Stdlib_Basket(); + $basket = new QentaCEE_Stdlib_Basket(); $basketContent = Shopware()->Session()->sOrderVariables['sBasket']; // Shopware uses fix precision (2) for number_format foreach ( $basketContent['content'] as $cart_item_key => $cart_item) { - $item = new WirecardCEE_Stdlib_Basket_Item($cart_item['articleID']); + $item = new QentaCEE_Stdlib_Basket_Item($cart_item['articleID']); $item->setUnitGrossAmount($cart_item['price']) ->setUnitNetAmount(number_format($cart_item['netprice'], 2, '.', '')) ->setUnitTaxAmount(number_format($cart_item['price'] - $cart_item['netprice'], 2, '.', '')) @@ -266,7 +266,7 @@ protected function getShoppingBasket() } if (isset($basketContent['sShippingcosts']) && $basketContent['sShippingcosts'] > 0) { - $item = new WirecardCEE_Stdlib_Basket_Item('shipping'); + $item = new QentaCEE_Stdlib_Basket_Item('shipping'); $item->setUnitGrossAmount($basketContent['sShippingcostsWithTax']) ->setUnitNetAmount($basketContent['sShippingcostsNet']) ->setUnitTaxRate($basketContent['sShippingcostsTax']) @@ -283,33 +283,33 @@ protected function getShoppingBasket() * Returns address object * * @param string $type - * @return WirecardCEE_Stdlib_ConsumerData_Address + * @return QentaCEE_Stdlib_ConsumerData_Address */ protected function getAddress($type = 'billing') { $prefix = $type . 'address'; 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); break; 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); break; } - $address = $address->setFirstname(Shopware()->WirecardCheckoutSeamless()->getUser($prefix)->firstname); - $address = $address->setLastname(Shopware()->WirecardCheckoutSeamless()->getUser($prefix)->lastname); - $address = $address->setAddress1(Shopware()->WirecardCheckoutSeamless()->getUser($prefix)->street . ' ' . Shopware()->WirecardCheckoutSeamless()->getUser($prefix)->streetnumber); - $address = $address->setZipCode(Shopware()->WirecardCheckoutSeamless()->getUser($prefix)->zipcode); - $address = $address->setCity(Shopware()->WirecardCheckoutSeamless()->getUser($prefix)->city); + $address = $address->setFirstname(Shopware()->QentaCheckoutSeamless()->getUser($prefix)->firstname); + $address = $address->setLastname(Shopware()->QentaCheckoutSeamless()->getUser($prefix)->lastname); + $address = $address->setAddress1(Shopware()->QentaCheckoutSeamless()->getUser($prefix)->street . ' ' . Shopware()->QentaCheckoutSeamless()->getUser($prefix)->streetnumber); + $address = $address->setZipCode(Shopware()->QentaCheckoutSeamless()->getUser($prefix)->zipcode); + $address = $address->setCity(Shopware()->QentaCheckoutSeamless()->getUser($prefix)->city); switch ($type) { case 'billing': - $address = $address->setCountry(Shopware()->WirecardCheckoutSeamless()->getUser('country')->countryiso); - $address = $address->setPhone(Shopware()->WirecardCheckoutSeamless()->getUser($prefix)->phone); + $address = $address->setCountry(Shopware()->QentaCheckoutSeamless()->getUser('country')->countryiso); + $address = $address->setPhone(Shopware()->QentaCheckoutSeamless()->getUser($prefix)->phone); break; case 'shipping': - $address = $address->setCountry(Shopware()->WirecardCheckoutSeamless()->getUser('countryShipping')->countryiso); + $address = $address->setCountry(Shopware()->QentaCheckoutSeamless()->getUser('countryShipping')->countryiso); break; } return $address; diff --git a/Frontend/WirecardCheckoutSeamless/Views/frontend/_resources/javascript/wirecard_seamless.js b/Frontend/QentaCheckoutSeamless/Views/frontend/_resources/javascript/wirecard_seamless.js similarity index 88% rename from Frontend/WirecardCheckoutSeamless/Views/frontend/_resources/javascript/wirecard_seamless.js rename to Frontend/QentaCheckoutSeamless/Views/frontend/_resources/javascript/wirecard_seamless.js index 864d084..ca1e7ae 100644 --- a/Frontend/WirecardCheckoutSeamless/Views/frontend/_resources/javascript/wirecard_seamless.js +++ b/Frontend/QentaCheckoutSeamless/Views/frontend/_resources/javascript/wirecard_seamless.js @@ -1,4 +1,4 @@ -var wirecardPayment = { +var qentaPayment = { pci3Iframes: {}, init: function () { @@ -11,10 +11,10 @@ var wirecardPayment = { if (typeof WirecardCEE_DataStorage !== "undefined") { var wdcee = new WirecardCEE_DataStorage(); - if ($('#wirecardccardIframeContainer').length > 0) { - this.pci3Iframes.ccard = wdcee.buildIframeCreditCard('wirecardccardIframeContainer', '700px', '200px'); - } else if ($('#wirecardccard-motoIframeContainer').length > 0) { - this.pci3Iframes.ccard = wdcee.buildIframeCreditCard('wirecardccard-motoIframeContainer', '700px', '200px'); + if ($('#qentaccardIframeContainer').length > 0) { + this.pci3Iframes.ccard = wdcee.buildIframeCreditCard('qentaccardIframeContainer', '700px', '200px'); + } else if ($('#qentaccard-motoIframeContainer').length > 0) { + this.pci3Iframes.ccard = wdcee.buildIframeCreditCard('qentaccard-motoIframeContainer', '700px', '200px'); } } }, @@ -79,7 +79,7 @@ var wirecardPayment = { { $.ajax({ type: "POST", - url: wirecardDatastorageReadUrl, + url: qentaDatastorageReadUrl, dataType: 'json', contentType: 'application/json' }).done(function(ret) { @@ -91,6 +91,6 @@ var wirecardPayment = { $(document).ready(function() { - wirecardPayment.init(); + qentaPayment.init(); }); diff --git a/Frontend/WirecardCheckoutSeamless/Views/frontend/_resources/javascript/wirecardcee.js b/Frontend/QentaCheckoutSeamless/Views/frontend/_resources/javascript/wirecardcee.js similarity index 92% rename from Frontend/WirecardCheckoutSeamless/Views/frontend/_resources/javascript/wirecardcee.js rename to Frontend/QentaCheckoutSeamless/Views/frontend/_resources/javascript/wirecardcee.js index 90b8fda..0c92c8b 100644 --- a/Frontend/WirecardCheckoutSeamless/Views/frontend/_resources/javascript/wirecardcee.js +++ b/Frontend/QentaCheckoutSeamless/Views/frontend/_resources/javascript/wirecardcee.js @@ -24,11 +24,11 @@ function checkoutSubmit() var paymentType = $('#wd_payment_fields').find('[name="paymentType"]').val(); if(paymentType == 'ccard' || paymentType == 'ccard-moto' || paymentType == 'maestro' || paymentType == 'elv' || paymentType == 'sepa-dd' || paymentType == 'giropay' || paymentType == 'pbx' || paymentType == 'voucher') { - var ret = wirecardPayment.usePaymentGateway(function(state) { + var ret = qentaPayment.usePaymentGateway(function(state) { if(state != 0) { // suppress errors in iframe mode - if (wirecardPayment.hasIframe(paymentType)) { + if (qentaPayment.hasIframe(paymentType)) { return; } for(x in state) @@ -53,7 +53,7 @@ function checkoutSubmit() // no postMessage support, issue a read request and check if valid paymentdata is available if (ret === null) { - wirecardPayment.datastorageRead(function (data) { + qentaPayment.datastorageRead(function (data) { if (data.status == 1) { $('#basketButton').parents('form:first').submit(); } else { @@ -138,7 +138,7 @@ function saveOrder() } catch (ex) { - document.location.href = wirecard; + document.location.href = qenta; } } } @@ -148,7 +148,7 @@ function saveOrder() //alert(XMLHTTP.responseText); if(XMLHTTP.status != 200) { - document.location.href = wirecardCheckoutConfirmUrl; + document.location.href = qentaCheckoutConfirmUrl; } else { @@ -170,12 +170,12 @@ function saveOrder() } else { - document.location.href = wirecardCheckoutConfirmUrl; + document.location.href = qentaCheckoutConfirmUrl; } } } } - XMLHTTP.open('GET', wirecardSaveOrderUrl); + XMLHTTP.open('GET', qentaSaveOrderUrl); XMLHTTP.send(); } diff --git a/Frontend/WirecardCheckoutSeamless/Views/frontend/_resources/styles/iframe.css b/Frontend/QentaCheckoutSeamless/Views/frontend/_resources/styles/iframe.css similarity index 100% rename from Frontend/WirecardCheckoutSeamless/Views/frontend/_resources/styles/iframe.css rename to Frontend/QentaCheckoutSeamless/Views/frontend/_resources/styles/iframe.css diff --git a/Frontend/WirecardCheckoutSeamless/Views/frontend/_resources/styles/wirecard.css b/Frontend/QentaCheckoutSeamless/Views/frontend/_resources/styles/wirecard.css similarity index 81% rename from Frontend/WirecardCheckoutSeamless/Views/frontend/_resources/styles/wirecard.css rename to Frontend/QentaCheckoutSeamless/Views/frontend/_resources/styles/wirecard.css index a3ae53b..018fd27 100644 --- a/Frontend/WirecardCheckoutSeamless/Views/frontend/_resources/styles/wirecard.css +++ b/Frontend/QentaCheckoutSeamless/Views/frontend/_resources/styles/wirecard.css @@ -1,8 +1,8 @@ -#wirecard_errormessages { +#qenta_errormessages { font-weight: bold; text-align: center; } -div.wirecard_selectfi { +div.qenta_selectfi { text-align: center; font-weight: bold;; } @@ -52,7 +52,7 @@ div.wirecard_selectfi { width: 230px; } -.wirecard_ccard, .wirecard_maestro, .wirecard_ccard-moto { +.qenta_ccard, .qenta_maestro, .qenta_ccard-moto { height:50px; } @@ -67,27 +67,27 @@ div.wirecard_selectfi { z-index:100; } -div.wirecard_inner_container_financialInstitutions { +div.qenta_inner_container_financialInstitutions { height: 57px; margin-bottom: 8px !important; } -#wirecardBasketButton { +#qentaBasketButton { position: relative; right: 36px; top: -8px; } -div.wirecard_inner_container_ccard { +div.qenta_inner_container_ccard { width: 520px; } -#content .finish .wirecard_pending { +#content .finish .qenta_pending { font-weight: bold; margin-bottom: 4px; } -#content .finish .wirecard_pending h2 { +#content .finish .qenta_pending h2 { margin-bottom: 4px; } diff --git a/Frontend/WirecardCheckoutSeamless/Views/frontend/checkout/dsStoreReturn.tpl b/Frontend/QentaCheckoutSeamless/Views/frontend/checkout/dsStoreReturn.tpl similarity index 86% rename from Frontend/WirecardCheckoutSeamless/Views/frontend/checkout/dsStoreReturn.tpl rename to Frontend/QentaCheckoutSeamless/Views/frontend/checkout/dsStoreReturn.tpl index d11b156..9248802 100644 --- a/Frontend/WirecardCheckoutSeamless/Views/frontend/checkout/dsStoreReturn.tpl +++ b/Frontend/QentaCheckoutSeamless/Views/frontend/checkout/dsStoreReturn.tpl @@ -17,8 +17,8 @@ } -

Foo:

{$wirecardResponse}
- +

Foo:

{$qentaResponse}
+ \ No newline at end of file diff --git a/Frontend/WirecardCheckoutSeamless/Views/frontend/checkout/return.tpl b/Frontend/QentaCheckoutSeamless/Views/frontend/checkout/return.tpl similarity index 72% rename from Frontend/WirecardCheckoutSeamless/Views/frontend/checkout/return.tpl rename to Frontend/QentaCheckoutSeamless/Views/frontend/checkout/return.tpl index 6cd9196..3ef50e2 100644 --- a/Frontend/WirecardCheckoutSeamless/Views/frontend/checkout/return.tpl +++ b/Frontend/QentaCheckoutSeamless/Views/frontend/checkout/return.tpl @@ -29,7 +29,7 @@ {/block} {block name="frontend_index_header_javascript"} - + + {if $qentaAdditional eq 'seamless'} + {/if} - - + + {/block} @@ -23,22 +23,22 @@ -
-