The downpayments module allows store administrators to add partial payment(s) as a product feature. They can assign a down payment amount and the due date to any product, and manage down payments and partially paid orders in the admin section.

For products with the downpayment feature configured, buyers can select if they wish to pay the full price or only the down payment. If they choose down payment, a certain number of days before the due date, as determined in the downpayment product feature settings by the store administrators, they will receive an email remainder about the remaining payment balance. They can see the information about their partial payments under a new tab in My Account where they can add the remaining balance to the cart and finalize the payment.

We have developed this module over several months and it is already in production use on our site and going live this week on another site (by one of the ChipIn contributors). Thanks to everyone who helped with the bounty to get this on drupal.org - the community support has been great!

Sandbox project page: http://drupal.org/sandbox/covenantd/1103142

Ubercart thread with votes, ChipIn's totaling over $1,000 and patch contributions: http://www.ubercart.org/forum/bounties/15764/1000_partial_payment_module

P.S. We sat in CVS account approval "purgatory" for several months (see http://drupal.org/node/988244) while D7 so are excited to be in the promised land of Git!

CommentFileSizeAuthor
#15 add_to_cart.png14.91 KBsukr_s
#15 checkout.png7.49 KBsukr_s

Comments

sokrplare’s picture

Uh-oh, now I'm getting nervous we'll never get out of the Git project approval queue either!

tr’s picture

Status: Active » Needs review

It's not on the radar unless it's set to "Needs review" ...

WillHall’s picture

Awesome module - thanks for the contrib!

sokrplare’s picture

Thanks for the status switch, TR! I've updated the project application doc to note this as well (http://drupal.org/node/1011698/revisions/view/1412522/1438238)

sokrplare’s picture

Bump!

arcaneadam’s picture

You should run the module through Coder and fix any errors or warnings.

Status Messages:
 Coder found 1 projects, 10 files, 1 critical warnings, 16 normal warnings, 47 minor warnings, 0 warnings were flagged to be ignored
arcaneadam’s picture

Status: Needs review » Needs work

Setting to needs work till it is run through coder and cleaned up.

sokrplare’s picture

Component: new project application » module

Thanks, Adam - will do.

sokrplare’s picture

Was confused where you were seeing those errors since when we had checked with Coder before none of that came up. Just realized you gave it a go for D7 whereas the module was written for D6 (actually, D7 wasn't even out when this was written - slow module approval process, but that's another story!). Will see if porting to D7 makes sense right now since Ubercart itself is still beta for D7. We're just wanting this approved for D6 for now though.

sokrplare’s picture

Went ahead and followed up with Coder for D7 and figured it wouldn't hurt to deal with all the issues we could now so easier to port later.

The only critical warning being reported is that the theme() function is used in the Drupal 6-style without the $variables array, however, since this is Drupal 6 module we are supposed to use it in D6 way. When ported we'll make that little switch.

All normal warnings remaining are related to "Include the CVS keyword $Id$ in each file. This should be in the format // $Id$ or // $Id$”. With Git no longer applicable.

I have fixed all other minor errors so none are being reported in either version. Committing the new version shortly.

Thanks, Adam!

sokrplare’s picture

Status: Needs work » Needs review

Committed (see http://drupalcode.org/sandbox/covenantd/1103142.git/commit/8043ffa) so setting back to needs review.

sukr_s’s picture

Status: Needs review » Needs work

the following is not transalatable at line 336. need to fix this... haven't tested the functionality still

$item->title = $item->title . ' (Down Payment: ' . $item->data['downpayment']->dpid . ')';
sokrplare’s picture

Good catch - thanks, Sudhir! Will get that fixed up.

sokrplare’s picture

Status: Needs work » Needs review
sukr_s’s picture

Status: Needs review » Needs work
StatusFileSize
new7.49 KB
new14.91 KB

Hi Joshua,
it did not work for me. See the attached screen shot. The steps i followed
1. add a down payment option for the product.
2. as a customer, i selected the product, selected the downpayment and clicked add to cart
3. then i do a checkout.
what i see in the checkout pane is the original price and not the down payment that was chosen. note that i use ajax based add to cart from module uc_ajax_cart.

A very interesting module and has a great scope (would love to use it myself with...). Specifying the down payment per product is quite intense work in a typical ecommerce site. would be great if there is a general setting like
1. x% of product is down payment value
2. y% of order is down payment value
3. exclude products from part payment.
4. full payment within z days of order or -z days before shipment date
(and the list can go on)
great work,
Sudhir.

sokrplare’s picture

Status: Needs work » Needs review

Hey Sudhir!

Thanks for the report. Sounds almost like an incompatibility issue with uc_ajax_cart. Since this isn't a fundamental module architecture issue or anything, probably better to pursue it in the issue queue so this doesn't hold up approval and prevent others from using the module. I know this module has been implemented on 6-12other sites already with no issues so it does work.

Love the feature ideas too - a couple of these have already been mentioned in the Issue queue and if you can add the others that would be great. We're hoping to get those added, but want to first make sure the module is approved before we start feature additions.

Setting this back to needs review so we can hopefully get it approved shortly!

sukr_s’s picture

Status: Needs review » Needs work

Joshua,
I had further chance to test the module. it seems that the currency is hardcoded to $ (USD). My site runs in Rs. (INR). However when i access user/%/downpayments, all the amounts are shown in $ and not in Rs.

beringstrasse’s picture

Hey. I'm testing this module for a school selling conferences and it fits my purpose perfectly.
However I don't think I'm receiving an email when my payment is due. And how could I test it other than setting the due date to one day from now...and wait. I feel kinda stupid doing that.

jordojuice’s picture

Issue tags: +PAReview: Ubercart

Adding UC tags.

tr’s picture

Issue tags: -Ubercart

Please remove all trailing whitespace.
Please add doxygen comments to all your functions, including @param and @return tags where needed. Please add a doxygen block with a @file tag at the beginning of each file. See http://drupal.org/node/1354

sokrplare’s picture

Thanks for the feedback (#20 especially). Will get these changes made!

sokrplare’s picture

Fixed the problem in comment 17 (hard-coded currencies).

sokrplare’s picture

Regarding comment 18, the easiest way to test this is to set the the due date to one day from now and run cron, it should work.

sokrplare’s picture

Status: Needs work » Needs review

Committed changes related to comment #20 (Doxygen and comment formatting conventions as at http://drupal.org/node/1354).

Many thanks for your input.

sokrplare’s picture

Any opposition to switching status to reviewed and tested based on all the great input we've had so far?

sokrplare’s picture

Status: Needs review » Reviewed & tested by the community

I believe we're ready to go!

mlncn’s picture

Status: Reviewed & tested by the community » Fixed

You are not supposed to RTBC these things yourself (which would be why others haven't fixed this), but i do think that eight months is sufficient wait time, and you've demonstraited your project maintainer chops in this issue. You are now a vetted git user and can promote full projects.

Thanks and looking forward to your Drupal offerings!

interestingaftermath’s picture

subscribe

sokrplare’s picture

@mlncn - I figured going RTBC myself wasn't the standard procedure, but like you noted - after eight months I just want this thing released! Thanks SO much for getting this rolling - very excited on my end - was starting to give up hope!

Just tried promoting the project, but I think from the trouble in http://drupal.org/node/988244#comment-3960120 (and comments 22-23) the URL for it is "taken" - http://drupal.org/project/uc_downpayment

Anyone know how to remove that node since it is the most accurate name for the module? Cross-posting this on the other thread to see if George or someone else can do this.

sokrplare’s picture

Checked with George and looks like the node is created, but Unpublished. So we need someone with administrative access to delete the now-rogue project, give ownership to me, or publish it so George can do one of these things. Any hope?

sokrplare’s picture

Any admins? I could rename the project, but would be a shame as this name fits best.

tim.plunkett’s picture

I have republished the node. If you need the ownership switched, please have george@dynapres.nl comment here to verify.

sokrplare’s picture

Thanks so much, Tim - passed on to George to see if he can switch ownership or otherwise comment to verify.

mo6’s picture

Tim, could you please transfer the ownership of the project to Joshua? Thanks.

tim.plunkett’s picture

Done. Thanks George and Joshua!

sokrplare’s picture

Hooray! Cheers all!

sokrplare’s picture

Status: Fixed » Closed (fixed)
Issue tags: -PAReview: Ubercart

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