Recherches récentes
Pas de recherche récente

Ricardo Pinto
Adhésion le 14 avr. 2021
·
Dernière activité le 09 janv. 2025
Suivis
2
Abonnés
6
Activité totale
948
Votes
9
Abonnements
812
APERÇU DES ACTIVITÉS
BADGES
ARTICLES
PUBLICATIONS
COMMENTAIRES DE LA COMMUNAUTÉ
COMMENTAIRES SUR L’ARTICLE
APERÇU DES ACTIVITÉS
Dernière activité effectuée par Ricardo Pinto
Ricardo Pinto a créé un article,
Aperçu
Si vous utilisez l’ API de création de modèles du centre d’aide v1, v2 ou v3 et recueillez un numéro de carte de crédit dans votre formulaire de demande d’assistance, vous utilisez un champ de carte de crédit standard. Le comportement par défaut pour ce champ demande à l’utilisateur de saisir le numéro de carte de crédit complet, puis le supprime avant d’envoyer le formulaire, en remplaçant tous les chiffres sauf les quatre derniers par un X. Le comportement de ce champ n’est pas compatible avec les nouvelles exigences PCI DSS , qui entreront en vigueur le 31 mars 2025.
Si c’est votre cas, mettez votre thème à niveau en passant à l’API de création de modèles v4, qui utilise le bot new_request_form au lieu de l’ancien bot request_form. Si vous ne parvenez pas à mettre à niveau à l'API de création de modèles v4, vous pouvez rédiger du code JavaScript personnalisé dans votre thème v1, v2 ou v3 pour remplacer le champ de carte de crédit par défaut par un nouveau champ de saisie, qui ne demande que les quatre derniers chiffres du crédit. .
Vous devrez aussi modifier le libellé ou la description de votre champ de carte de crédit personnalisé dans le Centre d’administration pour demander aux utilisateurs de saisir uniquement les quatre derniers chiffres de leur numéro de carte.
Exemple d’implémentation du champ de carte de crédit personnalisé
Le champ de carte de crédit par défaut rendu dans l’ancien assistant request_formcomprend :
- Un élément de saisie masqué qui ajoute la valeur au formulaire
- Un élément de saisie de texte visible par l’utilisateur. Lorsque l’utilisateur rend l’élément flou ou envoie le formulaire, la valeur saisie est supprimée. La valeur supprimée est reflétée dans l’entrée masquée.
Vous pouvez rédiger du code JavaScript personnalisé pour remplacer le texte par un nouvel élément qui :
- Ne demande que les quatre derniers chiffres du numéro de carte de crédit, et
- Il met à jour l’entrée masquée avec 9 à 15 X, suivis des quatre derniers chiffres, chaque fois que sa valeur est modifiée.
Ainsi, l’utilisateur ne saisit que les quatre derniers chiffres, ce qui supprime le formulaire de la portée des normes PCI DSS. La valeur envoyée avec le formulaire est encore un numéro de carte de crédit supprimé.
Lors du rendu du formulaire après un envoi avec des erreurs ou lors de la création d’un ticket de suivi, les entrées contiennent la valeur saisie précédemment, déjà supprimée. Par exemple, si l’utilisateur saisit une valeur dans le champ de carte de crédit et envoie le formulaire avec des erreurs, la page se recharge et le formulaire affiche le champ de carte de crédit par défaut avec une valeur comme XXXXXXXXX1234
. Votre code personnalisé doit extraire les quatre derniers chiffres et les définir comme valeurs du nouvel élément.
// 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);
}
});
});
Traduction - exonération : cet article a été traduit par un logiciel de traduction automatisée pour permettre une compréhension élémentaire de son contenu. Des efforts raisonnables ont été faits pour fournir une traduction correcte, mais Zendesk ne garantit pas l’exactitude de la traduction.
Si vous avez des questions quant à l’exactitude des informations contenues dans l’article traduit, consultez la version anglaise de l’article, qui représente la version officielle.
Modification le 12 nov. 2024 · Ricardo Pinto
0
Abonnés
1
vote
0
Commentaire
Ricardo Pinto a ajouté un commentaire,
Hello Thomas D'Hoe . It was indeed agents…or users of the ticketing system more broadly. Thanks for the flag.
Afficher le commentaire · Publication le 27 sept. 2024 · Ricardo Pinto
0
Abonnés
0
Votes
0
Commentaire
Ricardo Pinto a ajouté un commentaire,
Hello Sally Anne Dishong . That looks like a little glitch that can be solved by clearing the cache of your browser. Thank you.
Afficher le commentaire · Publication le 29 avr. 2024 · Ricardo Pinto
0
Abonnés
0
Votes
0
Commentaire
Ricardo Pinto a ajouté un commentaire,
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.
Afficher le commentaire · Publication le 18 avr. 2024 · Ricardo Pinto
0
Abonnés
1
vote
0
Commentaire
Ricardo Pinto a ajouté un commentaire,
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!
Afficher le commentaire · Modification le 12 avr. 2024 · Ricardo Pinto
0
Abonnés
1
vote
0
Commentaire
Ricardo Pinto a ajouté un commentaire,
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 :).
Afficher le commentaire · Publication le 12 avr. 2024 · Ricardo Pinto
0
Abonnés
0
Votes
0
Commentaire
Ricardo Pinto a ajouté un commentaire,
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!
Afficher le commentaire · Publication le 29 mars 2024 · Ricardo Pinto
0
Abonnés
0
Votes
0
Commentaire
Ricardo Pinto a ajouté un commentaire,
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!
Afficher le commentaire · Publication le 28 mars 2024 · Ricardo Pinto
0
Abonnés
0
Votes
0
Commentaire
Ricardo Pinto a ajouté un commentaire,
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.
Afficher le commentaire · Publication le 28 mars 2024 · Ricardo Pinto
0
Abonnés
0
Votes
0
Commentaire
Ricardo Pinto a ajouté un commentaire,
Hello, Anastasia Kachanova,
Thanks for your report! I have captured those issues and asked the team to solve them asap.
Afficher le commentaire · Publication le 27 mars 2024 · Ricardo Pinto
0
Abonnés
1
vote
0
Commentaire