Pesquisas recentes
Sem pesquisas recentes

Ricardo Pinto
Entrou em 14 de abr. de 2021
·
Última atividade em 09 de jan. de 2025
Seguindo
2
Seguidores
6
Atividade total
949
Votos
9
Assinaturas
812
VISÃO GERAL DA ATIVIDADE
MEDALHAS
ARTIGOS
PUBLICAÇÕES
COMENTÁRIOS NA COMUNIDADE
COMENTÁRIOS EM ARTIGOS
VISÃO GERAL DA ATIVIDADE
Atividade mais recente por Ricardo Pinto
Ricardo Pinto criou um artigo,
Visão geral
Se você estiver usando a API de modelos da Central de Ajuda v1, v2 ou v3 e coletando um número de cartão de crédito como parte de seu formulário de solicitação de suporte, estará usando um campo de cartão de crédito padrão. O comportamento padrão desse campo solicita que o usuário insira o número completo do cartão de crédito e, em seguida, suprime o número antes de enviar o formulário, substituindo todos os dígitos, exceto os quatro últimos, por um "X". O comportamento desse campo não é compatível com os novos requisitos do PCI DSS , que entrarão em vigor em 31 de março de 2025.
Se você puder, atualize seu tema para a API de modelos v4, que usa o auxiliar new_request_form em vez do auxiliar legado request_form. Se você não conseguir atualizar para a API de modelos v4, poderá escrever um código JavaScript personalizado em seu tema v1, v2 ou v3 para substituir o campo de cartão de crédito padrão por um novo campo de entrada, que solicita apenas os quatro últimos dígitos do crédito .
Você também precisará editar o rótulo ou a descrição do seu campo personalizado de cartão de crédito na Central de administração para instruir os usuários a inserirem apenas os quatro últimos dígitos do cartão.
Exemplo de implementação do campo personalizado de cartão de crédito
O campo de cartão de crédito padrão renderizado no auxiliar request_formlegado consiste em:
- Um elemento de entrada oculto que anexa o valor ao formulário
- Um elemento de entrada de texto visível para o usuário. Quando o usuário desfoca o elemento ou envia o formulário, o valor inserido é suprimido. O valor suprimido reflete na entrada oculta.
Você pode escrever um código JavaScript personalizado para substituir o elemento de entrada de texto por um novo elemento de entrada que:
- Solicita apenas os quatro últimos dígitos do número do cartão de crédito e
- Atualiza a entrada oculta com 9 a 15 “X” seguidos pelos últimos quatro dígitos sempre que seu valor for alterado
Dessa maneira, o usuário insere apenas os quatro últimos dígitos, o que remove o formulário do escopo do PCI DSS. O valor enviado com o formulário ainda é um número de cartão de crédito suprimido.
Quando o formulário é renderizado após um envio com erros ou quando um ticket de acompanhamento é criado, as entradas contêm o valor inserido anteriormente, já suprimido. Por exemplo, se o usuário inserir um valor no campo de cartão de crédito e enviar o formulário com erros, a página será recarregada e o formulário exibirá o campo de cartão de crédito padrão com um valor como XXXXXXXXX1234
. Seu código personalizado deve extrair os quatro últimos dígitos e defini-los como o valor do novo elemento.
// 4 digits credit card field
document.addEventListener("DOMContentLoaded", function () {
// Select all text inputs with the class 'partialcreditcardinputfield'
const inputFields =
document.querySelectorAll(".partialcreditcardinputfield");
inputFields.forEach((originalInput) => {
// Locate the adjacent hidden input
const parentElement = originalInput.parentElement;
const hiddenInput = parentElement.querySelector(
".partialcreditcardhiddenfield"
);
if (hiddenInput) {
// Get the relevant attributes from the original input
const id = originalInput.id;
const className = originalInput.className;
const ariaRequired = originalInput.getAttribute("aria-required");
const ariaLabelledby = originalInput.getAttribute("aria-labelledby");
// Create the new input element
const newInput = document.createElement("input");
newInput.type = "text";
newInput.id = id;
newInput.className = className;
newInput.setAttribute("aria-required", ariaRequired);
newInput.setAttribute("aria-labelledby", ariaLabelledby);
newInput.setAttribute("maxlength", "4");
newInput.value = originalInput.value
? originalInput.value.replaceAll("X", "")
: "";
// Add the input event listener to update the hidden input
newInput.addEventListener("input", function (event) {
const value = event.target.value;
hiddenInput.value = `XXXXXXXXX${value}`;
});
// Replace the original input with the new one
parentElement.replaceChild(newInput, originalInput);
}
});
});
Aviso sobre a tradução: este artigo foi traduzido por um software de tradução automática para oferecer a você uma compreensão básica do conteúdo. Medidas razoáveis foram tomadas para fornecer uma tradução precisa, no entanto, a Zendesk não garante a precisão da tradução.
Em caso de dúvidas relacionadas à precisão das informações contidas no artigo traduzido, consulte a versão oficial do artigo em inglês.
Editado 12 de nov. de 2024 · Ricardo Pinto
0
Seguidores
1
Votos
0
Comentários
Ricardo Pinto comentou,
Hello Thomas D'Hoe . It was indeed agents…or users of the ticketing system more broadly. Thanks for the flag.
Exibir comentário · Publicado 27 de set. de 2024 · Ricardo Pinto
0
Seguidores
0
Votos
0
Comentários
Ricardo Pinto comentou,
Hello Sally Anne Dishong . That looks like a little glitch that can be solved by clearing the cache of your browser. Thank you.
Exibir comentário · Publicado 29 de abr. de 2024 · Ricardo Pinto
0
Seguidores
0
Votos
0
Comentários
Ricardo Pinto comentou,
Thanks for your feedback Matt Farrington Smith . We are following the design of our zendesk.com pages that has been live for a while now. But I will share your feedback with the designers.
Anastasia Kachanova, I see. Those issues are currently being worked on. I will share your report with our team. Thanks for sharing.
Exibir comentário · Publicado 18 de abr. de 2024 · Ricardo Pinto
0
Seguidores
1
Votos
0
Comentários
Ricardo Pinto comentou,
Hello everyone. Apologies for the delay addressing your comment.
The text box for entering comments on tickets is very small. You can only fit 3 lines of text before you need to start scrolling. This does not seem to be by design, as the text box for community posts resizes as I type. Can we fix the comment box for ticket comments?
There were some recent changes in the My activities page to fix some issues. I am though going to connect with the team regarding the resizing issue. Thanks for the feedback.
Pagination in comments can make it hard to find responses to questions other community members have added. Some of the font sizing is very extreme. Article titles, for example, often take up the entire screen on a standard monitor, but then the text of the article's content is smaller (I think?) than it used to be, making it harder to read without zooming.
Those issues are being addressed as we speak!
PS: Besides not being able to add someone in CC for a Zendesk ticket I also can't solve a ticket anymore now.
This is fixed. Thanks.
I can't see attachments I've added to requests. The first time this happened, I thought it failed so I uploaded again, and the support agent had to tell me that they had all the files.
I'd like to be able to CC folks from my team on the requests page.
Text areas should auto expand or be user expandable on the requests page. The comment box here is expanding as I type, but the requests page doesn't do that.
The font size gap needs to be reeled in. I need to zoom my browser to read comments, but that blows up all the big text too. Changing the comment line height to 1.5 and dropping header font size down to 44px does a world of wonders to even things out.
Those should now be fixed.
On the right sidebar on the request page, under Status there is an Id that doesn't seem to reference one of my orgs, and the Organization name just shows as “Org name”. Looks like some placeholder values might have snuck in.
Great catch. I will bring it over to the Engineers. Thanks.
Comments should show more per page. I got several pages into this and when clicking the vote button, I was prompted to login and lost my place the comment flow and was sent back to page 1.
Hmm…this one is tricky. Let me pass the feedback to the team as well.
Overall things are looking good for what feels like a pretty large update.
Thank you!
Exibir comentário · Editado 12 de abr. de 2024 · Ricardo Pinto
0
Seguidores
1
Votos
0
Comentários
Ricardo Pinto comentou,
Hello everyone. Apologies for the delay addressing all your concerns. We are working hard on fixing some of these issues and in fact some of them no longer happen.
Atanas Tomov Under My activities > Requests, you will only see tickets you have requested with the Zendesk Customer Support team. You can't find any information about Community contributions because that is under My activities > Contributions.

Also, at the time of this comment, I also noticed that you cannot @ mention someone. One more thing I noticed today is that the edit button in Product Feedback posts is not working. It loads for a second and then nothing happens.
Those two should be fixed. But let me know if you see any issue still :).
Exibir comentário · Publicado 12 de abr. de 2024 · Ricardo Pinto
0
Seguidores
0
Votos
0
Comentários
Ricardo Pinto comentou,
Hello, Jill Bragg,
That is indeed not related with the redesign but I have asked the writer to change the link.
Sebastian, we are currently working on fixing the issues in the Requests page.
Richard J, issues with the comment counter are also being worked on. The search results
Thank you all!
Exibir comentário · Publicado 29 de mar. de 2024 · Ricardo Pinto
0
Seguidores
0
Votos
0
Comentários
Ricardo Pinto comentou,
Hello, Ahmed Zaid,
Thanks for taking the time to report these issues.
I am getting much worse search results. There are articles that I know well and I try searching for them but I end up getting irrelevant results.
We are still working on improving the search experience. Our team has just made some changes to the way relevance was set up in the Help Center and the results should now be more relevant.
The comment box was available for me when I was signed out. I forgot to sign in and wrote a comment and kept clicking Post unsuccessfully with no feedback to why this is failing or redirecting me to sign in.
Sorry to hear that. I have logged that issue as something for our engineers to fix.
Sign in does not return to last page. It always returns to /hc/en-us
I am not sure I understood that one. Would you be able to add a little bit more of detail please? Thank you!
Exibir comentário · Publicado 28 de mar. de 2024 · Ricardo Pinto
0
Seguidores
0
Votos
0
Comentários
Ricardo Pinto comentou,
Hello, Molly Katolas and Atanas Tomov. Thanks for raising those issues.
Regarding not being able to access your requests, that issue should be fixed now. Do you want to try again after clearing the cache of your browser? :)
@Atanas, perhaps you could try “My profile” page. There is an Activity overview that should show you everything in the same place.
Exibir comentário · Publicado 28 de mar. de 2024 · Ricardo Pinto
0
Seguidores
0
Votos
0
Comentários
Ricardo Pinto comentou,
Hello, Anastasia Kachanova,
Thanks for your report! I have captured those issues and asked the team to solve them asap.
Exibir comentário · Publicado 27 de mar. de 2024 · Ricardo Pinto
0
Seguidores
1
Votos
0
Comentários