Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

accpac 5.5 update cc info via Accpac Macro

Status
Not open for further replies.

0012345678900

Programmer
Dec 15, 2011
4
AU


Is it possible to update credit card info by using Accpac Macro?

I have managed to update other contents in VB.
But when I tried to use the same way to update ccnumber, it failed.

Code here:

Dim ARCUSTOMER1header As AccpacCOMAPI.AccpacView
Dim ARCUSTOMER1headerFields As AccpacCOMAPI.AccpacViewFields
mDBLinkCmpRW.OpenView "AR0024", ARCUSTOMER1header
Set ARCUSTOMER1headerFields = ARCUSTOMER1header.Fields

'retrieve the account with the given account number
ARCUSTOMER1headerFields("IDCUST").Value = accNum
ARCUSTOMER1header.Read

ARCUSTOMER1headerFields("CCNUMBER").Value = "5555555555554444"
ARCUSTOMER1header.Update

I understand the field is encrypted, is there a function which can be used to encrypt and set the ccnumber?

 
The CCNUMBER field was determined not to be PCI compliant, so don't use it. It was removed in later versions.
 
Thanks, tuba
But is there a way to update the ccnumber at this stage?
 
So the only way to update credit card number is using the Accpac system?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top