Merge pull request #941 from boxbilling/evrifaessa-patch-1

Removed leftovers of AlertPay, SinglePay, WebToPay and Payza
This commit is contained in:
Yağızhan authored and GitHub committed 2021-08-10 06:29:16 +00:00
commit fb6f80f6fa
11 files changed
+13 -131

No files matched your search

+2 -45
View File
@@ -1,11 +1,11 @@
# en_US translation of BoxBilling Application
# Copyright 2011 -2015 BoxBilling <info@boxbilling.com>
# Copyright 2011-2021 BoxBilling <info@boxbilling.com>
#
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 <info@boxbilling.com>\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 ""
+1 -44
View File
@@ -1,5 +1,5 @@
# en_US translation of BoxBilling Application
# Copyright 2011 -2015 BoxBilling <info@boxbilling.com>
# Copyright 2011-2021 BoxBilling <info@boxbilling.com>
#
#, 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 ""
-32
View File
@@ -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;
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

+7 -1
View File
@@ -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);
}
+1 -2
View File
@@ -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;
+1 -3
View File
@@ -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;
@@ -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
}