I have a cart I built years ago using Anuthorize.net AIM direct post. The site runs on the ReturnedValues and works great.
The client wants to start saving credit card data for future transactions.
I would like to continue using the same post page and just add the CIM script as follows: - Run transaction in AIM - If tranaction is successful run CIM script to save credit card and return the key for the card. - To use the saved card use CIM to run transaction with saved credit card data. - If transaction fails call the credit card entry page so client can update information and run AIM and then CIM in the update client mode.
Here is my AIM direct post page and an example of how i work with ReturnedValues.
What I would like to happen is...
If transaction is approved use an cfif to save client data (CIM?) with client key saved in my database.
If transaction is turned down use my standard pages to allow client to edit their CC data.. Skip CIM at this point. If approved create client in CIM.
If existing client skip AIM and uses CIM to run transaction.
If existing client is turned down use standard pages for client to update card info.
Update client info in CIM and run as existing client.
Hi Ranger, it is unclear what your question is. Are you just thinking aloud, as they say?
You seem to have answered the emerging questions yourself. Which is a good thing, of course.
No. I can't seem to get anywhere with this. Even from A/N
The script above is for AIM which only runs transactions.
A/N requires CIM for saving CC data and running transactions with an A/N assigned ID.
I can find no information of what a CIM request would look like in CF for:
Create Client Profile ID and run transaction
Run transaction with Client Profile ID
Update client profile and run transaction