Hi,
I am writing a plug in that uses order information in the store database. I want to take the encrypted credit card information and decrypt so it will be returned to plain text. I am wondering what encryption you use for the credit card info.
thanks
Credit Card Encryption/Decryption
-
- Ensign (ENS)
- Posts: 6
- Joined: Mon Oct 20, 2008 9:50 am
Credit Card Encryption/Decryption
jstrzempa@web2market.com
Web 2 Market
708-653-3100
AbleCommerce .net development and hosting available now
http://www.web2market.com

Web 2 Market
708-653-3100
AbleCommerce .net development and hosting available now
http://www.web2market.com

Re: Credit Card Encryption/Decryption
You can use the account data dictionary to get the card information from the payment as bellow
Code: Select all
AccountDataDictionary accountData = new AccountDataDictionary(payment.AccountData);
NameLabel.Text = accountData["AccountName"].ToString();
-
- Ensign (ENS)
- Posts: 6
- Joined: Mon Oct 20, 2008 9:50 am
Re: Credit Card Encryption/Decryption
Thank you. I have a couple of other questions.
First, how am I connecting the Payment class with the current store. I've added the name of the store into "AccountName" and it says that key isn't in there. Do I have to use Token or will it work without it? Also, what is the account name that I am looking for? I tried the name of the store.
thanks
First, how am I connecting the Payment class with the current store. I've added the name of the store into "AccountName" and it says that key isn't in there. Do I have to use Token or will it work without it? Also, what is the account name that I am looking for? I tried the name of the store.
thanks
jstrzempa@web2market.com
Web 2 Market
708-653-3100
AbleCommerce .net development and hosting available now
http://www.web2market.com

Web 2 Market
708-653-3100
AbleCommerce .net development and hosting available now
http://www.web2market.com

-
- Ensign (ENS)
- Posts: 6
- Joined: Mon Oct 20, 2008 9:50 am
Re: Credit Card Encryption/Decryption
Figured it out, thanks
jstrzempa@web2market.com
Web 2 Market
708-653-3100
AbleCommerce .net development and hosting available now
http://www.web2market.com

Web 2 Market
708-653-3100
AbleCommerce .net development and hosting available now
http://www.web2market.com
