Yes, a token that has been created with our SDK can be used in eCommerce as well.
To reuse the token do the following:
- Create a token with mobile.connect.
- You will receive a token with the form “cc.[A-Ba-b0-0]{32}" or "dd.[A-Ba-b0-0]{32}".
- Send the token to your backend and remove the first three digits (cc. or dd.). This then is the token that can be used in eCommerce.
It also works the other way around. You just need to add cc. or dd. as prefix.
So as an example, a token from the SDK would look like:
cc.8a829449478c00de014790ec53fb1c66
and you would remove "cc." and use only "8a829449478c00de014790ec53fb1c66" in the XML call.