monakur Posted June 19, 2006 Share Posted June 19, 2006 If I am giving away free promo downloads of media products, how would I allow the customer to skip the credit card/paypal payment page if the total value of all cart contents is $0?? Thanks! Link to comment Share on other sites More sharing options...
tec Posted June 20, 2006 Share Posted June 20, 2006 If I am giving away free promo downloads of media products, how would I allow the customer to skip the credit card/paypal payment page if the total value of all cart contents is $0?? Thanks! hi there, you can try this mod skip payment if price is zero Link to comment Share on other sites More sharing options...
monakur Posted June 20, 2006 Author Share Posted June 20, 2006 thanks! Link to comment Share on other sites More sharing options...
tec Posted June 20, 2006 Share Posted June 20, 2006 no problem, let me know if it works for you, that is, if you are still having the problem :) Link to comment Share on other sites More sharing options...
monakur Posted June 20, 2006 Author Share Posted June 20, 2006 I installed it, but I get this error when trying to checkout: Fatal error: Cannot redeclare tep_db_connect() (previously declared in /includes/functions/database.php:13) in /includes/functions/database.php on line 25 Any thoughts? Thanks! Also, I backed up my checkout_payment.php file and reuploaded it, but I still get the same error message. Link to comment Share on other sites More sharing options...
Terra Posted June 20, 2006 Share Posted June 20, 2006 Any trailing whitespaces before <?php or after?> in database.php? it's the usual suspect. Terra My code for combining PayPal IPN with ** QTPro 4.25 ** osC Affiliate ** CCGV(trad) and how to solve the invoice already paid error General info: Allow customer to delete order comment ** FTP Programs & Text Editors ** Amending order email ** Link to comment Share on other sites More sharing options...
monakur Posted June 20, 2006 Author Share Posted June 20, 2006 I checked database.php and there was a space after ?>, but after I erased it, I still have the same problem. I mean, if I reinstalled the original checkout_payment.php that has been there and been working, why is the site still not working now? did adding the new one change something that has to be manually changed back? I can send you the code or a link to the site if you want - thanks Link to comment Share on other sites More sharing options...
Terra Posted June 21, 2006 Share Posted June 21, 2006 No that doesn't make any sense. Any chance a file got copied into the wrong location, e.g. root level file into language level? All PHP problems can be conquered with logic - just go through the affected files methodically, see if they have been changed, if they are in the right location and focus on checkout_payment.php as your first suspect. It's quite easy to copy something into the wrong place - we've all been there and it's a bugger to find. Terra My code for combining PayPal IPN with ** QTPro 4.25 ** osC Affiliate ** CCGV(trad) and how to solve the invoice already paid error General info: Allow customer to delete order comment ** FTP Programs & Text Editors ** Amending order email ** Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.