From 3705ba11879cc6b6f15022fcb5f3189a44898886 Mon Sep 17 00:00:00 2001 From: Elisei Date: Tue, 3 Dec 2024 14:04:41 -0300 Subject: [PATCH] =?UTF-8?q?PagBank=20=F0=9F=98=8D=20Magento=20-=20Adiciona?= =?UTF-8?q?=20novos=20APP's=20para=20taxas=20promocionais.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gateway/Config/Config.php | 4 +- etc/adminhtml/system/base_settings.xml | 8 +- i18n/en_US.csv | 29 ++++- i18n/pt_BR.csv | 28 +++++ .../templates/system/config/apps.phtml | 104 +++++++++--------- 5 files changed, 112 insertions(+), 61 deletions(-) diff --git a/Gateway/Config/Config.php b/Gateway/Config/Config.php index eb2c7f3..9081c51 100644 --- a/Gateway/Config/Config.php +++ b/Gateway/Config/Config.php @@ -62,12 +62,12 @@ class Config extends PaymentConfig /** * @const string */ - public const APP_ID_THIRTY_PRODUCTION = '4875151e-9caa-4019-b6b7-d29852efe7ee'; + public const APP_ID_THIRTY_PRODUCTION = 'fd0305da-da00-42b6-a9f4-dac498bc05e4'; /** * @const string */ - public const APP_ID_FOURTEEN_PRODUCTION = 'fd0305da-da00-42b6-a9f4-dac498bc05e4'; + public const APP_ID_FOURTEEN_PRODUCTION = '4875151e-9caa-4019-b6b7-d29852efe7ee'; /** * @const string */ diff --git a/etc/adminhtml/system/base_settings.xml b/etc/adminhtml/system/base_settings.xml index d00192b..08a72fc 100644 --- a/etc/adminhtml/system/base_settings.xml +++ b/etc/adminhtml/system/base_settings.xml @@ -10,9 +10,9 @@ */ --> - + Define the relationship between your store and our application. @@ -27,12 +27,12 @@ payment/pagbank_paymentmagento/environment required-entry validate-select - + PagBank\PaymentMagento\Block\Adminhtml\System\Config\Oauth diff --git a/i18n/en_US.csv b/i18n/en_US.csv index e565fd9..590fa20 100644 --- a/i18n/en_US.csv +++ b/i18n/en_US.csv @@ -63,6 +63,9 @@ Close,Close "4st line of the street","4st line of the street" "by customer form (taxvat - customer account)","by customer form (taxvat - customer account)" "by address form (vat_id - checkout)","by address form (vat_id - checkout)" +"Set in your Account","Set in your Account" +"Receive within 14 days","Receive within 14 days" +"Receive within 30 days","Receive within 30 days" "Cart %1 doesn't contain products","Cart %1 doesn't contain products" "Unable to save interest.","Unable to save interest." "Refresh Token for Default Store.","Refresh Token for Default Store." @@ -99,6 +102,31 @@ Link,Link "Payer Phone","Payer Phone" "Pix Qr Code","Pix Qr Code" "Pix Copy and Paste","Pix Copy and Paste" +"Know and compare our promotional plans","Know and compare our promotional plans" +"Magento and Adobe Commerce - Account Profile","Magento and Adobe Commerce - Account Profile" +"Magento and Adobe Commerce - D14","Magento and Adobe Commerce - D14" +"Magento and Adobe Commerce - D30","Magento and Adobe Commerce - D30" +Benefits,Benefits +"Ideal for those who bill above R$ 200,000","Ideal for those who bill above R$ 200,000" +"Customized fees and receipts","Customized fees and receipts" +"Request your personalized proposal here","Request your personalized proposal here" +"Ideal for those who need greater cash flow","Ideal for those who need greater cash flow" +"Reduced fees","Reduced fees" +"Ideal for those who have greater cash flow","Ideal for those who have greater cash flow" +"The best market rates","The best market rates" +"Receipt Type","Receipt Type" +"As defined in your account","As defined in your account" +Fees*,Fees* +Card:,Card: +"With 3.97% fee.","With 3.97% fee." +Pix:,Pix: +"With 0.99% fee.","With 0.99% fee." +"With immediate receipt.","With immediate receipt." +"Bank Slip:","Bank Slip:" +"With fixed fee of R$ 2.99.","With fixed fee of R$ 2.99." +"With receipt within 2 business days.","With receipt within 2 business days." +"With 3.05% fee.","With 3.05% fee." +"* The fees advertised here may vary, please check our page for updated values.","* The fees advertised here may vary, please check our page for updated values." "The Boleto barcode is","The Boleto barcode is" Copy,Copy Copied,Copied @@ -109,7 +137,6 @@ Copied,Copied "Go to the Pix/Qr Code option;","Go to the Pix/Qr Code option;" "Select the option Pay with Qr Code;","Select the option Pay with Qr Code;" "Scan the Qr Code:","Scan the Qr Code:" -"Pay in PagBank","Pay in PagBank" "Atenção o Qr Code gerado só é válido para uso no aplicatico do PagBank.","Atenção o Qr Code gerado só é válido para uso no aplicatico do PagBank." "To pay, read the Qr Code","To pay, read the Qr Code" "Or if you prefer, copy and paste the code","Or if you prefer, copy and paste the code" diff --git a/i18n/pt_BR.csv b/i18n/pt_BR.csv index 512ba67..0833a51 100644 --- a/i18n/pt_BR.csv +++ b/i18n/pt_BR.csv @@ -63,6 +63,9 @@ Close,Fechar "4st line of the street","4ª linha de endereço" "by customer form (taxvat - customer account)","pelo formulário de cliente (taxvat - customer account)" "by address form (vat_id - checkout)","pelo formulário de endereço (vat_id - checkout)" +"Set in your Account","Definido em sua Conta" +"Receive within 14 days","Receba em até 14 dias" +"Receive within 30 days","Receba em até 30 dias" "Cart %1 doesn't contain products","O carrinho %1 não contém produtos" "Unable to save interest.","Não foi possível salvar o juros." "Refresh Token for Default Store.","Refresh Token para Loja Padrão." @@ -99,6 +102,31 @@ Link,Link "Payer Phone","Telefone do Pagador" "Pix Qr Code","Pix Qr Code" "Pix Copy and Paste","Pix Cópia e Cola" +"Know and compare our promotional plans","Conheça e compare nossos planos promocionais" +"Magento and Adobe Commerce - Account Profile","Magento e Adobe Commerce - Account Profile" +"Magento and Adobe Commerce - D14","Magento e Adobe Commerce - D14" +"Magento and Adobe Commerce - D30","Magento e Adobe Commerce - D30" +Benefits,Vantagens +"Ideal for those who bill above R$ 200,000","Ideal para quem fatura acima de R$ 200.000" +"Customized fees and receipts","Taxas e recebimentos personalizados" +"Request your personalized proposal here","Solicite sua proposta personalizada aqui" +"Ideal for those who need greater cash flow","Ideal para quem precisa de maior fluxo de caixa" +"Reduced fees","Taxas reduzidas" +"Ideal for those who have greater cash flow","Ideal para quem tem maior fluxo de caixa" +"The best market rates","As melhores taxas do mercado" +"Receipt Type","Tipo de Recebimento" +"As defined in your account","Conforme definido em sua conta" +Fees*,Taxas* +Card:,Cartão: +"With 3.97% fee.","Com taxa de 3,97%." +Pix:,Pix: +"With 0.99% fee.","Com taxa de 0,99%." +"With immediate receipt.","Com recebimento imediato." +"Bank Slip:","Boleto:" +"With fixed fee of R$ 2.99.","Com taxa fixa de R$ 2,99." +"With receipt within 2 business days.","Com recebimento em até 2 dias úteis." +"With 3.05% fee.","Com taxa de 3.05%." +"* The fees advertised here may vary, please check our page for updated values.","* As taxas aqui anunciadas podem sofrer variações, consulte nossa página para os valores atualizados." "The Boleto barcode is","O código de barras do boleto é" Copy,Copiar Copied,Copiado diff --git a/view/adminhtml/templates/system/config/apps.phtml b/view/adminhtml/templates/system/config/apps.phtml index 63d7703..9f338f5 100644 --- a/view/adminhtml/templates/system/config/apps.phtml +++ b/view/adminhtml/templates/system/config/apps.phtml @@ -13,94 +13,90 @@ */ ?>
-

escapeHtml(__('Conheça e compare nossos planos promocionais'), ['b']) ?>

+

escapeHtml(__('Know and compare our promotional plans'), ['b']) ?>

- - - + + + - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - -
escapeHtml(__('Magento e Adobe Commerce - Account Profile')) ?>escapeHtml(__('Magento e Adobe Commerce - D14')) ?>escapeHtml(__('Magento e Adobe Commerce - D30')) ?>escapeHtml(__('Magento and Adobe Commerce - Account Profile')) ?>escapeHtml(__('Magento and Adobe Commerce - D14')) ?>escapeHtml(__('Magento and Adobe Commerce - D30')) ?>
escapeHtml(__('Tipo de Recebimento')) ?>escapeHtml(__('Conforme definido em sua conta')) ?>escapeHtml(__('Receba em até 14 dias')) ?>escapeHtml(__('Receba em até 30 dias')) ?>
escapeHtml(__('Taxas*')) ?>escapeHtml(__('Conforme definido em sua conta')) ?>escapeHtml(__('Benefits')) ?> - escapeHtml(__('Cartão:')) ?>
    -
  • escapeHtml(__('1x com taxa de 1.69%')) ?>
  • -
  • escapeHtml(__('2x a 4x com taxa de 1.99%')) ?>
  • -
  • escapeHtml(__('5x a 18x com taxa de 1.99%')) ?>
  • +
  • escapeHtml(__('Ideal for those who bill above R$ 200,000')) ?>
  • +
  • escapeHtml(__('Customized fees and receipts')) ?>
  • +
  • + escapeHtml( + __( + 'Request your personalized proposal here', + 'https://pagseguro.uol.com.br/campanhas/contato/?parceiro=aec' + ), + ['a'] + ) ?> +
- escapeHtml(__('Pix:')) ?> +
    -
  • escapeHtml(__('Fixa em R$ 0,50')) ?>
  • +
  • escapeHtml(__('Ideal for those who need greater cash flow')) ?>
  • +
  • escapeHtml(__('Reduced fees')) ?>
- escapeHtml(__('Boleto:')) ?> +
    -
  • escapeHtml(__('Fixa em R$ 0,50')) ?>
  • +
  • escapeHtml(__('Ideal for those who have greater cash flow')) ?>
  • +
  • escapeHtml(__('The best market rates')) ?>
escapeHtml(__('Receipt Type')) ?>escapeHtml(__('As defined in your account')) ?>escapeHtml(__('Receive within 14 days')) ?>escapeHtml(__('Receive within 30 days')) ?>
escapeHtml(__('Fees*')) ?>escapeHtml(__('As defined in your account')) ?> - escapeHtml(__('Cartão:')) ?> + escapeHtml(__('Card:')) ?>
    -
  • escapeHtml(__('1x com taxa de 1.69%')) ?>
  • -
  • escapeHtml(__('2x a 4x com taxa de 1.99%')) ?>
  • -
  • escapeHtml(__('5x a 18x com taxa de 1.99%')) ?>
  • +
  • escapeHtml(__('With 3.97% fee.')) ?>
escapeHtml(__('Pix:')) ?>
    -
  • escapeHtml(__('Fixa em R$ 0,50')) ?>
  • +
  • escapeHtml(__('With 0.99% fee.')) ?>
  • +
  • escapeHtml(__('With immediate receipt.')) ?>
- escapeHtml(__('Boleto:')) ?> + escapeHtml(__('Bank Slip:')) ?>
    -
  • escapeHtml(__('Fixa em R$ 0,50')) ?>
  • +
  • escapeHtml(__('With fixed fee of R$ 2.99.')) ?>
  • +
  • escapeHtml(__('With receipt within 2 business days.')) ?>
escapeHtml(__('Vantagens')) ?> + escapeHtml(__('Card:')) ?>
    -
  • escapeHtml(__('Ideal para quem fatura acima de R$ 300.000')) ?>
  • -
  • escapeHtml(__('Taxas e recebimentos personalizados')) ?>
  • +
  • escapeHtml(__('With 3.05% fee.')) ?>
-
+ escapeHtml(__('Pix:')) ?>
    -
  • escapeHtml(__('Ideal para quem precisa de maior fluxo de caixa')) ?>
  • -
  • escapeHtml(__('Taxas reduzidas')) ?>
  • +
  • escapeHtml(__('With 0.99% fee.')) ?>
  • +
  • escapeHtml(__('With immediate receipt.')) ?>
-
+ escapeHtml(__('Bank Slip:')) ?>
    -
  • escapeHtml(__('Ideal para quem tem maior fluxo de caixa')) ?>
  • -
  • escapeHtml(__('As melhores taxas do mercado')) ?>
  • +
  • escapeHtml(__('With fixed fee of R$ 2.99.')) ?>
  • +
  • escapeHtml(__('With receipt within 2 business days.')) ?>
escapeHtml(__('Estado')) ?> - escapeHtml(__('Esse plano está configurado e em uso atualmente.'), ['b']) ?> - - escapeHtml(__('Esse plano está configurado mas não está em uso.'), ['b']) ?> - escapeHtml(__('Para usar esse plano, selecione na guia credenciais.')) ?> - - escapeHtml(__('Para usar esse plano, selecione na guia credenciais.')) ?> -

escapeHtml( - __('* As taxas aqui anunciadas podem sofrer variações, consulte nossa página para os valores atualizados.') + __('* The fees advertised here may vary, please check our page for updated values.') ) ?>