Posted by mitrpaka on December 14, 2012 at 11:15am
5 followers
Jump to:
| Project: | Drupal.org Project applications |
| Component: | module |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
| Issue tags: | PAReview: Commerce |
Issue Summary
Commerce Everyday integrates Everyday web payment method with Drupal Commerce. Everyday is a Finnish billing and part payment online gateway provider.
Link to project page:
http://drupal.org/sandbox/mitrpaka/1866604
Link to git repository:
git clone --recursive --branch 7.x-1.x http://git.drupal.org/sandbox/mitrpaka/1866604.git commerce_everyday
cd commerce_everydayDrupal 7
Reviews:
http://drupal.org/node/1696900#comment-6845714
http://drupal.org/node/1856652#comment-6846034
http://drupal.org/node/1865074#comment-6846064
-----------------------------------------------------------
http://drupal.org/node/1867860#comment-6860358
http://drupal.org/node/1867612#comment-6861716
http://drupal.org/node/1870506#comment-6861784
Comments
#1
Hi,
Firstly there is lots of issue regarding line spaces, indentation & comments.
Look at this !
http://ventral.org/pareview/httpgitdrupalorgsandboxmitrpaka1866604git
Here you can check source code whether it meets drupal coding standards or not, and advise you what to change in your code. You can repeat review after your commits, and can fix those errors.
Manual Review:
1) There is no hook_uninstall to remove your custom variables from database like:
commerce_everyday_method_title, commerce_everyday_method_title_icons, commerce_everyday_method_offsite_autoredirect,etc. in admin.inc2) use
variable_del() in hook_uninstall()that remove variables or delete sql query.#2
Thanks for the comments!
- commerce_everyday.install file with hook_uninstall() added
- line spaces, indentation and comments issues addressed
#3
PAReview: Commerce tag added
#4
We are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and I'll take a look at your project right away :-)
#5
Review links provided and PAReview: review bonus tag added
#6
manual review:
Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
#7
@klausi
Thank you for the review comments. Please see some of the comments below:
1. Changed. '%' placeholder used instead of "!" and check_plain() removed.
2. check_plain() used because of security issues (to prevent potential XSS). I have now removed check_plain() after reading http://drupal.org/node/28984 again and looking drupal_get_query_parameters() API.
3. No. Transaction validation is done after saving $order with $_REQUEST data. Incoming request is saved to $order->data['commerce_everyday']['response'] in order to have data available if needed later on (e.g. for debugging purposes)
4. Idea was to have fresh copy of $order before saving incoming request data. Maybe overkill and thus removed.
5. Unintentionally left for the code after testing. Now removed.
6. You are correct. _commerce_everyday_urlencode() now removed as not needed.
#8
PAReview: review bonus tag added once again (after 3 more reviews done)
#9
PAReview: Commerce tag added
#10
Now having both PAReview: Commerce and PAReview: review bonus tags
#11
Did a manual review, looks RTBC to me now. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
#12
no objections for more than a week, so ...
Thanks for your contribution, mitrpaka!
I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.
#13
Thank you klausi and osscube!
#14
Automatically closed -- issue fixed for 2 weeks with no activity.