This module enables moneybookers payments via ubercart. This module was actually developed and available at http://www.ubercart.org/project/uc_moneybookers. However, they have only Drupal 5 and 6 modules. Since there is strong interest of community in Drupal 7 version of Moneybookers payments via ubercart, We have converted it to Drupal 7.

This module is currently installed and running at our product website.

Link to git repository: http://drupalcode.org/sandbox/tahiralmas/1426948.git

Sandbox: http://drupal.org/sandbox/tahiralmas/1426948

git clone http://git.drupal.org/sandbox/tahiralmas/1426948.git moneybookers_payment_module

Version supported: Drupal 7

Comments

vaibhavjain’s picture

Status: Needs review » Needs work

Hello tahiralmas,

Please follow the guidelines to apply for full project access. http://drupal.org/node/1011698
Also, you have used master branch to include all your code, please use version specific branches like for D7 use 7.x-1.x

tahiralmas’s picture

Status: Needs work » Needs review

I have tried to follow the guidelines as you mentioned. I have also created a module release using git tag instead of just using master branch. Following are the project details again:

Description:
This module enables moneybookers payments via ubercart. This module was actually developed and available at http://www.ubercart.org/project/uc_moneybookers. However, they have only Drupal 5 and 6 modules. Since there is strong interest of community in Drupal 7 version of Moneybookers payments via ubercart, We have converted it to Drupal 7.

A link to your project page:
Here is the link to Drupal sandbox project page. This module is currently installed and running at our product website.

A direct link to your git repository (git clone ...):
http://drupalcode.org/sandbox/tahiralmas/1426948.git

Please specify if it's for Drupal 6 and/or 7:
Drupal 7.x-1.0
http://drupalcode.org/sandbox/tahiralmas/1426948.git/shortlog/refs/tags/...

tr’s picture

Status: Needs review » Needs work

These files do not belong in the repository, and should be removed:

.uc_moneybookers.module.swl
.uc_moneybookers.module.swm
.uc_moneybookers.module.swn
.uc_moneybookers.module.swo
.uc_moneybookers.module.swp
LICENSE.txt
translations
uc_moneybookers.module~

As @vaibhavjain said, you should not have all the code in the master branch. For more info see http://drupal.org/node/1127732

Is CheckPaymentOptions.js your code or is it Moneybooker's code? Third-party code doesn't belong in the repository, so please clarify this issue. If it's yours, it should be renamed to agree with your module name.

You need to change your code to conform to Drupal's Coding Standards.

tahiralmas’s picture

Status: Needs work » Needs review

I have updated the changes as required. I have also created version specific branch at the git repository. However, I was unable to remove the master branch.

I have also modified the file names according to the module name. And finally, tried to make the code according to drupal coding standards.

Best Regards

kaido.toomingas’s picture

Status: Needs review » Needs work

Hei your module needs more that 1000 coding style fixes.
I know thats a lot and pain in the ass the fix, but after you understand and think about these this will be easier.
If I would be you I would use http://drupal.org/project/drupalcs This helped me on the road :p

tr’s picture

You haven't addressed *any* of the issues I raised in #3...

tahiralmas’s picture

Status: Needs work » Needs review

Now I have resolved most of the issues that were raised in #3. Apologies for the previous attempt. Unfortunately, this is my first real working interaction with Git and feeling difficult to handle.

Any how, I have now resolved the following issues:
* removed extra/unwanted files
* moved from master to 7.x-1.0
* updated coding standard to drupal
* renamed the file to match module name.

Best Regards,

tahiralmas’s picture

Hi,
I have updated the issues in my previous post. But I did not received any Feedback yet. Please tell me what I have to do next.

Waiting for your reply.

misc’s picture

Manual review (of branch 7.x-1.x):

Master Branch
It appears you are working in the "master" branch in git. You should only be working in a version specific branch. The most direct documentation on this is . For additional resources please see the documentation about release naming conventions and creating a branch in git.
Maintain info in the README
Please remove maintain info from all the files. This is just needed in the README. Also remove the info about signing up from the .module
No $Id$
Please remove $Id$, they are not needed
Strange access permission?
The access permission uc_moneybookers_access seem strange to me - it always return TRUE, what kind of check is that?
Licensing issues
Are the images included in the module created by you or licensed some how?
Naming of php variables
I think it is quite confusing to have variables like $title2 and $title23, you should really name them in a better way
Hard coded $data?
In uc_moneybookers_vmail_submit you have:
  $url = 'https://www.moneybookers.com/app/email_check.pl';
  $email = $form_state['values']['uc_moneybookers_sea'];
  $data = 'email=' . $email . '&';
  $data .= 'cust_id=6999381&password=a4ce5a98a8950c04a3d34a2e2cb8c89f';

You have a hard coded cust_id and password here, why?

Hard coded cust_id
You have again a hard coded cust_id in uc_moneybookers_validate_sw_submit, why?
Hard coded adress to moneybookers
should it not be better to have the default email adress to moneybookers is a default value, instead of hard coded in php? It maybe could change, and if it changes you have to edit the module code
wla_logging
You function wla_logging should really not be in this module, should it?

This is not a fully manually review, I think there are more stuff to work on, but you should look into the issues above to get this further. Please participate in the Review bonus program to get faster responses.

misc’s picture

Assigned: » Unassigned
Issue tags: +PAreview: security

You should not assign applications to yourself, here we only assign issues to users who are doing manual reviews, so nobody else start doing that during the time. Also added security tag for the access permissions on hook_menu.

caesius’s picture

Status: Needs review » Needs work
klausi’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. Feel free to reopen if you are still working on this application.

klausi’s picture

Issue summary: View changes

Added link to sandbox and repo to clone.