Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Feb 2013 at 10:38 UTC
Updated:
12 Mar 2015 at 11:24 UTC
Jump to comment: Most recent
Comments
Comment #1
abhijeetkalsi commentedHi,
first of all there are quite a few issues to sort out such as indentation, whitespace.
You can find them all here:
http://ventral.org/pareview/httpgitdrupalorgsandboxbekirdag1905430git
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.
Do not use ?> delimiter in end of file, it done by drupal's 'Prepend.inc' file itself.
Also change your status to Need review, If you want to review your module by community reviewer.
Comment #2
bekirdag commentedThank you Abhi,
I have fixed those issues you can test it again.
http://ventral.org/pareview/httpgitdrupalorgsandboxbekirdag1905430git-7x-1x
Comment #3
kartagisYou should utilise t() where applicable, thus
drupal_set_message('We encountered an error processing your transaction. Please contact us to resolve the issue.', 'error')should be
drupal_set_message(t('We encountered an error processing your transaction. Please contact us to resolve the issue.'), 'error').Regards,
K.
Comment #4
bekirdag commentedThank you Kartagis, i fixed that too.
Comment #5
klausiWe 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 :-)
Priority is normal, see http://drupal.org/node/539608
Comment #6
bekirdag commentedThank you klausi,
I have reviewed
http://drupal.org/node/1844398#comment-7073182
http://drupal.org/node/1691566#comment-7073102
http://drupal.org/node/1899230#comment-7074474
Comment #7
klausiDon't forget to add the "PAReview: review bonus" tag as indicated in #1410826: [META] Review bonus, otherwise you won't show up on my high priority list.
Comment #8
bekirdag commentedI did now klausi, thanks for the effort.
Comment #9
JulienD commentedHi there,
Please, DO NOT activate by default a payment method. As soon as the module will be enabled, the payment method will be available for customers without any configuration set.
'active' => FALSE,You should put in the description of your payment method that's a ON-Site solution.
Why didn't you used the normal setting form provided by Commerce_payment and Rules? This avoid the creation of a hook_menu and the storing variables in the database.
You should add more descriptions to your setting fields to help merchants to fill out them (what's needed, where they can find the info...)
I tried to pay with your module without filled out any settings and got an error. Customers shouldn't be in front of error pages like that.
Exception: Geçersiz bir slug seçtiniz. Seçenekler: garanti, akbank, isbank, finansbank, halkbank, anadolubank. in EST->__construct() (line 117 of /home/vagrant/public_html/drupal-commerce/sites/all/modules/contrib/commerce_est/est.inc). Backtrace:functions commerce_est_transaction() and commerce_est_cvv_response() are not used. New or old code ?
You use a php class to process the payment, but this file is not declared as a file in the info file.
files[] = est.incAlso, when you create a form in order to save things in the variables table, use system_settings_form (@see http://drupal.org/node/222158) it's easier and you don't have to save all the variables one by one. And when you use variables, think to remove them during the uninstall process.
Comment #10
JulienD commentedComment #11
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #12
bekirdag commented1. Active false fix
2. More description added
3. "Why didn't you used the normal setting form provided by Commerce_payment and Rules? " well i don't know how to do it, if it's not a big deal i'd like to leave it as it is, or a little guidance would be appreciated.
4. Empty fields on settings control added
5. Old functions removed
6. File added to .info file
7. system_settings_form used.
Thank you very much Julien!
I reviewed
http://drupal.org/node/1844398#comment-7073182
http://drupal.org/node/1691566#comment-7073102
http://drupal.org/node/1899230#comment-7074474
Comment #13
kartagisChanging status to Active.
Comment #14
pingwin4eg@Kartagis Why?
@bekirdag Copy links of your reviews to the issue summary.
Comment #15
bekirdag commented@pingwin4eg what do you mean by that?
Comment #16
pingwin4egReviews from your comment #6. You should edit this issue and add them to the description. Because it is not obvious that you reviewed other project applications.
Comment #17
bekirdag commented@pingwin4eg how does it look now?
Comment #18
pingwin4egComment #19
klausiReview of the 7.x-1.x branch (commit 6946071):
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. You have to get a review bonus to get a review from me.
manual review:
Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #20
bekirdag commentedThank you klausi,
1. I removed the hook_menu and convert to default payment rule method and getting the settings from $payment_method variable
2.
3. Fixed the watchdog mistake, it shouldn't be _DEBUG in the first place actually, should be _INFO, so i changed it.
Here are my reviews:
https://www.drupal.org/node/2307817#comment-9172801
https://www.drupal.org/node/2337931#comment-9172753
https://www.drupal.org/node/2336221#comment-9172665
Comment #21
bekirdag commentedComment #22
rishi.kulshreshthaAutomated Review
Best practice issues identified by pareview.sh seems to be clean.
Manual Review
'code' => ''x_amountis commented on line 90 I think you have used it above, if you really don't needed it then please remove.This review uses the Project Application Review Template.
Comment #23
rishi.kulshreshthaComment #24
klausiLooks like the issues you found are minor and not application blockers, anything else or should this be RTBC instead?
Comment #25
rishi.kulshreshthaAs the issues found are minor and not application blockers, moving this project to RTBC.
Thanks for your contribution!
Comment #26
bekirdag commentedThank you guys, so how will i get permission to promote the module? Or what now?
Comment #27
pushpinderchauhan commentedGetting review bonus would help speed up the process and make sure it gets on the review admins radar.
Comment #28
klausiSorry for the delay, looks like you forgot to add the review bonus tag again?
manual review:
watchdog('commerce_est', 'Est response: <pre>@response</pre>', array('@response' => print_r($response, TRUE)), WATCHDOG_INFO);.Comment #29
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.