Seedspro Posted May 26, 2011 Share Posted May 26, 2011 Working to get it done now for two day's Probaly I look over the mistake. If somebody can see it please let me know ;) require('includes/application_top.php'); // if the customer is not logged on, redirect them to the login page if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(array('mode' => 'SSL', 'page' => FILENAME_CHECKOUT_PAYMENT)); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } // if there is nothing in the customers cart, redirect them to the shopping cart page if ($cart->count_contents() < 1) { tep_redirect(tep_href_link(FILENAME_SHOPPING_CART)); } // avoid hack attempts during the checkout procedure by checking the internal cartID if (isset($cart->cartID) && tep_session_is_registered('cartID')) { if ($cart->cartID != $cartID) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); } } // if no shipping method has been selected, redirect the customer to the shipping method selection page if (!tep_session_is_registered('shipping')) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); } if (!tep_session_is_registered('payment')) tep_session_register('payment'); if (isset($HTTP_POST_VARS['payment'])) $payment = $HTTP_POST_VARS['payment']; if (!tep_session_is_registered('comments')) tep_session_register('comments'); if (tep_not_null($HTTP_POST_VARS['comments'])) { $comments = tep_db_prepare_input($HTTP_POST_VARS['comments']); } // ship date if (!tep_session_is_registered('datum')) tep_session_register('datum'); if (tep_not_null($HTTP_POST_VARS['datum'])) { $delivery_date = tep_db_prepare_input($HTTP_POST_VARS['datum']); } // eof ship date // load the selected payment module require(DIR_WS_CLASSES . 'payment.php'); $payment_modules = new payment($payment); require(DIR_WS_CLASSES . 'order.php'); $order = new order; $payment_modules->update_status(); if ( ($payment_modules->selected_module != $payment) || ( is_array($payment_modules->modules) && (sizeof($payment_modules->modules) > 1) && !is_object($$payment) ) || (is_object($$payment) && ($$payment->enabled == false)) ) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(ERROR_NO_PAYMENT_MODULE_SELECTED), 'SSL')); } if (is_array($payment_modules->modules)) { $payment_modules->pre_confirmation_check(); } // load the selected shipping module require(DIR_WS_CLASSES . 'shipping.php'); $shipping_modules = new shipping($shipping); require(DIR_WS_CLASSES . 'order_total.php'); $order_total_modules = new order_total; $order_total_modules->process(); // Stock Check $any_out_of_stock = false; if (STOCK_CHECK == 'true') { for ($i=0, $n=sizeof($order->products); $i<$n; $i++) { if (tep_check_stock($order->products[$i]['id'], $order->products[$i]['qty'])) { $any_out_of_stock = true; } } // Out of Stock if ( (STOCK_ALLOW_CHECKOUT != 'true') && ($any_out_of_stock == true) ) { tep_redirect(tep_href_link(FILENAME_SHOPPING_CART)); } } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_CONFIRMATION); $breadcrumb->add(NAVBAR_TITLE_1, tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); $breadcrumb->add(NAVBAR_TITLE_2); require(DIR_WS_INCLUDES . 'template_top.php'); ?> <h1><?php echo HEADING_TITLE; ?></h1> <?php if (isset($$payment->form_action_url)) { $form_action_url = $$payment->form_action_url; } else { $form_action_url = tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL'); } echo tep_draw_form('checkout_confirmation', $form_action_url, 'post'); ?> <div class="contentContainer"> <h2><?php echo HEADING_SHIPPING_INFORMATION; ?></h2> <div class="contentText"> <table border="0" width="100%" cellspacing="1" cellpadding="2"> <tr> <?php if ($sendto != false) { ?> <td width="30%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><?php echo '<strong>' . HEADING_DELIVERY_ADDRESS . '</strong> <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> </tr> <tr> <td><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, ' ', '<br />'); ?></td> </tr> <!-- ship date --> <?php if (tep_not_null($order->info['delivery_date'])) { ?> <tr> <td><?php echo '<strong>' . HEADING_SHIPPING_DATE . '</strong> <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> </tr> <tr> <td><?php echo tep_date_long($order->info['delivery_date']); ?></td> </tr> <?php } ?> <!-- eof ship date --> <?php if ($order->info['shipping_method']) { ?> <tr> <td><?php echo '<strong>' . HEADING_SHIPPING_METHOD . '</strong> <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> </tr> <tr> <td><?php echo $order->info['shipping_method']; ?></td> </tr> <?php } ?> </table></td> <?php } ?> <td width="<?php echo (($sendto != false) ? '70%' : '100%'); ?>" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <?php if (sizeof($order->info['tax_groups']) > 1) { ?> <tr> <td colspan="2"><?php echo '<strong>' . HEADING_PRODUCTS . '</strong> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> <td align="right"><strong><?php echo HEADING_TAX; ?></strong></td> <td align="right"><strong><?php echo HEADING_TOTAL; ?></strong></td> </tr> <?php } else { ?> <tr> <td colspan="3"><?php echo '<strong>' . HEADING_PRODUCTS . '</strong> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> </tr> <?php } for ($i=0, $n=sizeof($order->products); $i<$n; $i++) { echo ' <tr>' . "\n" . ' <td align="right" valign="top" width="30">' . $order->products[$i]['qty'] . ' x</td>' . "\n" . ' <td valign="top">' . $order->products[$i]['name']; if (STOCK_CHECK == 'true') { echo tep_check_stock($order->products[$i]['id'], $order->products[$i]['qty']); } if ( (isset($order->products[$i]['attributes'])) && (sizeof($order->products[$i]['attributes']) > 0) ) { for ($j=0, $n2=sizeof($order->products[$i]['attributes']); $j<$n2; $j++) { echo '<br /><nobr><small> <i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value'] . '</i></small></nobr>'; } } echo '</td>' . "\n"; if (sizeof($order->info['tax_groups']) > 1) echo ' <td valign="top" align="right">' . tep_display_tax_value($order->products[$i]['tax']) . '%</td>' . "\n"; echo ' <td align="right" valign="top">' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . '</td>' . "\n" . ' </tr>' . "\n"; } ?> </table></td> </tr> </table> </div> <h2><?php echo HEADING_BILLING_INFORMATION; ?></h2> <div class="contentText"> <table border="0" width="100%" cellspacing="1" cellpadding="2"> <tr> <td width="30%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><?php echo '<strong>' . HEADING_BILLING_ADDRESS . '</strong> <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> </tr> <tr> <td><?php echo tep_address_format($order->billing['format_id'], $order->billing, 1, ' ', '<br />'); ?></td> </tr> <tr> <td><?php echo '<strong>' . HEADING_PAYMENT_METHOD . '</strong> <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> </tr> <tr> <td><?php echo $order->info['payment_method']; ?></td> </tr> </table></td> <td width="70%" valign="top" align="right"><table border="0" cellspacing="0" cellpadding="2"> <?php if (MODULE_ORDER_TOTAL_INSTALLED) { echo $order_total_modules->output(); } ?> </table></td> </tr> </table> </div> <?php if (is_array($payment_modules->modules)) { if ($confirmation = $payment_modules->confirmation()) { ?> <h2><?php echo HEADING_PAYMENT_INFORMATION; ?></h2> <div class="contentText"> <table border="0" cellspacing="0" cellpadding="2"> <tr> <td colspan="4"><?php echo $confirmation['title']; ?></td> </tr> <?php for ($i=0, $n=sizeof($confirmation['fields']); $i<$n; $i++) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo $confirmation['fields'][$i]['title']; ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo $confirmation['fields'][$i]['field']; ?></td> </tr> <?php } ?> </table> </div> <?php } } if (tep_not_null($order->info['comments'])) { ?> <h2><?php echo '<strong>' . HEADING_ORDER_COMMENTS . '</strong> <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></h2> <div class="contentText"> <?php echo nl2br(tep_output_string_protected($order->info['comments'])) . tep_draw_hidden_field('comments', $order->info['comments']); ?> </div> <?php } ?> <div class="contentText"> <div style="float: left; width: 60%; padding-top: 5px; padding-left: 15%;"> <div id="coProgressBar" style="height: 5px;"></div> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td align="center" width="33%" class="checkoutBarFrom"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '" class="checkoutBarFrom">' . CHECKOUT_BAR_DELIVERY . '</a>'; ?></td> <td align="center" width="33%" class="checkoutBarFrom"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '" class="checkoutBarFrom">' . CHECKOUT_BAR_PAYMENT . '</a>'; ?></td> <td align="center" width="33%" class="checkoutBarCurrent"><?php echo CHECKOUT_BAR_CONFIRMATION; ?></td> </tr> </table> </div> <div style="float: right;"> <?php if (is_array($payment_modules->modules)) { echo $payment_modules->process_button(); } echo tep_draw_button(IMAGE_BUTTON_CONFIRM_ORDER, 'check', null, 'primary'); ?> </div> </div> </div> <script type="text/javascript"> $('#coProgressBar').progressbar({ value: 100 }); </script> </form> <?php require(DIR_WS_INCLUDES . 'template_bottom.php'); require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> Quote Link to comment Share on other sites More sharing options...
Guest Posted May 26, 2011 Share Posted May 26, 2011 Easiest way to debug a redirect loop is to start commenting out the redirect commands one at a time. Comment, test, uncomment, comment the next one, test again, uncomment, until you find the redirect. Once you find it, you'll know what is triggering the loop, and can go from there. I'd check your stock levels. If you have zero stock items, then check admin and see if you're allowing checkout with zero stock. not the only possibility but seems most likely. Quote Link to comment Share on other sites More sharing options...
vietphi Posted May 31, 2011 Share Posted May 31, 2011 anyone help me? I had this problem after my customer make a purchase and return to my site Fatal error: Cannot redeclare class order_total in /home/vietphi/public_html/o/includes/classes/order_total.php on line 13 and the transaction can't be finished using oscommerce 2.3.1 and addon ccgv 6.01 Quote Link to comment Share on other sites More sharing options...
tgroenwa Posted June 10, 2011 Share Posted June 10, 2011 The package installed fine, but when I look at my checkout, none of the configured payment methods can be selected (cod, bank transfer, paypal ipn) or are shown on the checkout_payment page. Any idea ? Quote Link to comment Share on other sites More sharing options...
Guest Posted June 27, 2011 Share Posted June 27, 2011 I can't get Paypal to work! Quote Link to comment Share on other sites More sharing options...
Guest Posted July 4, 2011 Share Posted July 4, 2011 While testing the paypal standard addon when being redirected back to my website after making payment, it comes up with the following error: Fatal error: Call to a member function update_credit_account() on a non-object in the paypal_standard.php file. the error line is as follows: // Start - CREDIT CLASS Gift Voucher Contribution $order_total_modules->update_credit_account($i); // End - CREDIT CLASS Gift Voucher Contribution Anyone know what I missed, or where I made an error to cause this? Thanks, Marianne Quote Link to comment Share on other sites More sharing options...
Guest Posted July 6, 2011 Share Posted July 6, 2011 While testing the paypal standard addon when being redirected back to my website after making payment, it comes up with the following error: Fatal error: Call to a member function update_credit_account() on a non-object in the paypal_standard.php file. the error line is as follows: // Start - CREDIT CLASS Gift Voucher Contribution $order_total_modules->update_credit_account($i); // End - CREDIT CLASS Gift Voucher Contribution Anyone know what I missed, or where I made an error to cause this? Thanks, Marianne After several days digging in the forum for version 5.23, I found that someone more than a year ago found that the $order_total_modules variable was not declared in line 396 of the function before_process(). If you insert that variable in that line, it seems to work fine. Has no one else run into that problem since then? It was never fixed in the files. I don't know how to add it into the download package, but maybe someone else can. CotswoldEngraver 1 Quote Link to comment Share on other sites More sharing options...
Guest Posted July 17, 2011 Share Posted July 17, 2011 I am using Oscommerse V2.2 RC2 Will the 3.2.1 Credit Class & Gift Vouchers add on work on my website? Are there any instructions for setting up this add on? If it won't work can someone recommend an addon that will work? Thx Carlene :-" Quote Link to comment Share on other sites More sharing options...
dlcmpls Posted August 2, 2011 Share Posted August 2, 2011 We want to use this contribution to provide free shipping plus a discount. The contribution doesn't allow for this. Why not? Anyone have suggestions for modifying the code to provide free shipping AND a discount at the same time? Quote Link to comment Share on other sites More sharing options...
Rod_Miller Posted August 22, 2011 Share Posted August 22, 2011 I'm getting an error with this on a 2.3 install. If I enter an incorrect code I get the correct error message up the top in red saying incorrect invalid coupon code. If I put a correct code in and press the redeem code I get an error page on url http://www.bellaboxe.com.au/checkout_payment.php/payment_error/ot_coupon/error/Gift+Voucher%2FDiscount+coupon+applied%3A+%2455.00+on+orders+greater+than+%2410.00 The requested URL /checkout_payment.php/payment_error/ot_coupon/error/Gift+Voucher/Discount+coupon+applied:+$55.00+on+orders+greater+than+$10.00 was not found on this server. Any ideas? Thanks in Advance. Quote Link to comment Share on other sites More sharing options...
Rod_Miller Posted August 22, 2011 Share Posted August 22, 2011 I'm getting an error with this on a 2.3 install. If I enter an incorrect code I get the correct error message up the top in red saying incorrect invalid coupon code. If I put a correct code in and press the redeem code I get an error page on url http://www.bellaboxe.com.au/checkout_payment.php/payment_error/ot_coupon/error/Gift+Voucher%2FDiscount+coupon+applied%3A+%2455.00+on+orders+greater+than+%2410.00 The requested URL /checkout_payment.php/payment_error/ot_coupon/error/Gift+Voucher/Discount+coupon+applied:+$55.00+on+orders+greater+than+$10.00 was not found on this server. Any ideas? Thanks in Advance. I forgot to mention if I hit the back button the voucher is applied. Quote Link to comment Share on other sites More sharing options...
KathyLong Posted September 13, 2011 Share Posted September 13, 2011 I outsourced a project so don't have all the details, but I do know that the developers installed a coupon plugin that is preventing this site from going live. The problem is we can't get past the "you must select a payment type" alert. And the biggest problem is the developers don't know how to fix it! They've been trying for 2 weeks. I suggested they use this plugin but they tell me they can't unplug the other. Anyone here an osc expert or know of someone I can ask? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 26, 2011 Share Posted September 26, 2011 Hi I have installed the Credit Class & Gift Voucher files onto my website but cannot find where I set up the vouchers. Can someone give me instructions on how to do this. Thanks Carlene Quote Link to comment Share on other sites More sharing options...
Psytanium Posted September 28, 2011 Share Posted September 28, 2011 hi, i have installed this contribution on my modified 2.3.1, everything is working fine, but when it comes to select a payment method i can't find any, if i click the continue button to confirm the order, an error appear saying (Please select a payment method for your order.) Quote Link to comment Share on other sites More sharing options...
CotswoldEngraver Posted October 4, 2011 Share Posted October 4, 2011 While testing the paypal standard addon when being redirected back to my website after making payment, it comes up with the following error: Fatal error: Call to a member function update_credit_account() on a non-object in the paypal_standard.php file. the error line is as follows: // Start - CREDIT CLASS Gift Voucher Contribution $order_total_modules->update_credit_account($i); // End - CREDIT CLASS Gift Voucher Contribution Anyone know what I missed, or where I made an error to cause this? Thanks, Marianne After several days digging in the forum for version 5.23, I found that someone more than a year ago found that the $order_total_modules variable was not declared in line 396 of the function before_process(). If you insert that variable in that line, it seems to work fine. Has no one else run into that problem since then? It was never fixed in the files. I don't know how to add it into the download package, but maybe someone else can. I recently installed this great contribution and have been informed by a couple of customers that this fault occurs when returning to the site from paypal. It is returning exactly the same fault. Is it possible to post the fix that you found worked? Quote Link to comment Share on other sites More sharing options...
kandles Posted October 11, 2011 Share Posted October 11, 2011 Setting delivery costs for Gift Vouchers? Originally I set the weight of the vouchers to 0 and charged carriage based on weight. 0 weight = 0 cost etc. The owner of the site now wants to charge carriage by order value, therefore the gift vouchers get carriage applied. Any ideas how to set voucher delivery to 0? I could apply a refund - but that would be no good if they order a product AND a gift voucher - and it looks messy. Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted October 12, 2011 Share Posted October 12, 2011 (edited) Have installed in test environment on V2.2 Rca. 2 issues before I can go live FIRST being display onscreen - appears to be related to an error I cannot see.. The button image is not what it should be - if you click on the area it appears to go through except total. Gift Vouchers & Coupons TEXT_ENTER_GV_CODE and SECOND Hopefully related to the above.... Customers Order total gives the result without the total deducting the gift or discount amount.. Admin config is show totals = true 1 x Matrox G200 MMS (MG200MMS) = $299.99 Memory 4 mb Model Value ------------------------------------------------------ Sub-Total: $299.99 Flat Rate (Best Way): $5.00 Total: $304.99 Discount Coupons: KidsPot: -$36.60 Delivery Address Edited October 12, 2011 by bheard Quote Link to comment Share on other sites More sharing options...
Guest Posted October 16, 2011 Share Posted October 16, 2011 Hi Guys, I would really appreciate some help. I have a modified version of 2.3.1 which I have attempted to hack in the voucher module, the admin side seems to be ok but I cannot seem to get the checkout working, when I enter a code which I have created in the admin it just seems to try and go through to payment, if I have not selected a payment it errors stating no payment method has been chosen, just like it would trying to progree to payment with selecting a payment method. I have minimul PHP / JavaScript exsperience and this module is really important, can someone point me in the right direction or suggest someone to check my code and install it for me? I did find a site the other night offering installations for this mod @ $100 but cannot find that site again? Quote Link to comment Share on other sites More sharing options...
Guest Posted October 17, 2011 Share Posted October 17, 2011 Hi Guys, I would really appreciate some help. I have a modified version of 2.3.1 which I have attempted to hack in the voucher module, the admin side seems to be ok but I cannot seem to get the checkout working, when I enter a code which I have created in the admin it just seems to try and go through to payment, if I have not selected a payment it errors stating no payment method has been chosen, just like it would trying to progree to payment with selecting a payment method. I have minimul PHP / JavaScript exsperience and this module is really important, can someone point me in the right direction or suggest someone to check my code and install it for me? I did find a site the other night offering installations for this mod @ $100 but cannot find that site again? I have been working on my installation today managed to get the checkout area to recognise the voucher but no matter what I do in the admin it says "*** This is a valid coupon code. HOWEVER: No price reduction can be applied, please see the coupon restrictions that were included with the offer. **" I have also noticed that when creating a voucher in admin, when entering the discount e.g "10%" it doesn't carry it through to the preview, also the restriction I leave black but it says NONE in the preview. Any help most appreciated, I feel like i'm so close to finishing this. Quote Link to comment Share on other sites More sharing options...
Guest Posted October 17, 2011 Share Posted October 17, 2011 So, are there no 2.3.1 installation instructions? I don't have an out of the box install of OSCommerce and I have no clue what is different between these new files and the original files. I don't know what to change Quote Link to comment Share on other sites More sharing options...
Guest Posted October 20, 2011 Share Posted October 20, 2011 HI Guys, I have now a working version of this on my 2.3.1 modified version, there are no instructions as with other addons which specify where to input code its just a case of trying to merge your documents. From my experience I would strongly advise not to just upload the files included with the addon, go through each page and add the code where applicable to your existing pages, I did this by change a piece of code and uploading each time checking for errors, yes it takes a long time but it ensures your site does not go down and having to back track through tons of code. Finally one problem I found from this addon is it does not give the customer a balance of their current vouchers so I have added a simple piece of code to the checkout_payment.php <p>Your Coupon Amount is <strong><span style="font-size:14px">£<?php echo $gv_result['amount']; ?></span></strong></p> I have placed this under the following code: <div style="float: right;"> <?php echo '<strong>' . TITLE_PLEASE_SELECT . '</strong>'; ?> </div> Any comments about this would be great whether it is right or wrong or a better way to display this, I have only been doing PHP for a week now (forced to learn to be able to get this addon to work. Thanks for the great contribution. gardenho 1 Quote Link to comment Share on other sites More sharing options...
otgrouch Posted December 2, 2011 Share Posted December 2, 2011 I've got this installed - the admin side seems to be working properly and I can purchase and send vouchers. The voucher balance shows up under my shopping cart, but at checkout_payment.php, I do not get the separate box for 'click here to use voucher balance' or 'enter redeem code'. There is also a table tag in checkout_payment.php that isn't closed and is causing a format error on the page when displayed (the side column boxes show up inside the payment box). I fixed this by removing the table tag in this part of the code: // Start - CREDIT CLASS Gift Voucher Contribution if (tep_session_is_registered('customer_id')) { if ($gv_result['amount']>0){ echo ' <tr><td width="10">' . tep_draw_separator('pixel_trans.gif', '10', '1') .'</td><td colspan=2>' . "\n" . ' <table border="0" cellpadding="2" cellspacing="0" width="100%"><tr class="moduleRow" onmouseover="rowOverEffect(this)" onclick="clearRadeos()" onmouseout="rowOutEffect(this)" >' . "\n" . ' <td width="10">' . tep_draw_separator('pixel_trans.gif', '10', '1') .'</td><td class="main">' . $gv_result['text']; echo $order_total_modules->sub_credit_selection(); } } // End - CREDIT CLASS Gift Voucher Contribution I can also fix it by inserting a </table> in an appropriate place within that block of code. As far as I can tell, the code to place the GV tick box is in the order_total files and I've made the appropriate changes to those...so I don't have any idea why they aren't showing up. I had CCGV installed on a 2.2 store with no issues, but all I'm getting with this install is the ability to purchase but not use vouchers. Any help? Quote Link to comment Share on other sites More sharing options...
otgrouch Posted December 7, 2011 Share Posted December 7, 2011 Still can't get this one to work on 2.3....I've compared all of the files, moved lines of code around, compared it to the old version which works on my 2.2 installation. Nothing I do gets the Voucher/Coupon box to show up on the checkout_payment page. No one has any pointers? Quote Link to comment Share on other sites More sharing options...
otgrouch Posted December 8, 2011 Share Posted December 8, 2011 Just for kicks, I killed the database and started with a clean sheet of paper. New 2.3.1 install with a fresh database. Dropped the files from the contribution on top of the new install and I have the same problem. I think there's a problem with the code in the contribution at this point. Quote Link to comment Share on other sites More sharing options...
otgrouch Posted December 8, 2011 Share Posted December 8, 2011 All righty...I found my problem. Unlike older versions of CCGV, you MUST install both the gv and coupon modules via the admin panel or your site format will be all messed up when you get to checkout_payment.php. If you only install the gv module, the payment process ends up in a redirect loop that never lets you off of the payment page - you have to install BOTH gv and coupon via the admin panel for the checkout payment process to function. I don't really understand the logic behind making a module that gives you the option to not install it...but that renders your site non-functional unless you do - but I'm glad that after a week of staring at code I've got it working. 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.