diff --git a/src/bb-locale/en_US/LC_MESSAGES/messages.po b/src/bb-locale/en_US/LC_MESSAGES/messages.po index 4b730e040..01974b27b 100644 --- a/src/bb-locale/en_US/LC_MESSAGES/messages.po +++ b/src/bb-locale/en_US/LC_MESSAGES/messages.po @@ -1,11 +1,11 @@ # en_US translation of BoxBilling Application -# Copyright 2011 -2015 BoxBilling +# Copyright 2011-2021 BoxBilling # msgid "" msgstr "" "Project-Id-Version: 4\n" "POT-Creation-Date: 2015-02-27 08:07+0000\n" -"PO-Revision-Date: 2020-11-27 20:45+0300\n" +"PO-Revision-Date: 2021-08-10 09:00+0300\n" "Language-Team: BoxBilling TM \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -628,9 +628,6 @@ msgstr "" msgid "Redirecting to PayPal.com" msgstr "" -msgid "Redirecting to Payza.com" -msgstr "" - msgid "Redirecting to 2Checkout.com" msgstr "" @@ -6108,18 +6105,6 @@ msgstr "" msgid "Solved tickets" msgstr "" -msgid "" -"Payment gateway \"AlertPay\" is not configured properly. Please update " -"configuration parameter \"AlertPay Email address\" at \"Configuration -> " -"Payments\"." -msgstr "" - -msgid "" -"Payment gateway \"AlertPay\" is not configured properly. Please update " -"configuration parameter \"IPN Security Code\" at \"Configuration -> Payments" -"\"." -msgstr "" - msgid "Not implemented yet" msgstr "" @@ -6189,21 +6174,6 @@ msgid "" "Payments\"." msgstr "" -msgid "PHP Curl extension must be enabled in order to use Payza gateway" -msgstr "" - -msgid "" -"Payment gateway \"Payza\" is not configured properly. Please update " -"configuration parameter \"Payza Email address\" at \"Configuration -> " -"Payments\"." -msgstr "" - -msgid "" -"Payment gateway \"Payza\" is not configured properly. Please update " -"configuration parameter \"IPN Security Code\" at \"Configuration -> Payments" -"\"." -msgstr "" - msgid "" "Payment gateway \"2Checkout\" is not configured properly. Please update " "configuration parameter \"Vendor account number\" at \"Configuration -> " @@ -6230,19 +6200,6 @@ msgstr "" msgid "WebMoney IPN is not valid" msgstr "" -msgid "" -"Payment gateway \"WebToPay\" is not configured properly. Please update " -"configuration parameter \"Project ID\" at \"Configuration -> Payments\"." -msgstr "" - -msgid "" -"Payment gateway \"WebToPay\" is not configured properly. Please update " -"configuration parameter \"Sign Password\" at \"Configuration -> Payments\"." -msgstr "" - -msgid "WebToPay payment gateway do not support recurrent payments" -msgstr "" - msgid "Return URL for payment gateway was not set" msgstr "" diff --git a/src/bb-locale/messages.pot b/src/bb-locale/messages.pot index cb14832b2..51750a849 100644 --- a/src/bb-locale/messages.pot +++ b/src/bb-locale/messages.pot @@ -1,5 +1,5 @@ # en_US translation of BoxBilling Application -# Copyright 2011 -2015 BoxBilling +# Copyright 2011-2021 BoxBilling # #, fuzzy msgid "" @@ -627,9 +627,6 @@ msgstr "" msgid "Redirecting to PayPal.com" msgstr "" -msgid "Redirecting to Payza.com" -msgstr "" - msgid "Redirecting to 2Checkout.com" msgstr "" @@ -6107,18 +6104,6 @@ msgstr "" msgid "Solved tickets" msgstr "" -msgid "" -"Payment gateway \"AlertPay\" is not configured properly. Please update " -"configuration parameter \"AlertPay Email address\" at \"Configuration -> " -"Payments\"." -msgstr "" - -msgid "" -"Payment gateway \"AlertPay\" is not configured properly. Please update " -"configuration parameter \"IPN Security Code\" at \"Configuration -> Payments" -"\"." -msgstr "" - msgid "Not implemented yet" msgstr "" @@ -6188,21 +6173,6 @@ msgid "" "Payments\"." msgstr "" -msgid "PHP Curl extension must be enabled in order to use Payza gateway" -msgstr "" - -msgid "" -"Payment gateway \"Payza\" is not configured properly. Please update " -"configuration parameter \"Payza Email address\" at \"Configuration -> " -"Payments\"." -msgstr "" - -msgid "" -"Payment gateway \"Payza\" is not configured properly. Please update " -"configuration parameter \"IPN Security Code\" at \"Configuration -> Payments" -"\"." -msgstr "" - msgid "" "Payment gateway \"2Checkout\" is not configured properly. Please update " "configuration parameter \"Vendor account number\" at \"Configuration -> " @@ -6229,19 +6199,6 @@ msgstr "" msgid "WebMoney IPN is not valid" msgstr "" -msgid "" -"Payment gateway \"WebToPay\" is not configured properly. Please update " -"configuration parameter \"Project ID\" at \"Configuration -> Payments\"." -msgstr "" - -msgid "" -"Payment gateway \"WebToPay\" is not configured properly. Please update " -"configuration parameter \"Sign Password\" at \"Configuration -> Payments\"." -msgstr "" - -msgid "WebToPay payment gateway do not support recurrent payments" -msgstr "" - msgid "Return URL for payment gateway was not set" msgstr "" diff --git a/src/bb-themes/huraga/assets/css/logos.css b/src/bb-themes/huraga/assets/css/logos.css index 9d256382c..aaef094d2 100644 --- a/src/bb-themes/huraga/assets/css/logos.css +++ b/src/bb-themes/huraga/assets/css/logos.css @@ -6,14 +6,6 @@ border: 0; margin: 10px; } -.logo-AlertPay{ - background: transparent url("../img/gateway_logos/alertpay.png") no-repeat scroll 0% 0%; - background-size: contain; - width:120px; - height: 25px; - border: 0; - margin: 10px; -} .logo-AliPay{ background: transparent url("../img/gateway_logos/alipay.png") no-repeat scroll 0% 0%; background-size: contain; @@ -78,14 +70,6 @@ border: 0; margin: 10px; } -.logo-Payza{ - background: transparent url("../img/gateway_logos/payza.png") no-repeat scroll 0% 0%; - background-size: contain; - width:100px; - height: 25px; - border: 0; - margin: 10px; -} .logo-TwoCheckout{ background: transparent url("../img/gateway_logos/twocheckout.png") no-repeat scroll 0% 0%; background-size: contain; @@ -110,19 +94,3 @@ border: 0; margin: 10px; } -.logo-WebToPay{ - background: transparent url("../img/gateway_logos/webtopay.png") no-repeat scroll 0% 0%; - background-size: contain; - width:135px; - height: 25px; - border: 0; - margin: 10px; -} -.logo-SimplePay{ - background: transparent url("../img/gateway_logos/simplepay.png") no-repeat scroll 0% 0%; - background-size: contain; - width:130px; - height: 30px; - border: 0; - margin: 10px; -} diff --git a/src/bb-themes/huraga/assets/img/gateway_logos/alertpay.png b/src/bb-themes/huraga/assets/img/gateway_logos/alertpay.png deleted file mode 100644 index 88df0736c..000000000 Binary files a/src/bb-themes/huraga/assets/img/gateway_logos/alertpay.png and /dev/null differ diff --git a/src/bb-themes/huraga/assets/img/gateway_logos/payza.png b/src/bb-themes/huraga/assets/img/gateway_logos/payza.png deleted file mode 100644 index ec71861ae..000000000 Binary files a/src/bb-themes/huraga/assets/img/gateway_logos/payza.png and /dev/null differ diff --git a/src/bb-themes/huraga/assets/img/gateway_logos/simplepay.png b/src/bb-themes/huraga/assets/img/gateway_logos/simplepay.png deleted file mode 100644 index 1ea0d360a..000000000 Binary files a/src/bb-themes/huraga/assets/img/gateway_logos/simplepay.png and /dev/null differ diff --git a/src/bb-themes/huraga/assets/img/gateway_logos/webtopay.png b/src/bb-themes/huraga/assets/img/gateway_logos/webtopay.png deleted file mode 100644 index 63e1e69e9..000000000 Binary files a/src/bb-themes/huraga/assets/img/gateway_logos/webtopay.png and /dev/null differ diff --git a/src/bb-update.php b/src/bb-update.php index 52044788d..54c1edf32 100644 --- a/src/bb-update.php +++ b/src/bb-update.php @@ -10,13 +10,19 @@ * with this source code in the file LICENSE */ + /** - * Unnamed new release + * 4.22 betas */ class BBPatch_24 extends BBPatchAbstract { public function patch() { + // Clearing leftovers from deleted payment adapters + $q = "DELETE FROM `pay_gateway` WHERE `gateway` = 'AlertPay' OR `gateway` = 'WebToPay' OR `gateway` = 'Payza' OR `gateway` = 'SinglePay'"; + $this->execSql($q); + + // Setting up the new custom pages extension $q = "CREATE TABLE IF NOT EXISTS `custom_pages` (`id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(255) NOT NULL, `description` varchar(555) NOT NULL, `keywords` varchar(555) NOT NULL, `content` text NOT NULL, `slug` varchar(255) NOT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`id`)) ENGINE=MyISAM DEFAULT CHARSET=utf8"; $this->execSql($q); } diff --git a/src/install/sql/content.sql b/src/install/sql/content.sql index 182aed388..46c879e0b 100644 --- a/src/install/sql/content.sql +++ b/src/install/sql/content.sql @@ -232,8 +232,7 @@ LOCK TABLES `pay_gateway` WRITE; INSERT INTO `pay_gateway` (`id`, `name`, `gateway`, `accepted_currencies`, `enabled`, `allow_single`, `allow_recurrent`, `test_mode`, `config`) VALUES (1,'Custom','Custom',NULL,1,1,1,0,NULL), - (2,'PayPal','PayPalEmail',NULL,0,1,1,0,NULL), - (3,'AlertPay','AlertPay',NULL,0,1,1,0,NULL); + (2,'PayPal','PayPalEmail',NULL,0,1,1,0,NULL); /*!40000 ALTER TABLE `pay_gateway` ENABLE KEYS */; UNLOCK TABLES; diff --git a/src/install/sql/content_test.sql b/src/install/sql/content_test.sql index 12befc502..68ea6c167 100644 --- a/src/install/sql/content_test.sql +++ b/src/install/sql/content_test.sql @@ -363,9 +363,7 @@ VALUES (1,'Custom payment gateway','Custom',NULL,1,1,1,0,'{\"single\":\"Transfer {{invoice.total}} {{invoice.currency}}\", \"recurrent\":\"Recurrent payment information\"}'), (2,'BankLink','Custom',NULL,1,1,1,0,'{\"single\":\"Transfer {{invoice.total}} {{invoice.currency}}\", \"recurrent\":\"Recurrent payment information\"}'), (3,'Authorize.net','AuthorizeNet',NULL,0,1,1,0,NULL), - (4,'PayPal','PayPalEmail',NULL,1,1,1,0,'{\"email\":\"sales@boxbilling.com\"}'), - (5,'WebToPay','WebToPay',NULL,0,1,1,1,NULL), - (6,'AlertPay','AlertPay',NULL,0,1,1,0,NULL); + (4,'PayPal','PayPalEmail',NULL,1,1,1,0,'{\"email\":\"sales@boxbilling.com\"}'); /*!40000 ALTER TABLE `pay_gateway` ENABLE KEYS */; UNLOCK TABLES; diff --git a/tests/bb-modules/Invoice/ServiceTransactionTest.php b/tests/bb-modules/Invoice/ServiceTransactionTest.php index 80d0668c2..60170a848 100644 --- a/tests/bb-modules/Invoice/ServiceTransactionTest.php +++ b/tests/bb-modules/Invoice/ServiceTransactionTest.php @@ -489,13 +489,10 @@ class ServiceTransactionTest extends \BBTestCase public function paymentsAdapterProvider_withoutProcessTransaction() { return array( - array('\Payment_Adapter_AlertPay'), array('\Payment_Adapter_AliPay'), array('\Payment_Adapter_AuthorizeNet'), array('\Payment_Adapter_Interkassa'), array('\Payment_Adapter_Onebip'), - array('\Payment_Adapter_Payza'), - array('\Payment_Adapter_WebToPay'), array('\Payment_Adapter_Custom'), ); } @@ -675,4 +672,4 @@ class ServiceTransactionTest extends \BBTestCase } - \ No newline at end of file +