1

In my project I use Cybersource (a credit card processing service). I need a way to get the user card information (especially credit card number), considering that in database I store only the orderID and the transactionCode for a payment. Is there a method in CyberSource that return this info?

Thanks.

Brian Agnew
  • 268,207
  • 37
  • 334
  • 440
Emanuel
  • 6,622
  • 20
  • 58
  • 78

2 Answers2

5

You won't be able to get the full card number back. This is because the payment service provider will be PCI-DSS compliant. As part of that compliancy they must ensure that any system that card details are passed to is also PCI compliant.

If you need to store the last four digits, then you should do so at the point of capture. Obviously, take great care that you are only storing the last four digits. PCI rules state you can store (at most) the first six and last four digits in plain text.

PaulG
  • 13,871
  • 9
  • 56
  • 78
  • I know that I can store only 4 digits, but after the transaction is complete, can I get this numbers? (using only OrderID an TransactionCode) – Emanuel Nov 14 '11 at 11:39
1

A couple of points to add:

You can retrieve the last four digits of the card through the business center by searching for the subscription. I haven't seen a way to get the masked data through the API.

This isn't really what you were asking, but it may possible to get the full card information, if you submit a request to Cybersource and pay for their legal dept to handle it (I was quoted roughly $500). I inquired about this when contemplating a change to a different service.

Jared
  • 2,885
  • 2
  • 28
  • 31