Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

chfields

Archived
  • Posts

    1,258
  • Joined

  • Last visited

Everything posted by chfields

  1. I've managed to get rid of the errors and I get the remember me radio buton but it doesn't do anything. I have it set to true in admin, but when i register and then come back it doesn't auto log me on........
  2. I installed this and now when people try to sign up for first time they get this error after the account is created and they click continue... Fatal error: Call to a member function on a non-object in /home/mrsfield/public_html/account.php on line 68 this is line 65-69 from account.php <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php if ($messageStack->size('account') > 0) { <----- line 68 ?>
  3. I have my box set up so it randomly shows all my products
  4. Looks like he tried to fix it but now it gives this error Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster. Error 404 oscommerce.sunsite.dk Sat Jul 26 21:53:05 2003 Apache/2.0.45 (Unix)
  5. The latest update, which improves layout comes up as 404 not found on server
  6. This may sound stupid, but, did you double check to make sure everything is installed and proper changes have been made??? I just installed it yesterday and now it works fine. You do need to be careful when editting the text...
  7. stylesheets are where most changes are made
  8. Did you recieve an e-mail from paypal? If not, then you did something wrong. What this does is adds the product and model to the e-mail you get from paypal when someone buys something from you.
  9. Just in case someone doesn't click continue to get back to your site here is a mod to include into your PayPal module to you can see what the customer ordered on your PayPal payment notification (just in case they don't return to your site to complete the process and generate an invoice) - BACK UP BACK UP BACK UP change the following code: function process_button() { global $order, $currencies, $currency; if (MODULE_PAYMENT_PAYPAL_CURRENCY == 'Selected Currency') { $my_currency = $currency; } else { $my_currency = substr(MODULE_PAYMENT_PAYPAL_CURRENCY, 5); } if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD'))) { $my_currency = 'USD'; } $xx = ''; for ($i=0; $i<sizeof($order->products); $i++) { $xx .= $order->products[$i]['qty'] . '-' . ($order->products[$i]['name']) . '**'; } $process_button_string = tep_draw_hidden_field('cmd', '_xclick') . tep_draw_hidden_field('business', MODULE_PAYMENT_PAYPAL_ID) . tep_draw_hidden_field('item_name', STORE_NAME . ' ' . $xx) . tep_draw_hidden_field('amount', number_format(($order->info['total'] - $order->info['shipping_cost']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) . tep_draw_hidden_field('shipping', number_format($order->info['shipping_cost'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) . tep_draw_hidden_field('currency_code', $my_currency) . tep_draw_hidden_field('return', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) . tep_draw_hidden_field('cancel_return', tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); return $process_button_string; } the above code snippet replaces the code snippet in the catalog/includes/modules/payment/paypal.php file look for function process_button() { and then copy and paste and replace that section of code with the code above ___________
  10. You can also use this code. It will send the items ordered in the e-mail from paypal, but will not update the admin. If you get Paypal IPN to work you shouldn't need this code Just in case someone doesn't click continue to get back to your site here is a mod to include into your PayPal module to you can see what the customer ordered on your PayPal payment notification (just in case they don't return to your site to complete the process and generate an invoice) - BACK UP BACK UP BACK UP change the following code: function process_button() { global $order, $currencies, $currency; if (MODULE_PAYMENT_PAYPAL_CURRENCY == 'Selected Currency') { $my_currency = $currency; } else { $my_currency = substr(MODULE_PAYMENT_PAYPAL_CURRENCY, 5); } if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD'))) { $my_currency = 'USD'; } $xx = ''; for ($i=0; $i<sizeof($order->products); $i++) { $xx .= $order->products[$i]['qty'] . '-' . ($order->products[$i]['name']) . '**'; } $process_button_string = tep_draw_hidden_field('cmd', '_xclick') . tep_draw_hidden_field('business', MODULE_PAYMENT_PAYPAL_ID) . tep_draw_hidden_field('item_name', STORE_NAME . ' ' . $xx) . tep_draw_hidden_field('amount', number_format(($order->info['total'] - $order->info['shipping_cost']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) . tep_draw_hidden_field('shipping', number_format($order->info['shipping_cost'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) . tep_draw_hidden_field('currency_code', $my_currency) . tep_draw_hidden_field('return', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) . tep_draw_hidden_field('cancel_return', tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); return $process_button_string; } the above code snippet replaces the code snippet in the catalog/includes/modules/payment/paypal.php file look for function process_button() { and then copy and paste and replace that section of code with the code above ___________
  11. open phpmyadmin,select your database, click on orders status and a box will appear at the bottom that says something like select from "orders status"... Delete that and copy and paste your sql statement in that box and click the go button and you are done
  12. That file isn't in the contribution, it's already in OSC, you just need to modify it. The readme isn't very clear about that.
  13. <?php /* $Id: login.php,v 1.11 2002/06/03 13:19:42 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ if ($HTTP_GET_VARS['origin'] == FILENAME_CHECKOUT_PAYMENT) { define('NAvb script:session_win();">[More Info]</a>'); ?>
  14. On the last 2 lines "modules" should not be in there, it is a typo. they should read catalog/includes/languages/english/login.php catalog/includes/languages/english/images/buttons/button create
  15. I also wanted you to know that because of your keen observation about my SSL I was also able to fix my shopping cart problem. Thank you very much!!!!!!!!!!!!!!
  16. Lee, I just ran through entire checkout process with no problems using IE6
  17. I got it to work. Thanks for the help. You wouldn't know how to fix the shopping cart from emptying when trying to check out??? My host just upgraded to php 4.3.1 I'm losing sales everyday because of this.
  18. My login has always been on https. This won't work with ssl?
  19. Reuploaded the files 2 x refreshed browser 2x still the same.....
  20. I used your add on but it still has the boxes in the same place as before. I copied the 3 files and made the change in orders_info.php, but it didn't change anything.
  21. Problem solved. Didn't search far enough before posting.... :oops: :oops:
  22. I'm trying to install this on snapshot from 6/6 but there is no create_account_process.php. Anybody know how to get around this???
  23. Not really. I uninstalled it for awhile and then reinstalled it. It seems to work as long as you don't use a name and password that is already in the system
  24. here is a mod to include into your PayPal module so you can see what the customer ordered on your PayPal payment notification (just in case they don't return to your site to complete the process and generate an invoice) - BACK UP BACK UP BACK UP change the following code: In catalog/includes/modules/payment/paypal.php file function process_button() { global $order, $currencies, $currency; if (MODULE_PAYMENT_PAYPAL_CURRENCY == 'Selected Currency') { $my_currency = $currency; } else { $my_currency = substr(MODULE_PAYMENT_PAYPAL_CURRENCY, 5); } if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD'))) { $my_currency = 'USD'; } $xx = ''; for ($i=0; $i<sizeof($order->products); $i++) { $xx .= $order->products[$i]['qty'] . '-' . ($order->products[$i]['name']) . '**'; } $process_button_string = tep_draw_hidden_field('cmd', '_xclick') . tep_draw_hidden_field('business', MODULE_PAYMENT_PAYPAL_ID) . tep_draw_hidden_field('item_name', STORE_NAME . ' ' . $xx) . tep_draw_hidden_field('amount', number_format(($order->info['total'] - $order->info['shipping_cost']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) . tep_draw_hidden_field('shipping', number_format($order->info['shipping_cost'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) . tep_draw_hidden_field('currency_code', $my_currency) . tep_draw_hidden_field('return', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) . tep_draw_hidden_field('cancel_return', tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); return $process_button_string; }
  25. I e-mailed you my checkout success without your changes. I needed to have my site working.
×
×
  • Create New...