I would like to create a module for accepting credit cards from Greek Banks in the ubercart module
i have created a module in ubercart contributions for one bank
(http://www.ubercart.org/contrib/13345)
and i would like to initiate an effort to include all Greek Banks
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | uc_greek_banks-6.x.zip | 31.69 KB | jimkont |
| #7 | uc_greek_banks-6.x.zip | 28.29 KB | jimkont |
| #6 | uc_greek_banks-6.x.zip | 23.13 KB | jimkont |
| #2 | uc_proxypay3_eurobank-1.x.zip | 28.34 KB | jimkont |
Comments
Comment #1
avpadernoYou should apply for a CVS account because you have a module to add in Drupal.org repository, not because you would like to create a module.
The CVS application needs to review your code, which needs to be almost complete, when you apply for a CVS account.
Comment #2
jimkont commentedthe contributed code to ubercart
Comment #3
jimkont commentedthe module is complete and working.
i'd like to create the porting to 6.x in drupal.org,
and in time, sub-modules for other banks
Comment #4
avpadernoComment #5
tr commentedI think this would be a useful contribution if it were compatible with Drupal 6 / Ubercart 2.
My concern is that I don't think you should be starting a new project to host a Drupal 5 / Ubercart 1 module, as it is almost obsolete right now. A big problem on drupal.org is an abundance of outdated and unsupported modules that no longer work with the current version of Drupal - will this module be just another one of those right from the start?
I think if you ported it to Drupal 6 / Ubercart 2 *before* you asked for a CVS account that would demonstrate that you want to actively maintain this module.
Comment #6
jimkont commentedi had already started the porting while i applied for cvs
see the new attachment
i think it is complete and working
Comment #7
jimkont commentedsome code cleanup and 6.x install schema
Comment #8
avpadernoPlease complete the code before to submit it to review; the module file contains 69 lines of TODO.
Comment #9
jimkont commentedthese TODO are leftovers from a general 5.x to 6.x conversion and have nothing to do with the module
everything that needed to be fixed is fixed and there is nothing left to add
all i have to do is just delete them
i 'll upload a new version as soon as possible
Comment #10
jimkont commentedComment #11
Anonymous (not verified) commentedComment #12
zzolo commentedInitial review of code and files without installing or trying to use:
you need to make the text translatable in l() with st(). See http://api.drupal.org/api/function/l
The uninstall schema will drop the table. You should utilize variable_del() function. See this article for a good way to do this: http://zzolo.org/thoughts/tip-managing-variables-drupal-module
This should utilize theme_image().
If this is a response from a Drupal form, you should not be using POST directly. Why are you directly printing to screen? watchdog uses t() directly and you should use variables in your text like that. You should do a module_invoke_all('exit') before exiting.
Comment #13
avpaderno