3DSecure Support

Contrib type: 
Module
Status: 
Initial upload
Moderation: 
Awaiting moderation

Downloads

Latest version: 
1.0
Compatibility: 
Ubercart 2.x

This module enables 3DSecure support in Ubercart. This is not a standalone module but a facilitator to make such payments possible. This requires a Merchant Plugin Module Implemented and the Gateway Module (which finally performs the payment) needs to add a few lines of code to allow the 3DSecure information available to it. I have developed a Cardinal Commerce MPI Module to go along with this. After both the modules are submitted I'll upload a patch for Ubercart's USAePay module. The link to discussion on this is:

http://www.ubercart.org/forum/ideas_and_suggestions/9680/3d_secure_support


PreviewAttachmentSize
uc_3dsecure.zip (The module. I was on Mac at the time and could not get rid of the hidden files. So uploading as a zip.)11.99 KB
n9986's picture
Offline
Joined: 03/14/2009
Juice: 60
Updating module

Updating with a new LICENSE and removed an embarrassing page permission problem.

AttachmentSize
uc_3dsecure.zip 15.09 KB
hugo_rune's picture
Offline
Joined: 08/12/2009
Juice: 2
Is this just for 6.x?

This looks like just the thing I need to get my 3d secure transactions working - but unfortunatly my client is running Drupal 5.x - have you any plans to write a 5.x version? Or is there any way I could port it? I'm a decent php programmer but know next to nothing about Ubercart/Drupal :|

Cheers - and hope you can help..

Hugo

n9986's picture
Offline
Joined: 03/14/2009
Juice: 60
It can be ported

Hi,

Glad to know of your interest in this module. Smiling I'll can help out on this as it doesnt work for 5.x right now. Porting isn't such a tough task either. (Sorry about the delay in replies as I dont get updates from this thread anymore. Dunno why Sticking out tongue)

Contact me off list if you can. Thanks.

n9986

creslin's picture
Offline
Joined: 09/04/2009
Juice: 2
ubercart 1.0 Drupal v5

Hi,

This module will be really helpful for our site. Did it ever get ported to Drupal5 Ubercart 1?

There's a couple of us here with lots of programming exp but very little drupal background.

Are you available to help us port this to D5 U1?

Thanks
Cres

Croydon's picture
Offline
Joined: 06/25/2009
Juice: 72
Re: 3DSecure Support

Hi, in the code, there is some comments like below in function uc_3dsecure_gateway().

// A little bit of a hack here. Will remove the NULL once I figure out how to pass $data around
$gateway_result = module_invoke('uc_'. $gateway_name, 'charge', $_SESSION['cart_order'], $order->order_total, NULL);

Would it be possible to know can be $data variable be passed to uc_paypal_wpp_charge($order_id, $amount, $data) now?

It seems the $data variable is very import to the success the request.

Thanks

Croydon's picture
Offline
Joined: 06/25/2009
Juice: 72
Re: 3DSecure Support

HI, the total amount shown in the 3dsecure page is always 1 pence less than the actual amount, e.g. 13.94GBP on 3d secure page while 12.95GBP for the actual order, is it possible to debug for it?

n9986's picture
Offline
Joined: 03/14/2009
Juice: 60
Need to refresh

Hi,

Am very sorry about the delayed reply but had several things holding me back. I have to refresh my memory about the $data bit.

For the 1 pence thing, I think you should study the return data from the payment server. Also read what is being passed to request. Let me study the code and get back to you if you have a problem.

kaasi's picture
Offline
Joined: 10/28/2009
Juice: 21
What happened...

Hello,

What happened with this module, need some patch?

realworksmedia's picture
Offline
Joined: 10/23/2007
Juice: 107
Re: 3DSecure Support

Here's a backport that I've been using on a Drupal 5 Ubercart 1.7 site.

Thanks for the original work!

P.S - I've have some other Drupal 5 backports for PayPal Payments Pro (UK) here: http://www.ubercart.org/forum/support/2254/paypal_payments_pro_uk#commen...

AttachmentSize
3dsecure_5.tar 14.22 KB