Sandbox and Description: http://drupal.org/sandbox/toleillo/1185468
Implements a new payment method for Drupal Commerce.
This module is the Drupal Commerce version (7x) of the existing payment method http://drupal.org/project/uc_4b (6x) for Ubercart.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | drupalcs-result.txt | 10.94 KB | targoo |
Comments
Comment #1
grendzy commentedI don't speak Spanish, so it's difficult for me to find documentation on the 4b service. However, have you considered how requests to
/commerce4b/payment_responseare authenticated? If you don't have some way to verify the authenticity of the request, it's possible for someone to forge a payment. I am not saying for sure that this is a problem with your module, but it's a common oversight in payment modules.I see a reference to
$_REQUEST['MAC']in the callback, could this be an authentication code? If so its value should be checked.Comment #2
grendzy commentedThis application is postponed pending resolution of Drupal security issue #62074.
-- grendzy, on behalf of the Drupal Security team
Comment #3
grendzy commentedUpdate - The maintainer of uc_4b has sent this reply:
toleillo, it looks like your sandbox version doesn't include this IP verification. So, back to "needs work".
Comment #4
eloivaquesubscribe
Comment #5
misc commented@toleillo has been contacted to ask if the application is abandoned.
http://drupal.org/node/894256
Comment #6
toleillo commentedSorry, i don't see this comments and i think that reviewers discard the module. I'll develop IP validation this week and change the status to "need review". right?
Comment #7
toleillo commentedI just added IP validation for production environment like uc_4b in D6.
Comment #8
targoo commentedIt appears you are working in the "master" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.
Review of the master branch:
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. Get a review bonus and we will come back to your application sooner.
Source: http://ventral.org/pareview - PAReview.sh online service
Comment #9
targoo commentedHi
Please find attached the coding standards.
Manual review :
1) you don't need the dependency commerce as commerce_payment already depend on it
2) git release branch missing, see http://drupal.org/node/1015226
3) README.txt is missing
4) only list files in the info file that contain classes or interfaces
5) module file: @file doc block is missing for commerce_payment_4b.pages.inc, see http://drupal.org/node/1354#files
6) "Implementation of hook_menu()." should be "Implements hook_menu()".
Comment #10
toleillo commentedAll changes done! All changes done in branch 7.x-1.x
CodeSniffer and Coder module coding standards passed.
Thanks!!
Comment #11
ionut.alexuc commentedHi,
Is there a posibility to test the module with a test Store Code?
I would like to test the payment workflow.
I found the following issue:
1. I've uninstalled the module and I get the following in rules:
2. Also, I think the values set on administration interface remains the same if I uninstall and install again.
I don't get default values on uninstall / install again.
Comment #12
pvhee commentedWhat is blocking a release of this sandbox as a full project?
@toleillo: I am reviewing a couple of issues with the module (there are some coding convention violations, and the 4B rule is taken hard-coded by machine name). I am willing to help promote this to a full project.
Comment #13
patrickd commentedThe need of a manual in-depth review of the code itself is blocking this issue. If you want to help, please do it ;-)
Comment #14
klausiClosing due to lack of activity. Feel free to reopen if you are still working on this application.