Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 May 2012 at 19:32 UTC
Updated:
25 Sep 2012 at 11:19 UTC
VCS (Virtual Card Services) works with ubercart-3.x with drupal-6.x and based on uc_2checkout. It's a South African Payment Gateway.
I have created sandbox project for this module at http://drupal.org/sandbox/abhishek.kukku/1599214.
You may also check it's live example at http://www.greengimmix.co.za
| Comment | File | Size | Author |
|---|---|---|---|
| uc_vcs.zip | 40.75 KB | abhishek.kumar |
Comments
Comment #1
pgogy commentedHello
Ventral reports some coding standards issues for your project - http://ventral.org/pareview/httpgitdrupalorgsandboxabhishekkukku1599214git
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.
Review of the master branch:
Errors parsing ./uc_vcs.pages.inc
you should fix the PHP error ASAP really :)
Hope this helps
Pat
Comment #2
abhishek.kumar commentedThanks Pat. I will work on the issues and commit with 6.x branch in next 3-4 days.
Comment #3
abhishek.kumar commented@pat: I have created the 6.x branch and cleanup the code according to http://ventral.org.
Comment #4
pgogy commentedhey,
I don't use drupal 6 so I can't test really. I will give the code a quick once over but if you review other projects you get a review bonus (http://drupal.org/node/1410826) and some one will come look at your code quicker.
Comment #5
greenrover33 commentedREADME.txt
has not to be empty
uc_vcs.module
Function parameter declaration is missing.
http://drupal.org/node/1354
uc_vcs_payment_method()
Better use theme("image", ...)
http://api.drupal.org/api/drupal/includes!theme.inc/function/theme_image/6
uc_vcs_payment_method_vcs()
$_SESSION['pay_method'] = $_POST['pay_method'];
You set session by unescaped post values.
Better use check_plain() or filter_xss()
Comment #6
abhishek.kumar commented@greenrover33: sure soon i will update the issues reported by you.
Comment #7
Dan Z commentedThis can't be right, as Ubercart 3 works with Drupal 7, not Drupal 6. Please update your issue summary.
Also, the 2checkout module has had several bug fixes lately. You may wish to check out the development branch of Ubercart to see if those fixes are relevant to your module.
Comment #8
abhishek.kumar commentedI have no access of VCS now so i am not able to make any progress on it.
Thanks
Comment #8.0
abhishek.kumar commentedadding example sites.