Name : Novalnet Payment Module - Invoice
Overview :
Novalnet Payment Module - Invoice is an drupalcommerce payment module which supports Invoice type of Payment Processing.The customer can choose this payment gateway during checkout and the customer no need enter his card details.when the customer place the order, he/she will be notified by an email which contains the bank details to pay the order amount. It supports drupal version 7.x-1.x.
Features :
Novalnet Payment Module - Invoice provides fast and secure Payment processing for customers.It offers certain period of time for the customer's payment.
Requirements :
* PHP version > 5.2.0
* Make sure that you have curl installed in your system, if not please install curl, for installation help
please visit "http://curl.haxx.se/docs/install.html".
If you use Ubuntu or Debian you can try:
sudo apt-get install curl php5-curl php5-mcrypt
apachectl restart (restart Apache server)
* Login to your Shop as admin on Browser:
- go to the payment module section.
- install (or reinstall if alread installed) the above mentioned or one of your required payment module, which you want to provide for your shop's customers.
- after installing the module go on the edit mode, and enter the necessary novalnet Parameters required for the payment.
* Go to your shop and select an article to purchase as a customer.
* You will see your installed payment module(s) in action on the
payment page.
* Before you make your Shop Live for the customers, please make
sure that your payment mode at Novalnet is set to Live Mode.
Test Parameters :
Parameters (Which are to be entered in the admin interface)
Novalnet Vendor ID : 4
Novalnet Vendor Auth-Code: JyEtHUjjbHNJwVztW6JrafIMHQvici
Novalnet Product ID : 13
Novalnet Tariff ID : 127
Links :
Project Page (Sandbox) => http://drupal.org/sandbox/Novalnet/1481620
Git Sandbox => http://drupalcode.org/sandbox/Novalnet/1481620.git/commit/be10870 (PAReview)
Git clone => git clone --branch 7.x-1.x Novalnet@git.drupal.org:sandbox/Novalnet/1481620.git
novalnet_payment_module_invoice
Git => http://git.drupal.org/sandbox/Novalnet/1481620.git
Readme => http://drupalcode.org/sandbox/Novalnet/1481620.git/blob/refs/heads/7.x-1...
Reviews of other projects:
(1)
http://drupal.org/node/1493702#comment-5854770
http://drupal.org/node/1418366#comment-5854812
http://drupal.org/node/1525264#comment-5854970
(2)
http://drupal.org/node/1479034#comment-5866260
http://drupal.org/node/1508086#comment-5866262
http://drupal.org/node/1392210#comment-5866264
(3)
http://drupal.org/node/1517856#comment-5909878
http://drupal.org/node/1410514#comment-5909880
http://drupal.org/node/1420358#comment-5909882
(4)
http://drupal.org/node/1436718#comment-5916384
http://drupal.org/node/1457152#comment-5916386
http://drupal.org/node/1489538#comment-5916388
(5)
http://drupal.org/node/1316068#comment-5950600
http://drupal.org/node/1481794#comment-5950598
http://drupal.org/node/1486418#comment-5950604
(6)
http://drupal.org/node/1480562#comment-5964940
http://drupal.org/node/1525808#comment-5964942
http://drupal.org/node/1361660#comment-5964946
(7)
http://drupal.org/node/1532408#comment-5969512
http://drupal.org/node/1377118#comment-5969514
http://drupal.org/node/1528036#comment-5969516
(8)
http://drupal.org/node/1431366#comment-5974702
http://drupal.org/node/1473540#comment-5974700
http://drupal.org/node/1524230#comment-5974698
| Comment | File | Size | Author |
|---|---|---|---|
| #40 | drupalcs-result.txt | 1.76 KB | klausi |
Comments
Comment #1
patrickd commentedProject 1: http://drupal.org/node/1443928
Project 2: https://drupal.org/node/1468662
Project 3: https://drupal.org/node/1483532
As successful completion of the project application process results in the applicant being granted the 'Create Full Projects' permission, there is no need to take multiple applications through the process. Once the first application has been successfully approved, then the applicant can promote other projects without review. Because of this, posting multiple applications is not necessary, and results in additional workload for reviewers ... which in turn results in longer wait times for everyone in the queue. With this in mind, your secondary applications have been marked as 'closed(duplicate)'.
If you prefer that we proceed through this review process with a different application than the one which was left open, then feel free to close the 'open' application as a duplicate, and re-open one of the project applications which had been closed.
Comment #2
novalnet commentedHello patrickd,
Please Review this project application.I will close all other Secondary applications.
Thank you
Comment #3
novalnet commentedHello all,
We closed all other secondary applications.Please review this application.
Thank you
Comment #4
novalnet commentedHello all,
We closed all other secondary applications.Please review this application.
Thank you
Comment #5
patrickd commentedHi,
as there are currently hundreds applications in queue it'll take some time until we can review your application,
so think about getting a review bonus and we will come back to your application sooner.
Comment #6
novalnet commentedHi ,
Thanks for your comment.We already cleared all bugs thrown by "PAReview: review bonus". Only 1 type of error is pending.so please guide us about clearing that error and so we can get the review bonus.
Thanks
Comment #7
patrickd commentedThe problem is that you have to make a new line after beginning a
{eg
to
Comment #8
novalnet commentedHi,
Thanks for your help.We cleared and updated the changes.Please review this application and guide us about the solution , if there is any errors.
Thanks
Comment #9
novalnet commentedHi,
We cleared and updated the changes.Please review this application.
Thanks
Comment #10
novalnet commentedHello All,
We cleared all bugs and updated it.Only one bug is remaining.Please guide us about the solution so that we can get the review bonus.
Thanks ,
Comment #11
patrickd commentedSorry for the delay, as there are currently many applications in queue this will take some time.
Note that getting a review bonus does not depend on how many bugs remain in your module. (more info)
Line 165: >=You got 2 spaces instead of one thereAlso, you got to remove your
Freeware-License Agreementas your software is licensed under GNU/GPL when hosting it on drupal.org repositoryPlease take a moment to make your project page follow tips for a great project page.
Comment #12
novalnet commentedHello all,
We cleared and updated the changes.Please review this application.
Thanks
Comment #13
novalnet commentedHello all,
We cleared and updated the changes.Please review this application.
Thanks
Comment #14
novalnet commentedHello all,
We cleared all bugs thrown by PAREVIEW Validator.Please Manual Review the code and post us the changes to complete this application.
Thanks
Comment #15
ceardach commentedOh no! Novalnet, I'm so sorry, actually we go through tickets that have been updated the longest ago. Updating your ticket is sort of like constantly going to the back of the line :( Think of it like calling a call center and you're on hold... if you hang up and call again, you'll have to wait a long time again because you end up at the back of the line.
I understand this is quite frustrating. We talked about this yesterday at Drupalcon, and we are trying to figure out ways to make this easier.
Comment #16
novalnet commentedHello all,
We added "Review of other Projects" and also Included the Comment Link.So please review our application soon.
Thanks
Comment #17
patrickd commentedSorry I have to remove the bonus tag:
(From #1410826: [META] Review bonus)
Please do 3 manual reviews
Comment #17.0
patrickd commentedIncluded Review of other projects
Comment #18
novalnet commentedHello all,
We added "Review of other Projects" and also Included the Comment Link.So please review our application soon.
Thanks
Comment #18.0
novalnet commentedReview of other modules.
Comment #19
klausimanual review:
Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #19.0
klausiFixed sandbox link
Comment #19.1
novalnet commentedDocument Page Enhanced
Comment #20
novalnet commentedHello all,
We cleared the bugs and committed the code.Please have a look and post your updates.
Note:
We already PAREVIEW the code and all the spaces and indentation are made based on the results of "http://ventral.org/pareview/".So i think the indents error mentioned in above post wont need any updates.
We added "Review of other Projects" and also Included the Comment Link.So please review our application and post Manual review asap.
Thanks
Comment #21
klausiPlease don't remove the security tag, we keep that for statistical purposes and to show examples of security issues. Removing review bonus tag, you did not do any additional reviews of other projects.
Comment #21.0
klausicode Updated and review of other projects
Comment #22
novalnet commentedHello all,
Sorry for removing the tag. we reviewed other 3 projects today.But unfortunately i removed old project review comments.Now i added all the review links.Please review our application.
Comment #23
luxpaparazzi commentedSmall note: Ubantu => Ubuntu
Comment #23.0
luxpaparazzi commentedReview of other projects
Comment #24
klausiDon't forget to set the status to "needs review" if you want to get a review.
Comment #25
novalnet commentedHello all,
Sorry, forgot to add "needs review".Please review our application.
Thanks
Comment #26
andyg5000Line 484 is missing a closing parenthesis
$nn_status_error = t("There Was An Error In Your Payment. Payment Could Not Be Completed @status", array('@status' => $_POST['status']);
should be
$nn_status_error = t("There Was An Error In Your Payment. Payment Could Not Be Completed @status", array('@status' => $_POST['status']));
Also, you're setting the varaible $nn_status_error but returning $novalnet_error which makes line 484 usless.
Comment #27
novalnet commentedHello all,
We cleared the bugs and committed the code.Please have a look and post your updates.
Thanks
Comment #28
klausiRemoving review bonus tag, you have not done any manual review, you just posted the output of an automated review tool. You must always do a manual review and take an actual look at the source code. When finishing your review comment also set the issue status either to "needs work" (you found some problems with the project) or "reviewed & tested by the community" (you found no flaws).
Comment #28.0
klausiProject page changes
Comment #29
novalnet commentedHello all,
Please review our application soon.
Thanks
Comment #30
patrickd commentedComment #31
patrickd commentedshould be
Why is there no example ? I don't have to make any sense, just provide a trivial example.
please put a new line between functions
Pin By SMS(nur Handy)make sure all translatable strings are englisht('Call Back Method: ')why the single space in the end? ;t('Payment period in days::')why the double :: ?),
'true' and 'false' should be translatable here and 0 and 1 may better be TRUE and FALSE ? why your not using booleans for the testmode variables?
if (isset($data['mobile'])||isset($data['email'])) {please always put spaces between operators ->if (isset($data['mobile']) || isset($data['email'])) {should be
check your indentation, always use 2 spaces for indenting. on many places there are lines indented with 4 spaces, etc.
function commerce_novalnet_invoice_check_status(&$parsed) {there are 2 spaces between function and the function nameI know this is all very picky, but the whole code looks to me kind of "quick written".
Please take more care of this, try to get used to these standards and your code will look much cleaner.
Comment #32
patrickd commentedComment #32.0
patrickd commentedReview of other projects
Comment #32.1
novalnet commentedProject Page Changes
Comment #33
novalnet commented@patrickd : Thanks for your valuable review comments.
We cleared the bugs and committed the code. Also we mentioned other projects review in our project page.
So Please review our application soon.
Thanks,
Comment #34
novalnet commentedSorry forgot to change to "needs review".
Comment #35
luxpaparazzi commentedGenerally I find your reviews not very elaborated, I recommand having a look at the following post:
Comment #36
klausimy first point from #19 is still not fixed.
Comment #37
xenophyle commentedREADME.txt
1. The indentation is inconsistent: sometimes the block starts 2 spaces after the number and sometimes 3.
2. You should also use this rule for line length: Comments should be word-wrapped if the line length would exceed 80 characters (i.e., go past the 80th column, including any leading spaces and comment characters in the 80 character count). They should be as long as possible within the 80-character limit. This comes from Doxygen and comment formatting conventions but also applies to format the README.
3. The item from Comment #23 hasn't been fixed (Ubantu => Ubuntu)
4. Each sentence should start with a capital letter.
commerce_novalnet_invoice.api.php
There is still no example for hook_commerce_novalnet_invoice_request_alter().
commerce_novalnet_invoice.module
1. Drupal uses American spelings: e.g., Authorisation should be Authorization.
2. You should use "PIN" instead of "Pin" when the word is displayed, since PIN is an abbreviation for personal identification number and pin is a sharp piece of metal.
3. Comments should be word-wrapped if the line length would exceed 80 characters (i.e., go past the 80th column, including any leading spaces and comment characters in the 80 character count). They should be as long as possible within the 80-character limit.
4. A number of items from comment #19 haven't been fixed: items 2, 8, and 9.
5. Sections starting with
$parsed = $_SESSION['invoice_parsed'];
and
commerce_novalnet_invoice_transaction($payment_method, $parsed, $order, $charge, $pane_values['dummy'], $data);
are also indented too much.
6. Comment #31 item 6 still seems to be not fixed.
Comment #37.0
xenophyle commentedReview of other projects
Comment #37.1
novalnet commentedUpdated Project Page
Comment #38
novalnet commentedHello all,
Thanks for your reviews.This helps us a lot to standard our codings.
We updated the project page and commited the mentioned changes.During our optimization we almost tried to avoid redundant codes , so we removed commerce_novalnet_invoice.api.php and commited the changes.So, as of now all are works fine.
Please review our application soon to get this complete, as this application is under review for a long time.We also posted other application reviews.
Thanks
Comment #38.0
novalnet commentedProject page changes
Comment #39
novalnet commentedSorry forgot to change the Status "needs review".
Thanks
Comment #39.0
novalnet commentedReview of other projects
Comment #40
klausiYou need to fix your project page which is not this issue but the page of your sandbox: http://drupal.org/sandbox/Novalnet/1481620 . This will also be the public face of your full project once it is promoted.
Review of the 7.x-1.x 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.
manual review:
Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #40.0
klausiremoved link to this application issue
Comment #41
novalnet commentedHello all,
@klausi => thanks alot for your review.
1.We removed t() from drupal_set_message(t($success), 'error'); due to second translation.
2. The dummy variable is now assigned with two values which is useful to detect the method i.e normal or email based callback.Hope now it will be fine.
3. Also based on your review , we went to optimizing and removed some redundant codes.
So please review our application to get this complete soon.
We posted other application reviews also.
Thanks to all
Comment #42
scarer commentedI've had a look through the code. On line 14 - 17 of the .module file you're using double quotes instead of single quotes. Was there a reason for this?
$image = array(
'path' => "$path/modules/payment/novalnet/novalnet.png",
'alt' => "Novalnet AG",
);
Double quotes force PHP to parse the string.
On line 53 of the .module file there's more than one space between words in the description string:
'#description'=> t('Enter Your Novalnet Authorization Code'),
On line 259 of the .module file you're using capitalisation for the warning error:
drupal_set_message(t('Please Enter the PIN Number You Have received.'), 'warning');
Seems to be the only time you're using this. Also the word "new" is capitalised on line 291:
drupal_set_message(t('Enter the New PIN You have received !'), 'warning');
Also on this line, there is a space between received and the exclamation mark. This error also occurs on line 296 and 301:
drupal_set_message(t('Please answer the email - reply email check !'), 'warning');
drupal_set_message(t('Enter the New PIN You have received !'), 'error');
Capitalisation for all words in string on line 305:
drupal_set_message(t('Oops! Maximum Time Exceeded!'), 'error');
Capitalisation of the word "correct" on line 320:
drupal_set_message(t('Oops! Enter the Correct PIN number'), 'error');
In the function function commerce_novalnet_invoice_default_param_list(&$data, $order, $billing_address) { on line 349 in the .module file, is all the data being sanitised correctly? Also, I was wondering with the XML response that you're getting and storing in your data variable, is all the response data being sanitised correctly before it's used?
Also, from line 547 to line 562 in the .module file there's some lines of code that have been commented out - maybe use a multi-line comment e.g. /* */ with a description of what these lines of code are there for. Are they part of a TO-DO list item? Or perhaps remove them all together if they're no longer needed?
I installed the module and it doesn't seem to throw any errors.
I ran the module through Ventral: http://ventral.org/pareview/httpgitdrupalorgsandboxnovalnet1481620git-7x-1x and no errors either.
Hope this helps.
Comment #43
novalnet commentedHello all,
@scarer, thanks for your review.
In the function function commerce_novalnet_invoice_default_param_list(&$data, $order, $billing_address) { we are getting values from drupal only and also xml results only numbers as result.so we thought that sanitize is not required. or does it requires?
We commited and updated our changes .So please review our application.
We also posted other applications review.
Thanks to all
Comment #43.0
novalnet commentedReview of other applications
Comment #44
klausimanual review:
t('Novalnet Transaction Id @tid', array("@tid" => $parsed['tid'])). That might mean that you will include the label tags into the string passed to t() in some cases, but that's better than having t() calls with just a placeholder in them.Although you should definitely fix those issues they are no application blockers, otherwise I think this is RTBC. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #45
novalnet commentedHello,
@klausi, thanks for your review.
1.@point 3 =>Now we made some changes in that part.Also we were reviewed that t() should not allow HTML inside it.So only we put outside.This results to concadination of two t() values.Is this ok ? else please guide us about this.
2.@point 4 =>we directly assigned ipaddress value to the parameters and so we removed the function commerce_novalnet_invoice_getRealIpAddr().
3.@point 5 =>All the messages are instructions to user and its not an error.so only we used drupal_set_message().Also those are not a validation result.That is an extra feature provided by our payment module and it get invoked only after form submit.
So we think it wont be an issue.
We commited and updated the changes.Please review the application to get it complete and approved soon.
Also we posted other application review also.
Thanks
Comment #45.0
novalnet commentedReview of other apllications
Comment #45.1
novalnet commentedReview of other applications
Comment #46
klausiNo need to set this back to "needs review" at this point.
Comment #47
patrickd commentedThanks for your contribution and welcome to the community of project contributors on drupal.org.
I've granted you the git vetted user role which will let you promote this to a full project and also create new projects as either sandbox or "full" projects depending on which you feel is best.
Thanks, also, for your patience with the review process and also for your help in the application queue! 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.
As you continue to work on your module, keep in mind: Commit messages - providing history and credit and Release naming conventions.
Thanks to the dedicated reviewer(s) as well.
Comment #48
novalnet commentedHello all,
Thanks a lot to one and all for providing Full project access to us and those who were reviewed our applications.We will give our best to contribute drupal.
We have few Doubts, please guide us about this.
In future,
1.Can we able to rename our Module tittle ? ex: "Novalnet Payment Module-Invoice" to "Novalnet Payment Module"
2.Can we able to add new files to this Module ?
3.Does Full project Access is only for this module , else it will be applicable for all other modules created under our User name?
4.If we add any new modules later, do we want to submit for review?
We are unaware about this.Please clarify us.
Thanks to all
Comment #49
patrickd commentedThe full module name can be changed but the module shortname can't
You got full git access, surely you can change and add files
Once your first application has been successfully approved, you can promote other projects without review.
As no further reviews are required we please you not to create further project applications so the workload of reviewers won't be doubled unnecessary
Comment #50
novalnet commentedHello Patrick,
Thanks for your valuable information.A small doubt from your point,
1. Does our application already approved ? or here after only it will be approved? If so, Is there any procedure for approving the application ?
2.We are thinking to create a another new application under this username without review.Does this possible?
Please guide us about to get the solutions.
Thanks
Comment #51
klausiYes, this application has been approved.
As successful completion of the project application process results in the applicant being granted the 'Create Full Projects' permission, there is no need to take multiple applications through the process. Once the first application has been successfully approved, then the applicant can promote other projects without review.
Comment #52.0
(not verified) commentedUpdated issue summary.
Comment #53
avpaderno