MIGS : MasterCard Internet Gateway Service (Australia)

Contrib type: 
Module
Status: 
Complete and working
Moderation: 
Not ready for moderation

Downloads

Latest version: 
1
Compatibility: 
Ubercart 1.x

This payment module is intended for the MIGS (MasterCard Internet Gateway Service) for what they call the "3rd party" integration method, or the Virtual Payment Client (VPC) which is the interface that processes the payment on their secure server, a bit like 2checkout. This service is used by more than 400 banks arround the World.

I had a very hard time finding this module & fixing it because people call it by the name of the bank that is using it, instead of calling it by its real name: MIGS.

The code was developed by T-Rex Art (http://www.trexart.com.au/) in August 2007, following the model of the 2checkout module, for what the author calls the "ANZ eGate" payment gateway (http://www.ubercart.org/comment/143/Re-Payment-Gateway-redirect-back-site). But it was not working with the latest version of Drupal+Ubertcart. So I applied the little fix suggested here by Ryan in October 2007 (http://www.ubercart.org/comment/3408/Re-issues) & it worked just fine with the latest version of Drupal+Ubercart.

NOTE: There is a module for this same gateway for the Drupal E-commerce module (http://drupal.org/project/commweb) but people name it by the bank that is using it (CommWeb, ANZ eGate, Bendigo...) so it generates confusion as if these were all different gateways requiring different payment modules, making it almost impossible to find when searching with keywords.

TODO: The .pot language file is not inculded in the package.

Note: The code on this page was out of date. For the current download, please to the the project page on Drupal.org. --Admin


spanhfli's picture
Offline
Joined: 04/01/2008
Juice: 7
Hi

So this module should work with any Aust bank that uses the MIGS?

I think NAB calls theirs "Dialect"

blinko's picture
Offline
Joined: 03/01/2008
Juice: 31
MIGS / Dialect

Not only in Australia... Many banks in other countries are using this instead of having to develop their own...

They all call it Dialect... Its MIGS/Dialect... I think Dialect is the name of the software or the company developing the interface.

epop's picture
Offline
Joined: 05/02/2008
Juice: 17
ANZ testers say this does not validate on return

When they change the amount paid on the test server, this module happily accepts it and does not display an error page or anything on return.

ssherriff's picture
Offline
Early adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/08/2007
Juice: 215
Re: MIGS : MasterCard Internet Gateway Service (Australia)

I did that original ANZ one, didn't realize it was the same thing across multiple systems. I've been busy on some other stuff for awhile, but am back to some Ubercart/Drupal stuff. Blinko, what was your plan with this? I'd like to compare my current code with yours, maybe combine it and make it into a project on Drupal? I'm looking at taking a couple things I worked on, updating them, and making a project at Drupal on CVS, this was one of them, but since you have made the latest changes (though I think I probably made some fixes as well to make it work for my client), I thought I would ask you.

Cheers,
Steph

blinko's picture
Offline
Joined: 03/01/2008
Juice: 31
MIGS

Sure you can improve it or make it a "project". Please do as you wish! I am not sure this is compatible with the latest version of UC. Specially after v1.6. It probably needs to be improved or remade. I will post improvements in the future, as soon as I make them... if someone else haven't made them already!

Smiling

glennnz's picture
Offline
Joined: 01/20/2009
Juice: 458
Re: MIGS

Are you planning to upgrade this for D6 and UC2?

Thanks

Glenn

samhodge's picture
Offline
Joined: 05/08/2009
Juice: 19
yes please

I would like to make this work with Drupal 6 and uc 2

Does anybody know how much effort would be required to make this happen?

dudskie@drupal.org's picture
Offline
Joined: 09/30/2008
Juice: 47
Re: MIGS : MasterCard Internet Gateway Service (Australia)

Yes, I have a project that need this. Let me know the progress on this.

grobot's picture
Offline
Joined: 04/12/2008
Juice: 289
D6 port / drupal.org project

I've got a D6 port of this in the works, but I'm not comfortable with contributing it back to the community until the issue with verifying the payment details is resolved. I don't want to make it possible for a whole new bunch of sites to have their transactions faked Laughing out loud

I've just DM'd blinko who posted the original contrib here and asked if s/he is keen to make this module a new project on Drupal.org. I'm happy to create the project and/or co-maintain it if so.

Hopefully I'll hear back shortly, but if not then once the D6 port is ready for prime time, I'll post it as a project on the Drupal site and link back to it from here.

Will probably backport the validation fix to D5 once that's been done too.

Giant Robot - for campaign, charity, ngo & online store solutions - www.giantrobot.co.nz

dudskie@drupal.org's picture
Offline
Joined: 09/30/2008
Juice: 47
Re: D6 port / drupal.org project

I am really interested too to become one of the maitainers of this module. Let me know, how soon you can post the contrib module for Drupal 6 to the community. Thanks.

chozharajan's picture
Offline
Joined: 09/01/2009
Juice: 4
MIGS

Hi,
pls any one can tell how to implement MIGS in drupal(Drupal5 with Ubercart1.7)with steps and here i have attached the screenshots what i was tried.Please provide me the step by step process...Thankful to you...

AttachmentSize
MIGS.JPG 93.39 KB
dudskie@drupal.org's picture
Offline
Joined: 09/30/2008
Juice: 47
Re: MIGS

I am not yet tested this module in Drupal 5. Because my issue right now is in Drupal 6 and Ubercart 2.

But if you look at the code, you should provide info in the settings configuration. Try to look on the code, see attachment on what I mean.

AttachmentSize
migs to be supplied.jpg 142.38 KB
grobot's picture
Offline
Joined: 04/12/2008
Juice: 289
Details shd be supplied by yr bank

You need to request those details from your bank or CC processing authority. They can supply you with live and test account details.

There is a description for each of those form elements you've circled in yr graphic, though - are you saying the descriptions aren't clear enough maybe?

Giant Robot - for campaign, charity, ngo & online store solutions - www.giantrobot.co.nz

grobot's picture
Offline
Joined: 04/12/2008
Juice: 289
Re: MIGS : MasterCard Internet Gateway Service (Australia)

I've uploaded a Drupal 6 version of same at http://drupal.org/project/uc_migs

Pretty sure the issue with being able to bypass validation with incorrect payment amounts is resolved - would appreciate feedback from that, esp from any of the people who reported it in the issue queue.

Giant Robot - for campaign, charity, ngo & online store solutions - www.giantrobot.co.nz

chozharajan's picture
Offline
Joined: 09/01/2009
Juice: 4
MIGS

Thanks for your kindly reply, But we need more details about this module in drupal5...we have the merchant account and everything with us...but when we are clicking that radio button( see it in reference image in attachement)for MIGS payment method no forms are coming to enter the details of the credit card fields or any other fiels( like cvv etc..)...

SO please kindly reply with the steps to integrate of MIGS payment method with Drupal 5... If you provide step by step means it will be very useful to us...

Please have a look at that image and tell me how to fix this.

AttachmentSize
MIGS.JPG 93.39 KB
mattvandel's picture
Offline
Joined: 03/26/2009
Juice: 12
what is keeping this mod in dev satus?

Just wondering what issues/bugs were keeping this module in dev? i had a look at the project page on Drupal.org but could not find any.

grobot's picture
Offline
Joined: 04/12/2008
Juice: 289
Getting uc_migs stable release out

Thanks for the nudge, Blinko.

I'd left the uc_migs module in -dev release pending either (1) my own testing on a live site or (2) someone else doing same and reporting that it worked. To answer your question, then, "lack of feedback". But I should have left an issue open saying "plz post feedback if it works for you", although realistically ... wheels only squeak when they need attention, right? Smiling

A couple of sites appear to be using it and haven't reported issues, so I'll push it to stable now. Feedback and (good) bug reports always welcome!

http://drupal.org/project/uc_migs for download.

Happy holidays!

Giant Robot - for campaign, charity, ngo & online store solutions - www.giantrobot.co.nz

glennnz's picture
Offline
Joined: 01/20/2009
Juice: 458
Re: Getting uc_migs stable release out

I've been using this with no probs at all on a production site for ages Smiling

Have processed many tens of thousands of dollars with it, without a hiccup at all!

Good work!!

grobot's picture
Offline
Joined: 04/12/2008
Juice: 289
Re: Re: Getting uc_migs stable release out

Thanks for the positive feedback Glennnz!

You aren't Glenn of Glennz Tees fame, are you?

If you're in NZ, maybe we'll meet at Drupal South Smiling

Giant Robot - for campaign, charity, ngo & online store solutions - www.giantrobot.co.nz

mattvandel's picture
Offline
Joined: 03/26/2009
Juice: 12
Merchant hosted version of mod

Hello All,

i have been working on a Merchant hosted version of this module and wanted to submit for you guys to have a look at.

Details:
Drupal: 6.15
Ubercart: 6.x-2.0-rc6 (i know i need to update....)
MIGS Bank: ANZ Australia

please look it over and let me know what you guys think.

AttachmentSize
uc_migs_merchant.zip 9.83 KB
grobot's picture
Offline
Joined: 04/12/2008
Juice: 289
nice, let's get that into uc_migs!

Hi Matt

Great work!

Would be happy to roll this into the UC MIGS module in Drupal contrib, as we've done for the UC DPS payment module, for which there's one download containing separate modules per payment processor type.

If you're happy to do this, please open an issue so we can collab on making this happen.

Giant Robot - for campaign, charity, ngo & online store solutions - www.giantrobot.co.nz

sumaiya's picture
Offline
Joined: 05/31/2010
Juice: 23
Thank you

Oh ... Thanks a lotttt for creating this module. It govern the entire site I am building at the moment, where my client only and only wanted to use MIGS because we are based in Dubai Middle east and one of the local banks (Emirates Bank) provide this service.

I am just about to test the module, hopefully hopefully it will work otherwise i will become very hopeless.

Just wanted to thank you for your efforts!!! Smiling) Just having my fingers crossed really tightly that it works!!!

grobot's picture
Offline
Joined: 04/12/2008
Juice: 289
Security advisory - Ubercart MIGS gateway SA-CONTRIB-2010-064

Please note that this module is subject to a Drupal security advisory (SA-CONTRIB-2010-064).

Updated release for uc_migs at http://drupal.org/project/uc_migs (if supplied a fixed version for 5.x I'll happily add that to the downloads there).

See http://drupal.org/node/828614 for details.

The original code as posted in this thread was vulnerable to Web Parameter Tampering.

Giant Robot - for campaign, charity, ngo & online store solutions - www.giantrobot.co.nz

grobot's picture
Offline
Joined: 04/12/2008
Juice: 289
Drupal 5 backport

Drupal 6 users, please use http://drupal.org/project/uc_migs

Drupal 5 users, please see http://drupal.org/node/829866

Giant Robot - for campaign, charity, ngo & online store solutions - www.giantrobot.co.nz

sumaiya's picture
Offline
Joined: 05/31/2010
Juice: 23
MIGS - Page not found

I have installed migs module and entered the test merchant account id, access and security hash.

When i checkout I am directed to the bank where payment etc takes place and when i am redirected to my site i get a page not found error on this link

http://www.magrudy.com/uniform1/?q=cart/migs/complete/1&vpc_3DSECI=06&vp...

And no transaction details like the order or payment etc nothing is registered with drupal admin ie there is no change viewable the shopping cart remains as it is without any change like the order was for 106 AED it remains 106 AED .

Can anybody pleasssssssssssssse help me

sumaiya's picture
Offline
Joined: 05/31/2010
Juice: 23
Re: MIGS : MasterCard Internet Gateway Service (Australia)

Hey i got the solution .. all i did was uninstall uc_migs and reinstalled it again.

I had initially updated the uc_migs software from the drupal interface ie by uploading the new files only but uninstalling and then reinstalling did the trick.