Guest Posted March 30, 2010 Share Posted March 30, 2010 I have installed the Discount Coupons Addon and the Download Controller Addon. When a customer wants to checkout of my store with free products only, the "no payment" module is recognized and says no payment is required. (Which is perfect...) However, I want to offer my designers on my store the ability to checkout using a 100% off coupon for products (that aren't normally free). The problem I am having is when the designer puts in the coupon code, the cart already knows there are products in there that are NOT free and doesn't put the "no payment" module as an option. Once the coupon is rendered, it does show a zero balance (which is right), but there is only 1 way to pay (Paypal). The designer then gets redirected to paypal with a zero balance... Paypal then asks to enter an amount to bill... yada yada yada. Is there a way to change the process to recognize when the cart total equals zero after a coupon has been applied so other payment modules will be allowed? If I click the "edit" link to change the payment preference, it loses the coupon code and doesn't recognize it has been applied, hence starting over again. Any help would be appreciated. Thanks in advance!! Quote Link to comment Share on other sites More sharing options...
beanzy Posted June 21, 2010 Share Posted June 21, 2010 I have installed the Discount Coupons Addon and the Download Controller Addon. When a customer wants to checkout of my store with free products only, the "no payment" module is recognized and says no payment is required. (Which is perfect...) However, I want to offer my designers on my store the ability to checkout using a 100% off coupon for products (that aren't normally free). The problem I am having is when the designer puts in the coupon code, the cart already knows there are products in there that are NOT free and doesn't put the "no payment" module as an option. Once the coupon is rendered, it does show a zero balance (which is right), but there is only 1 way to pay (Paypal). The designer then gets redirected to paypal with a zero balance... Paypal then asks to enter an amount to bill... yada yada yada. Is there a way to change the process to recognize when the cart total equals zero after a coupon has been applied so other payment modules will be allowed? If I click the "edit" link to change the payment preference, it loses the coupon code and doesn't recognize it has been applied, hence starting over again. Any help would be appreciated. Thanks in advance!! Hey Bradi... Were you ever able to solve this issue? I also need a way to tell OSC that zero amount on the order is ok to process. I have been told that there is a module that does this but have yet to find it... Quote Link to comment Share on other sites More sharing options...
teselle Posted July 25, 2010 Share Posted July 25, 2010 Did anyone get this solved? Need to bypass payment if the total cart comes to $0.00. IE free items with nothing else in cart. Quote Link to comment Share on other sites More sharing options...
swekarl Posted November 1, 2010 Share Posted November 1, 2010 I have exactly this problem and would be happy for a solution too. It seems the problem is that the Discount Coupon add-on comes in too late in the process. Quote Link to comment Share on other sites More sharing options...
WebBasser Posted February 4, 2011 Share Posted February 4, 2011 I've run into the same situation and am getting the error message: "This transaction cannot be processed. The amount to be charged is zero." Sure would like to be pointed in the right direction for a fix. I don't necessarily want to bypass the login - actually I'd prefer the customer register through the store - just be able to complete the order for a free / no charge sample product. Thanks in advance, Erich Quote "When one door closes another door opens; but we do often look so long and so regretfully upon the closed door, that we do not see the ones which open for us." ~~~ Alexander Graham Bell, inventor Link to comment Share on other sites More sharing options...
tonyaonya Posted February 4, 2011 Share Posted February 4, 2011 I'm in too. I have hundreds of copies of my software distributed already. Just build the osCommerce store and loving it. I need to update everyones software and getting the members to add themselves to the store and then download what they already own with a coupon would really help. Simply put, I need to be able to give away products that are not usually free to a select group of people (a coupon would really help out). WebBasser 1 Quote Link to comment Share on other sites More sharing options...
Guest Posted February 8, 2011 Share Posted February 8, 2011 (edited) Hi Everyone, I have yet to find a solution to this problem... I was just wondering if you (that posted) have found a solution yet? I think I will try and post the question in the Super Download Shop forum and in the Discount Coupon forum and see what I can find! Hopefully one of you have found a solution! :) Thanks for replying, Bradi Edited February 8, 2011 by DScrapDesigner Quote Link to comment Share on other sites More sharing options...
WebBasser Posted February 10, 2011 Share Posted February 10, 2011 Hi All, Found this contrib, that I thought might be the answer: http://addons.oscommerce.com/info/3747 I tried to install this contrib, but still can't get it to work. It seems to work fine - up until you click the "Cofirm Order". Then I get this error: "This transaction cannot be processed. The amount to be charged is zero." If anyone can get this to work, any insight would be very welcome. Thanks in advance, Erich Quote "When one door closes another door opens; but we do often look so long and so regretfully upon the closed door, that we do not see the ones which open for us." ~~~ Alexander Graham Bell, inventor Link to comment Share on other sites More sharing options...
robertniles Posted March 23, 2011 Share Posted March 23, 2011 (edited) Make backups before editing! I can only go through and tell you how I resolved this problem. It might not be the best way but it does work well for us. Open checkout_confirmation.php and go to (approximately) line 109 ...right before the line with: require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_CONFIRMATION); insert: if ( $order->info['subtotal'] == 0 ) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_PROCESS, NULL, 'SSL')); } Save and close. Now open checkout_process.php at at approx line 80, find the line that says: $payment_modules->before_process(); and change that line to: if ( $order->info['subtotal'] > 0 ) { $payment_modules->before_process(); } The next part is optional and is done just so the payment method on the customer's receipt makes sense. Editing checkout_process.php at approx line 280, find the line that says: $email_order .= $order->info['payment_method'] . "\n\n"; and change that line to: if ( $order->info['subtotal'] == 0 ) { $email_order .= "None (Zero Balance Purchase)\n\n"; } else { $email_order .= $order->info['payment_method'] . "\n\n"; } Make backups before editing! But this worked for us. Edited March 23, 2011 by robertniles Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.