Extremely tiny module, (15 lines). Everything is good 2 go.

Stripe Payment Processor integration for CiviCRM.

This is a required helper module for Stripe's javascript library to be able to pass on the generated token to the Payment Processor file.
It works in tandem w/ the Stripe Payment Processor CiviCRM Extension (CMS independent except for this important feature), found here:
https://github.com/drastik/civicrm_stripe

Comments

jwjoshuawalker’s picture

Issue tags: +CiviCRM

Tagging

killerpoke’s picture

Status: Needs review » Needs work
Code too short
This project is too short to approve you as git vetted user. We are currently discussing how much code we need, but everything with less than 120 lines of code or less than 5 functions cannot be seriously reviewed. However, we can promote this single project manually to a full project.
Master Branch
It 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.
project page
Please take a moment to make your project page follow tips for a great project page.
Libraries API
You should consider using the libraries-module for the vendor js and php files needed by this module.

I'm changing the project-status to "needs work" because of the project-page, and the master-branch.

jwjoshuawalker’s picture

Status: Needs work » Needs review

Code too short:
I can't help that. However you have a link there to the very large code body of the payment processor integration as well. I think a peek at that well justifies my permission, both as a coder and git user. https://github.com/drastik/civicrm_stripe
Either way, I'll be submitting more work soon enough which will get me there if this doesn't.

Master Branch:
Ok it's got 6.x and 7.x versions now.

Libraries:
Pulling js from their remote path so it's always up-to-date.
PHP files go in CiviCRM directory, not Drupal, and the extension is CMS agnostic. CiviCRM needs to read them from it's internal /packages directory since it is included in PATH.

patrickd’s picture

Your branches are named wrong: 7.x-1.0 -> 7.x-1.x
Also it's better if you don't create tags until you actually can create releases.

Set an appropriate branch other than master: http://drupal.org/node/1659588.

git checkout 7.x-1.x
git branch -D master
git push origin :master
jwjoshuawalker’s picture

Ok. I can't do anything about the camelCase, that's just the way Civi has named their hooks & variables.

http://ventral.org/pareview/httpgitdrupalorgsandboxdrastik1719796git

I can't figure out why it doesn't like the @param.. mine is just like all the other modules I've compared it to.

jygastaud’s picture

Hi,

You should try to do something like that

  * @param string $formName
  *   The name of the form.
  * @param array $form
  *   Reference to the form object.

Where @param is following by the type of the param then the variable used.

jwjoshuawalker’s picture

@jygastaud

Ah yes, I see that here now: http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutoria...
Thanks.

Ok--- There is literally nothing left for me to do since I can't change camelCase:
http://ventral.org/pareview/httpgitdrupalorgsandboxdrastik1719796git

carwin’s picture

Using http://groups.drupal.org/node/184389 and http://drupal.org/node/894256 as a template for this review.

README.txt
Check
project page
Check - As detailed as something like this could be.
Master Branch
Nope. Branches match naming conventions.
Major coding standards / best practice issues
An automated review of your project has found no issues with your code. The only conceivable issue is the camel case which can't be helped because that's how CiviCRM requires it to be.
License
No License file, check.
access administration vs. administer site configuration
Irrelevant for this since it's controlled by CiviCRM
files[] without classes or interfaces
None, check.
Licensing issues
No License file, check.
Multiple Applications
It appears that there have been multiple project applications opened under your username:
CiviCRM Honor Profile: http://drupal.org/node/1117556
* I talked with drastik on IRC and I closed Honor Profile so this is dealt with.
Already Approved
Wouldn't that be nice?
Idle Application
Nope, still active.
Code too short
There really isn't anything to be done about this for this particular module and I believe it should be granted an exception status. This module is simply a connector to CiviCRM's extension of the same name (and by the same author). Review his work on CiviCRM for more validation of his ability.
Duplicate module
No other module I've found adds Stripe as a payment processor for CiviCRM - this is such a specific module that there's not even another option.
carwin’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: -PAreview: review bonus +PAReview: CiviCRM

Changing tag because I used the wrong one, changing status because I forgot to.

klausi’s picture

Status: Reviewed & tested by the community » Fixed

Sorry for the delay, but you have not listed any reviews of other project applications in your issue summary as strongly recommended in the application documentation.

Thanks for your contribution, drastik!

I promoted this project for you: http://drupal.org/project/civicrm_stripe

Now that this experimental project has been promoted, you'll need to update the URL of your remote repository or reclone it.

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.

carwin’s picture

Congratulations drastik!

jwjoshuawalker’s picture

Thanks carwin :)

I wish I had more time originally to do reviewing. Just before you updated this, I set up a DSC instance on my server to do reviewing. I will do a few reviews regardless to lighten the load. klausi, thank you.

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

cleanup

avpaderno’s picture

Title: CiviCRM Stripe » [D7] CiviCRM Stripe
Issue summary: View changes
Issue tags: -