Adding Flags to DoAuthorize and over-riding basket.Checkout

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
niall08
Commander (CMDR)
Commander (CMDR)
Posts: 175
Joined: Tue Dec 09, 2008 10:29 am

Adding Flags to DoAuthorize and over-riding basket.Checkout

Post by niall08 » Tue Mar 03, 2009 7:42 am

Is there any way to add flags to the DoAuthorize function, and over-ride the Checkout function?

I need to state whether the card is present, thereby determining whether the authorisation process should use 3D Secure or not - this situation would arise when the administrator is taking a payment over the telephone.

Would an addition to the accountData array achieve these ends, testing for the content of a particular index before commencing 3D Secure or not?

niall08
Commander (CMDR)
Commander (CMDR)
Posts: 175
Joined: Tue Dec 09, 2008 10:29 am

Re: Adding Flags to DoAuthorize and over-riding basket.Checkout

Post by niall08 » Wed Mar 04, 2009 4:22 am

Well, I got there in the end - I just added a new entry to the AccountDataDictionary object - e.g.


instrumentBuilder["IsAdminPayment"] = "false";

Testing for this entry in the RealEx DLL allows me to pass the data straight into the "sendAuthorisation" function rather than running through 3D Secure, as a customer would have to.

Post Reply