diff --git a/.circleci/config.yml b/.circleci/config.yml index 12121de..b0db2f9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,12 +15,12 @@ jobs: - run: name: Composer Install command: | - #sudo apt install -y python-software-properties + #sudo apt install -y software-properties-common #sudo add-apt-repository -y ppa:ondrej/php #sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6494C6D6997C215E #sudo rm -rf /etc/apt/sources.list.d/circleci_trusty.list* #find /etc/apt/sources.list.d -type f -name '*.list' -exec sudo apt-get update -o Dir::Etc::sourcelist="{}" ';' - sudo apt install -y python-software-properties + sudo apt install -y software-properties-common sudo add-apt-repository -y ppa:ondrej/php sudo apt-get update sudo apt install -y php7.2-fpm php7.2-gd php7.2-curl php7.2-mysql php7.2-dev php7.2-cli php7.2-common php7.2-mbstring php7.2-intl php7.2-zip php7.2-bcmath php7.2-dom npm diff --git a/WC_Pagantis.php b/WC_Pagantis.php index 334d784..7f1f665 100644 --- a/WC_Pagantis.php +++ b/WC_Pagantis.php @@ -3,7 +3,7 @@ * Plugin Name: Pagantis * Plugin URI: http://www.pagantis.com/ * Description: Financiar con Pagantis - * Version: 8.2.0 + * Version: 8.2.1 * Author: Pagantis */ diff --git a/controllers/paymentController.php b/controllers/paymentController.php index 0a064b7..8ee0c8e 100755 --- a/controllers/paymentController.php +++ b/controllers/paymentController.php @@ -72,6 +72,7 @@ public function __construct() $this->extraConfig = $this->getExtraConfig(); $this->title = __($this->extraConfig['PAGANTIS_TITLE'], 'pagantis'); + $this->method_description = "Financial Payment Gateway. Enable the possibility for your customers to pay their order in confortable installments with Pagantis."; $this->settings['ok_url'] = ($this->extraConfig['PAGANTIS_URL_OK']!='')?$this->extraConfig['PAGANTIS_URL_OK']:$this->generateOkUrl(); $this->settings['ko_url'] = ($this->extraConfig['PAGANTIS_URL_KO']!='')?$this->extraConfig['PAGANTIS_URL_KO']:$this->generateKoUrl(); diff --git a/languages/pagantis-es_ES.po b/languages/pagantis-es_ES.po index 015b997..0625491 100644 --- a/languages/pagantis-es_ES.po +++ b/languages/pagantis-es_ES.po @@ -2,31 +2,31 @@ msgid "" msgstr "" "Project-Id-Version: Pagantis WooCommerce V2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-07-30 12:43+0000\n" -"PO-Revision-Date: 2019-07-30 13:17+0000\n" +"POT-Creation-Date: 2019-08-26 11:09+0000\n" +"PO-Revision-Date: 2019-08-26 11:16+0000\n" "Last-Translator: admin \n" -"Language-Team: Español\n" +"Language-Team: Spanish (Spain)\n" "Language: es-ES\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Loco https://localise.biz/\n" -"X-Loco-Version: 2.3.0; wp-5.1" +"X-Loco-Version: 2.3.0; wp-5.2.2" -#: WC_Pagantis.php:214 +#: WC_Pagantis.php:339 msgid "Settings" msgstr "Ajustes" -#: WC_Pagantis.php:232 controllers/paymentController.php:119 +#: WC_Pagantis.php:357 controllers/paymentController.php:120 msgid "Documentation" msgstr "Documentación" -#: WC_Pagantis.php:234 +#: WC_Pagantis.php:359 msgid "API documentation" msgstr "Documentación de la API" -#: WC_Pagantis.php:235 +#: WC_Pagantis.php:360 msgid "Support" msgstr "Soporte" @@ -50,15 +50,15 @@ msgstr "Clave Privada" msgid "Product simulator" msgstr "Simulador en el producto" -#: controllers/paymentController.php:118 +#: controllers/paymentController.php:119 msgid "Login to your panel" msgstr "Accede a tu panel" -#: controllers/paymentController.php:135 +#: controllers/paymentController.php:136 msgid " is not compatible with your php and/or curl version" msgstr " no es compatible con su versión de php/curl" -#: controllers/paymentController.php:138 +#: controllers/paymentController.php:139 msgid "" " is not configured correctly, the fields Public Key and Secret Key are " "mandatory for use this plugin" @@ -66,19 +66,19 @@ msgstr "" " no está configurado correctamente, los campos Public Key y Secret Key son " "obligatorios para su uso" -#: controllers/paymentController.php:141 +#: controllers/paymentController.php:142 msgid " only can be used in Euros" msgstr " solo puede ser usado en Euros" -#: controllers/paymentController.php:145 controllers/paymentController.php:148 +#: controllers/paymentController.php:146 controllers/paymentController.php:149 msgid " only can be payed from 2 to 12 installments" msgstr " solo puede ser pagado de 2 a 12 plazos" -#: controllers/paymentController.php:150 +#: controllers/paymentController.php:151 msgid " can not have a minimum amount less than 0" msgstr " no puede tener un importe mínimo menor a 0" -#: controllers/paymentController.php:341 controllers/paymentController.php:458 +#: controllers/paymentController.php:356 controllers/paymentController.php:473 msgid "Payment error " msgstr "Error en el pago " @@ -94,5 +94,11 @@ msgstr "Financiar con Pagantis" msgid "http://www.pagantis.com/" msgstr "http://www.pagantis.com/" -msgid "Instant Financing" -msgstr "Financiación Instantánea" +msgid "" +"Financial Payment Gateway. Enable the possibility for your customers to pay " +"their order in confortable installments \n" +"with Pagantis" +msgstr "" +"Pasarela de pagos financieros. Habilite la posibilidad de que sus clientes " +"paguen su pedido en cómodas entregas\n" +"con Pagantis" diff --git a/languages/pagantis-fr_FR.po b/languages/pagantis-fr_FR.po index 7ab2293..de0cbc6 100644 --- a/languages/pagantis-fr_FR.po +++ b/languages/pagantis-fr_FR.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: Pagantis WooCommerce V2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-07-30 12:43+0000\n" -"PO-Revision-Date: 2019-07-30 13:17+0000\n" +"POT-Creation-Date: 2019-08-26 11:09+0000\n" +"PO-Revision-Date: 2019-08-26 11:16+0000\n" "Last-Translator: admin \n" "Language-Team: French (France)\n" "Language: fr-FR\n" @@ -12,21 +12,21 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Loco https://localise.biz/\n" -"X-Loco-Version: 2.3.0; wp-5.1" +"X-Loco-Version: 2.3.0; wp-5.2.2" -#: WC_Pagantis.php:214 +#: WC_Pagantis.php:339 msgid "Settings" msgstr "Paramètres" -#: WC_Pagantis.php:232 controllers/paymentController.php:119 +#: WC_Pagantis.php:357 controllers/paymentController.php:120 msgid "Documentation" msgstr "La documentation" -#: WC_Pagantis.php:234 +#: WC_Pagantis.php:359 msgid "API documentation" msgstr "Documentation API" -#: WC_Pagantis.php:235 +#: WC_Pagantis.php:360 msgid "Support" msgstr "Soutien" @@ -50,15 +50,15 @@ msgstr "Clé secrète" msgid "Product simulator" msgstr "Simulateur de produit" -#: controllers/paymentController.php:118 +#: controllers/paymentController.php:119 msgid "Login to your panel" msgstr "Connectez-vous à votre panel" -#: controllers/paymentController.php:135 +#: controllers/paymentController.php:136 msgid " is not compatible with your php and/or curl version" msgstr "n'est pas compatible avec votre version php et / ou curl" -#: controllers/paymentController.php:138 +#: controllers/paymentController.php:139 msgid "" " is not configured correctly, the fields Public Key and Secret Key are " "mandatory for use this plugin" @@ -66,19 +66,19 @@ msgstr "" " n'est pas configuré correctement, les champs Clé publique et Clé secrète " "sont obligatoires pour utiliser ce plugin" -#: controllers/paymentController.php:141 +#: controllers/paymentController.php:142 msgid " only can be used in Euros" msgstr " seulement peut être utilisé en euros" -#: controllers/paymentController.php:145 controllers/paymentController.php:148 +#: controllers/paymentController.php:146 controllers/paymentController.php:149 msgid " only can be payed from 2 to 12 installments" msgstr " seulement peut être payé de 2 à 12 versements" -#: controllers/paymentController.php:150 +#: controllers/paymentController.php:151 msgid " can not have a minimum amount less than 0" msgstr " ne peut pas avoir un montant minimum inférieur à 0" -#: controllers/paymentController.php:341 controllers/paymentController.php:458 +#: controllers/paymentController.php:356 controllers/paymentController.php:473 msgid "Payment error " msgstr "Erreur de paiement" @@ -94,5 +94,10 @@ msgstr "Financez avec Pagantis" msgid "http://www.pagantis.com/" msgstr "http://www.pagantis.com/" -msgid "Instant Financing" -msgstr "Financement instantané" +msgid "" +"Financial Payment Gateway. Enable the possibility for your customers to pay " +"their order in confortable installments \n" +"with Pagantis" +msgstr "" +"Passerelle de paiement financier. Permettez à vos clients de payer leur " +"commande en plusieurs fois avec Pagantis" diff --git a/languages/pagantis-it_IT.po b/languages/pagantis-it_IT.po index 34a086d..89ccbc0 100644 --- a/languages/pagantis-it_IT.po +++ b/languages/pagantis-it_IT.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: Pagantis WooCommerce V2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-07-30 13:16+0000\n" -"PO-Revision-Date: 2019-07-31 07:22+0000\n" +"POT-Creation-Date: 2019-08-26 11:09+0000\n" +"PO-Revision-Date: 2019-08-26 11:16+0000\n" "Last-Translator: admin \n" "Language-Team: Italiano\n" "Language: it-IT\n" @@ -14,19 +14,19 @@ msgstr "" "X-Generator: Loco https://localise.biz/\n" "X-Loco-Version: 2.3.0; wp-5.2.2" -#: WC_Pagantis.php:214 +#: WC_Pagantis.php:339 msgid "Settings" msgstr "Impostazioni" -#: WC_Pagantis.php:232 controllers/paymentController.php:119 +#: WC_Pagantis.php:357 controllers/paymentController.php:120 msgid "Documentation" msgstr "Documentazione" -#: WC_Pagantis.php:234 +#: WC_Pagantis.php:359 msgid "API documentation" msgstr "Documentazione API" -#: WC_Pagantis.php:235 +#: WC_Pagantis.php:360 msgid "Support" msgstr "Supporto" @@ -50,15 +50,15 @@ msgstr "Chiave segreta" msgid "Product simulator" msgstr "Simulatore di prodotto" -#: controllers/paymentController.php:118 +#: controllers/paymentController.php:119 msgid "Login to your panel" msgstr "Accedi al tuo pannello" -#: controllers/paymentController.php:135 +#: controllers/paymentController.php:136 msgid " is not compatible with your php and/or curl version" msgstr "non è compatibile con la tua versione php e / o curl" -#: controllers/paymentController.php:138 +#: controllers/paymentController.php:139 msgid "" " is not configured correctly, the fields Public Key and Secret Key are " "mandatory for use this plugin" @@ -66,19 +66,19 @@ msgstr "" "non è configurato correttamente, i campi Public Key e Secret Key sono " "obbligatori per utilizzare questo plugin" -#: controllers/paymentController.php:141 +#: controllers/paymentController.php:142 msgid " only can be used in Euros" msgstr " può essere utilizzato solo in euro" -#: controllers/paymentController.php:145 controllers/paymentController.php:148 +#: controllers/paymentController.php:146 controllers/paymentController.php:149 msgid " only can be payed from 2 to 12 installments" msgstr " solo può essere pagato da 2 a 12 rate" -#: controllers/paymentController.php:150 +#: controllers/paymentController.php:151 msgid " can not have a minimum amount less than 0" msgstr " non può avere un importo minimo inferiore a 0" -#: controllers/paymentController.php:341 controllers/paymentController.php:458 +#: controllers/paymentController.php:356 controllers/paymentController.php:473 msgid "Payment error " msgstr "Errore di pagamento" @@ -94,5 +94,10 @@ msgstr "Finanza con Pagantis" msgid "http://www.pagantis.com/" msgstr "http://www.pagantis.com/" -msgid "Instant Financing" -msgstr "Finanziamento istantaneo" +msgid "" +"Financial Payment Gateway. Enable the possibility for your customers to pay " +"their order in confortable installments \n" +"with Pagantis" +msgstr "" +"Gateway di pagamento finanziario. Consenti ai tuoi clienti di pagare il loro " +"ordine in rate confortevoli con Pagantis" diff --git a/languages/pagantis-pt_PT.po b/languages/pagantis-pt_PT.po index 65327fe..e77f366 100644 --- a/languages/pagantis-pt_PT.po +++ b/languages/pagantis-pt_PT.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: Pagantis WooCommerce V2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-07-30 12:43+0000\n" -"PO-Revision-Date: 2019-07-30 13:17+0000\n" +"POT-Creation-Date: 2019-08-26 11:09+0000\n" +"PO-Revision-Date: 2019-08-26 11:16+0000\n" "Last-Translator: admin \n" "Language-Team: Portuguese (Portugal)\n" "Language: pt-PT\n" @@ -12,21 +12,21 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Loco https://localise.biz/\n" -"X-Loco-Version: 2.3.0; wp-5.1" +"X-Loco-Version: 2.3.0; wp-5.2.2" -#: WC_Pagantis.php:214 +#: WC_Pagantis.php:339 msgid "Settings" msgstr "Configurações" -#: WC_Pagantis.php:232 controllers/paymentController.php:119 +#: WC_Pagantis.php:357 controllers/paymentController.php:120 msgid "Documentation" msgstr "Documentação" -#: WC_Pagantis.php:234 +#: WC_Pagantis.php:359 msgid "API documentation" msgstr "Documentação da API" -#: WC_Pagantis.php:235 +#: WC_Pagantis.php:360 msgid "Support" msgstr "Suporte" @@ -50,15 +50,15 @@ msgstr "Chave Secreta" msgid "Product simulator" msgstr "Simulador de produtos" -#: controllers/paymentController.php:118 +#: controllers/paymentController.php:119 msgid "Login to your panel" msgstr "Entre no seu painel" -#: controllers/paymentController.php:135 +#: controllers/paymentController.php:136 msgid " is not compatible with your php and/or curl version" msgstr "não é compatível com sua versão php e / ou curl" -#: controllers/paymentController.php:138 +#: controllers/paymentController.php:139 msgid "" " is not configured correctly, the fields Public Key and Secret Key are " "mandatory for use this plugin" @@ -66,19 +66,19 @@ msgstr "" " não está configurado corretamente, os campos Public Key e Secret Key são " "obrigatórios para usar este plugin" -#: controllers/paymentController.php:141 +#: controllers/paymentController.php:142 msgid " only can be used in Euros" msgstr " só pode ser usado em euros" -#: controllers/paymentController.php:145 controllers/paymentController.php:148 +#: controllers/paymentController.php:146 controllers/paymentController.php:149 msgid " only can be payed from 2 to 12 installments" msgstr " só pode ser pago de 2 a 12 parcelas" -#: controllers/paymentController.php:150 +#: controllers/paymentController.php:151 msgid " can not have a minimum amount less than 0" msgstr " não pode ter um valor mínimo menor que 0" -#: controllers/paymentController.php:341 controllers/paymentController.php:458 +#: controllers/paymentController.php:356 controllers/paymentController.php:473 msgid "Payment error " msgstr "Erro de pagamento" @@ -94,5 +94,10 @@ msgstr "Finanças com Pagantis" msgid "http://www.pagantis.com/" msgstr "http://www.pagantis.com/" -msgid "Instant Financing" -msgstr "Financiamento instantâneo" +msgid "" +"Financial Payment Gateway. Enable the possibility for your customers to pay " +"their order in confortable installments \n" +"with Pagantis" +msgstr "" +"Gateway de pagamento financeiro. Habilite a possibilidade de seus clientes " +"pagarem seu pedido em parcelas confortáveis ​​com Pagantis" diff --git a/languages/pagantis.pot b/languages/pagantis.pot index 6a7a662..cfa92b0 100644 --- a/languages/pagantis.pot +++ b/languages/pagantis.pot @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: Pagantis WooCommerce V2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-07-30 13:16+0000\n" +"POT-Creation-Date: 2019-08-26 11:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: \n" @@ -14,19 +14,19 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Loco https://localise.biz/" -#: WC_Pagantis.php:214 +#: WC_Pagantis.php:339 msgid "Settings" msgstr "" -#: WC_Pagantis.php:232 controllers/paymentController.php:119 +#: WC_Pagantis.php:357 controllers/paymentController.php:120 msgid "Documentation" msgstr "" -#: WC_Pagantis.php:234 +#: WC_Pagantis.php:359 msgid "API documentation" msgstr "" -#: WC_Pagantis.php:235 +#: WC_Pagantis.php:360 msgid "Support" msgstr "" @@ -50,33 +50,33 @@ msgstr "" msgid "Product simulator" msgstr "" -#: controllers/paymentController.php:118 +#: controllers/paymentController.php:119 msgid "Login to your panel" msgstr "" -#: controllers/paymentController.php:135 +#: controllers/paymentController.php:136 msgid " is not compatible with your php and/or curl version" msgstr "" -#: controllers/paymentController.php:138 +#: controllers/paymentController.php:139 msgid "" " is not configured correctly, the fields Public Key and Secret Key are " "mandatory for use this plugin" msgstr "" -#: controllers/paymentController.php:141 +#: controllers/paymentController.php:142 msgid " only can be used in Euros" msgstr "" -#: controllers/paymentController.php:145 controllers/paymentController.php:148 +#: controllers/paymentController.php:146 controllers/paymentController.php:149 msgid " only can be payed from 2 to 12 installments" msgstr "" -#: controllers/paymentController.php:150 +#: controllers/paymentController.php:151 msgid " can not have a minimum amount less than 0" msgstr "" -#: controllers/paymentController.php:341 controllers/paymentController.php:458 +#: controllers/paymentController.php:356 controllers/paymentController.php:473 msgid "Payment error " msgstr "" @@ -92,5 +92,8 @@ msgstr "" msgid "http://www.pagantis.com/" msgstr "" -msgid "Instant Financing" +msgid "" +"Financial Payment Gateway. Enable the possibility for your customers to pay " +"their order in confortable installments \n" +"with Pagantis" msgstr ""