OrderID and 3D Secure

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

OrderID and 3D Secure

Post by niall08 » Thu Feb 26, 2009 2:24 am

The OrderID is generated in the checkout process - but I need the ID before the DoAuthorize function is called - in order that I can start the 3D Secure process by verifying enrollment in the program - any ideas??

The process is:
1. User submits their card details
2. If the card is Visa or Mastercard, check enrollment in the program, redirect thenm to a secure bank page, receive data back to a page that you stipulate, and proceed with the DoAuthorize
3. Otherwise just DoAuthorize.

Help, please..

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: OrderID and 3D Secure

Post by mazhar » Thu Feb 26, 2009 2:44 am

The very first location where you can access the order id is the CheckedOut handler of OnePageCheckout control and at that time the payment processing is already done. So if you want to trigger some of your custom code before gateway authorizes the payments then you have to provide your custom implementations for the desired gateway and trigger your custom code in its DoAuthorize method.

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

Re: OrderID and 3D Secure

Post by niall08 » Thu Feb 26, 2009 2:59 am

Thanks Mazhar..

So - is this possible..??

In DoAuthorize, send an XML message to the payment gateway, receive and process the response, then REDIRECT the user to another page, breaking from the DoAuthorize method.

At a later stage to DoAuthorize can be called again, with the normal authorisation of the payment

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: OrderID and 3D Secure

Post by mazhar » Thu Feb 26, 2009 3:04 am

Source for Authorize.Net is available here, you can check that to find out how you can tackle your customization.
viewtopic.php?f=47&t=5926

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

Re: OrderID and 3D Secure

Post by niall08 » Thu Feb 26, 2009 3:06 am

Thanks - I already have that, and have a working model of RealEx based on that example - but this 3D Secure stuff is something different altogether.

DoAuthorize accepts a "transaction" object - can I create this object in my code for passing to DoAuthorize at a later point in the payment gateway functionality??

msalman
Ensign (ENS)
Ensign (ENS)
Posts: 14
Joined: Tue Jan 27, 2009 2:10 pm

Re: OrderID and 3D Secure

Post by msalman » Thu Jul 16, 2009 8:45 am

Hello,
Were you able to implement 3D secure in AC7? We are currently brainstorming about it as well as our clients wants to have Visa/Mater secure verification for international orders. If you were able to implement it can you provide some guidance on the code changes that we need to make?

Thanks

Post Reply