Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PAOPN-456: Refactoring pix block and template #208

Closed
wants to merge 3 commits into from

Conversation

mateus-picoloto
Copy link
Contributor

Questions Answers
Issue https://mundipagg.atlassian.net/browse/PAOPN-456
What? Refactoring pix block and template.
Why? Follow best practices.
How? Removing business rule code and inline css from phtml and following javascript magento convention.

@devsec-app-pagarme
Copy link

Gandalf - Continuous AppSec

📌 Lembrete

Este repositório está sendo monitorando de forma automática e contínua em busca de achados que possam comprometer a segurança da aplicação.
Para maiores detalhes, acesse aqui à plataforma.

📋 Resumo de achados no repositório magento2

Criticade Achados
Critical 0
High 6
Medium 0
Low 0

@sonarcloud
Copy link

sonarcloud bot commented Jul 25, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

{
$pixHelper = new PixHelper();
return $pixHelper->getQrCode($this->getPayment());
return __('Copied PIX code!');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PIX code copied!

"Cancel","Cancel"
"Cancel","Cancel",
"Failed to copy! Please, manually copy the code using the field bellow the button.","Failed to copy! Please, manually copy the code using the field bellow the button."
"Copied PIX code!","Copied PIX code!"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PIX code copied!

"Cancel","Cancelar"
"Cancel","Cancelar",
"Failed to copy! Please, manually copy the code using the field bellow the button.","Falha ao copiar! Por favor, copie o código manualmente utilizando o campo abaixo do botão."
"Copied PIX code!","Código PIX copiado!"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PIX code copied!

@@ -19,15 +19,30 @@
use Pagarme\Pagarme\Helper\Payment\Pix as PixHelper;
class Pix extends Template
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adiciona uma quebra de linha entre class e use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants