I am trying to accomplish two things with live agent that shouldn't be TOO difficult but I can't find the solution anywhere...

  1. We want to be able to accept credit cards, so we need live agent to NOT save credit card numbers in the transcript for PCI compliance. How would I go about doing this?

  2. We want the agents to be able to click the credit card number in the chat window, and have it populate the card number - because we don't let agents cut and paste. Can anyone point me in the right direction for some code that would accomplish this?

Neither one of these should be a new request - but it seems there are no apps that do anything with this. UGH! :)

  • Number one should be fairly simple, just pass the credit card number as a custom detail in the chat. Regarding number 2, what do you mean by clicking on the credit card number should populate the card number, where are you populating this information?
    – PepeFloyd
    Sep 16, 2014 at 8:36
  • Can "custom details" be used IN the chat? For instance, chat is going on, a product is sold, and then they want to collect the credit card in the middle of the chat - how would we use that. Sep 16, 2014 at 20:25
  • The only I see that being possible is by copy/pasting from the chat window.
    – PepeFloyd
    Sep 17, 2014 at 11:59
  • Okay, so back to my original question - is there a way I can mod the transcript to remove the credit card from it? :) Sep 17, 2014 at 12:09
  • Custom details are not stored by default in the transcript so if you are seeing it there is because in your code your saving it to the transcript.
    – PepeFloyd
    Sep 17, 2014 at 12:20

1 Answer 1


Custom details are not saved unless you specify it, so you just need to ensure you are not saving it in the code.

If you want the credit card information to be available as a "custom detail" in the chat window, you would need to capture that before the chat starts, either using the pre-chat form (pre-chat API) or the deployment API. You can then use the getdetails() method to retrieve this information from the chat window which you would have to build. See "Accessing Chat Details for your Visualforce Chat Window" in the Live Agent Developer Guide



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.