cancel
Showing results for 
Search instead for 
Did you mean: 

Credit Card - how to pull last 4 digits after encryption?

asolell
Discoverer
0 Kudos

Hi All,

We get a Token and last 4 digits of the CC back from API of Payment gatway.

Then, we push it to SAP.

It gets in, but it is encrypted as discussed in

https://archive.sap.com/discussions/thread/3278076

So where or what is my problem?

On our website, we want to show the user his Credit Card numbers that are on file with us and suggest the user if he wants to Remove this card from our system (perhaps he doesn't want to renew automatically, or simply doesn't want us to have such info).

For this, we need to show him:

Card Ending with: 1234 , Exp 10/2025 <Delete Button>

But, I can't derive the 1234 becuase even the 1234 number is encrypted.

How can I decrypt is? and obtain the 1234 (last 4 digits).

We don't push a full number, we only get the last 4 digits ourselves.

SAP B1 9.20.130 PL 03

Any pointers?

-Alon.

Accepted Solutions (0)

Answers (0)