Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

lildog

Pioneers
  • Posts

    613
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by lildog

  1. please disreguard this I put it in the wrong forum.... lildog
  2. I have spent quite a bit of time here today and it just isn't sinking in. I called fedex about certifying my labels but they didn't seem to know what I was talking about. My test labels work and I tried production labels too, and they seem to work. I have a meter Id from 2 years ago from Fedex real time quotes. What do I need to do? lildog
  3. Google PHPMyAdmin....I am sure you will find help there. there is also a way to run an sql file via http...maybe someone can help you. PHPmyadmin should probably be on your server. You might be able to call your server also to find out where. PHP my admin lets you manipulate/edit your stores database. lildog
  4. My problem is I am not going to paypal on checkout, going directly to checkout success. I have narrowed my problem down to a couple of lines. My form action on check confirmation is getting set to '' during pre-confirmation. The link is the paypal link is fine until after this: if (is_array($payment_modules->modules)) { $payment_modules->pre_confirmation_check(); } Any help? lildog
  5. I have narrowed my problem to checkout confirmation. I hope someone can answer a seemingly simple question.... where does "function paypal_ipn" actually get called in checkout confirmation? And more specifically, where does $this->form_action_url = 'https://www.paypal.com/cgi-bin/webscr'; get set?
  6. In checkout_process and paypal ipn I am getting an error.....PHP Fatal error: Cannot redeclare class order_total. I read through some forums and it looked like a simple fix.....comment out a 'require(DIR_WS_CLASSES . 'order_total.php');' or put an if statement around it to load if necessary. But I did that in paypal ipn and I got a new error stating call to undefined something or another....so it wanted the require. Checkout with money/order cash works fine...... please let me know if I need to post more info. lildog
  7. I am not getting an email from the ipn with errors nor am getting any php errors in my error log.... lildog
  8. I hope someone has had my problem and can help me in the correct direction. When ipn is selected as payment method, customers are going directly to checkout success. Checkout process is working... the order shows up as preparing the immediatly shows up as check/money order. I recently did the RC2 update and did no think I did anything in there that affected pay pal...I was probably wrong. I am using the v1.4 of the ipn. I am totally dunbfounded as to where I should even start here..... lildog
  9. You need the $ in front of sTxtfile....
  10. Thanks Coopco, I took your advice and just updated a query or two. Good advice..... lildog
  11. Not sure, maybe referring to the line 1 of the uri. Could also be a server error.
  12. Kebo, don't copy the ds.store files. It is a mac(maybe unix also) desktop file and was inadvertantly left in the contrib archive. Just ignore them. lildog
  13. Anyone have any input on osCommerce v2.2rc2a - Purchase Without Account v2.0a by marquinho? I have had PWA installed for a couple of years and now I am doing updates.....should I update? is this going to be the new supported version or not? Thanks for any input, lildog
  14. IF CCGV installed, see if points and vouchers cover order total together(only if both points and vouchers are both used). 1. in catalog/includes/classes/order-total.php ***FIND:*** // #################### Begin Added CGV JONYO ###################### global $payment, $order, $credit_covers, $customer_id; // #################### End Added CGV JONYO ###################### ***CHANGE TO:*** // #################### Begin Added CGV JONYO ###################### // $gv_payment_amount added for Points and Rewards CCGV Compatibility global $payment, $order, $credit_covers, $customer_id, $gv_payment_amount; // #################### End Added CGV JONYO ###################### 2. In catalog/checkout_confirmation.php ***FIND:*** ##### Points/Rewards Module V2.00 check for error BOF ####### if (isset($HTTP_POST_VARS['customer_shopping_points_spending']) && USE_REDEEM_SYSTEM == 'true') { ***ADD AFTER:*** // BOF Points and Rewards & CCGV covers if (tep_session_is_registered('cot_gv') && ($cot_gv=='on')){ (tep_calc_shopping_pvalue($customer_shopping_points_spending)<=($order->info['total']-$gv_payment_amount)) ? $ccgvpoints_covers = false : $ccgvpoints_covers =true; } // EOF Points and Rewards & CCGV covers ***FIND:*** if ( is_array($payment_modules->modules) && (sizeof($payment_modules->modules) > 1) && !is_object($$payment) && (!$credit_covers) && (!$point_covers)) { ***CHANGE TO:*** if ( is_array($payment_modules->modules) && (sizeof($payment_modules->modules) > 1) && !is_object($$payment) && (!$credit_covers) && (!$point_covers) && (!$ccgvpoints_covers)) { ***FIND:*** if ( (is_array($payment_modules->modules)) && (sizeof($payment_modules->modules) > 1) && (!is_object($$payment)) && (!$credit_covers_order) && (!$point_covers)) { ***CHANGE TO:*** if ( (is_array($payment_modules->modules)) && (sizeof($payment_modules->modules) > 1) && (!is_object($$payment)) && (!$credit_covers_order) && (!$point_covers) && (!$ccgvpoints_covers)) {
  15. I have CCGV and points rewards both working. The only problem is if points AND vouchers cover the order customers are still asked for a payment method. I have the mod written and it almost works, except if points are used and not vouchers and it does not cover the order, it does not prompt for payment method. What I need is a simple way to determine if vouchers are/aren't being used, in checkout confirmation. It looks like $gv_payment_amount is calculated reguardless if vouchers are being used or not. Here is what I have so far: IF CCGV installed, see if points and vouchers cover order total(only if both points and vouchers are both used) 1. in catalog/includes/classes/order-total.php ***FIND:*** // #################### Begin Added CGV JONYO ###################### global $payment, $order, $credit_covers, $customer_id; // #################### End Added CGV JONYO ###################### ***CHANGE TO:*** // #################### Begin Added CGV JONYO ###################### // $gv_payment_amount added for Points and Rewards CCGV Compatibility global $payment, $order, $credit_covers, $customer_id, $gv_payment_amount; // #################### End Added CGV JONYO ###################### 2. In catalog/checkout_confirmation.php ***FIND:*** ##### Points/Rewards Module V2.00 check for error BOF ####### if (isset($HTTP_POST_VARS['customer_shopping_points_spending']) && USE_REDEEM_SYSTEM == 'true') { ***ADD AFTER:*** // BOF Points and Rewards & CCGV added (tep_calc_shopping_pvalue($customer_shopping_points_spending)<=($order->info['total']-$gv_payment_amount)) ? $ccgvpoints_covers = false : $ccgvpoints_covers =true; // EOF Points and Rewards & CCGV added ***FIND:*** if ( is_array($payment_modules->modules) && (sizeof($payment_modules->modules) > 1) && !is_object($$payment) && (!$credit_covers) && (!$point_covers)) { ***CHANGE TO:*** if ( is_array($payment_modules->modules) && (sizeof($payment_modules->modules) > 1) && !is_object($$payment) && (!$credit_covers) && (!$point_covers) && (!$ccgvpoints_covers)) { ***FIND:*** if ( (is_array($payment_modules->modules)) && (sizeof($payment_modules->modules) > 1) && (!is_object($$payment)) && (!$credit_covers_order) && (!$point_covers)) { ***CHANGE TO:*** if ( (is_array($payment_modules->modules)) && (sizeof($payment_modules->modules) > 1) && (!is_object($$payment)) && (!$credit_covers_order) && (!$point_covers) && (!$ccgvpoints_covers)) {
  16. To me it looks like you need to check your paths...
  17. For anyone here, the contrib is not updating contribs with a & sign in the name, I do not think any errors are being spit out, just not letting you know there is an update. If anyone has anyideas let me know and we can fix it. Meanwhile I will try to suss it out. CHECK YOUR CONTRIBS WITH & signs in them. lildog
  18. I also did this because checkout process was redirecting customers to checkout_payment.php. May or may not help anyone. Add OSCommerce Online Merchant v2.2 RC2 compatibility to CCGV in catalog/checkout_process: 1. ***FIND:*** require(DIR_WS_CLASSES . 'order_total.php'); $order_total_modules = new order_total; ***MOVE ABOVE:*** if ( ( is_array($payment_modules->modules) && (sizeof($payment_modules->modules) > 1) && !is_object($$payment) ) || (is_object($$payment) && ($$payment->enabled == false)) ) { 2. ***FIND:*** require(DIR_WS_CLASSES . 'order_total.php'); $order_total_modules = new order_total; ***ADD AFTER:*** $order_total_modules->pre_confirmation_check(); 3. ***CHANGE:*** if ( ( is_array($payment_modules->modules) && (sizeof($payment_modules->modules) > 1) && !is_object($$payment) ) || (is_object($$payment) && ($$payment->enabled == false)) ) { TO: if ( ( is_array($payment_modules->modules) && (sizeof($payment_modules->modules) > 1) && !is_object($$payment) && (!$credit_covers_order) && (!$point_covers)) || (is_object($$payment) && ($$payment->enabled == false)) ) {
  19. I had a problem that always made customers choose a payment method, whether or not the credit amount was enough to pay for the entire order. I have seen this problem pop up often in the past 2-3 years. Here is my fix, maybe someone that really knows what I did can explain why it works. The problem was the variable $credit_covers was not getting set to true, but by changing the variable name to $credit_covers_order it works. I think it has something to do with conflicting with the session registers?!?!? Maybe register globals?!?!? Reguardless if you have this problem try this. lildog ccgv fix 3/2008 in: catalog/checkout_confirmation.php catalog/checkout_process.php catalog/admin/includes/classes/order_total.php catalog/includes/classes/order_total.php catalog/includes/classes/payment.php changed ALL $credit_covers to $credit_covers_order DO NOT CHANGE any -- if(tep_session_is_registered('credit_covers')) tep_session_unregister('credit_covers');
  20. I had a problem that always made customers choose a payment method, whether or not the credit amount was enough to pay for the entire order. I have seen this problem pop up often in the past 2-3 years. Here is my fix, maybe someone that really knows what I did can explain why it works. The problem was the variable $credit_covers was not getting set to true, but by changing the variable name to $credit_covers_order it works. I think it has something to do with the session registers?!?!? Maybe register globals?!?!? Reguardless if you have this problem try this. lildog ccgv fix 3/2008 in: catalog/checkout_confirmation.php catalog/checkout_process.php catalog/admin/includes/classes/order_total.php catalog/includes/classes/order_total.php catalog/includes/classes/payment.php changed ALL $credit_covers to $credit_covers_order DO NOT CHANGE any -- if(tep_session_is_registered('credit_covers')) tep_session_unregister('credit_covers');
  21. if someone posts the cron instructions I will include them in the next version. lildog
  22. I do not have cron but I use a web service that checks to see if a page on a server is up, this lets me know when my server is down. All that needs to happen is the contrib_tracker page needs to load once in awhile. You could set your index page to do this if you have enough traffic. I believe you could delete the success message and in index.php use a require(). that's my 2 cents, lildog
  23. Sashaben, I think I found it. try this: in catalog/admin/contrib_tracker.php FIND: tep_db_query("update " . TABLE_CONTRIB_TRACKER . " set contr_last_modified = now(), status = '" . $status . "',contrib_name = '" . $contrib_name_new . "', contrib_link = '" . $contrib_link_new . "', config_comments = '" . $config_comments . "', last_update = '" . $last_update . "', contrib_vers= '" . $contrib_vers . "' where contr_id = '" . $HTTP_POST_VARS['contr_id'] . "'"); REPLACE with: // tep_db_query("update " . TABLE_CONTRIB_TRACKER . " set contr_last_modified = now(), status = '" . $status . "',contrib_name = '" . $contrib_name_new . "', contrib_link = '" . $contrib_link_new . "', config_comments = '" . $config_comments . "', last_update = '" . $last_update . "', contrib_vers= '" . $contrib_vers . "' where contr_id = '" . $HTTP_POST_VARS['contr_id'] . "'"); tep_db_query("update " .TABLE_CONTRIB_TRACKER . " set contr_last_modified = now(), status = '" . $HTTP_POST_VARS['status'] . "',contrib_name = '" . $HTTP_POST_VARS['contrib_name_new'] . "', contrib_link = '" . $HTTP_POST_VARS['contrib_link_new'] . "', config_comments = '" . $HTTP_POST_VARS['config_comments'] . "', last_update = '" .$last_update. "', contrib_vers= '" . $HTTP_POST_VARS['contrib_vers'] . "' where contr_id = '" . $HTTP_POST_VARS['contr_id'] . "'"); FIND: case 'update': if ($old_status!='1' && $status=='1'){ $last_update=date("Y-m-d H:M:S"); } REPLACE WITH: case 'update': // if ($old_status!='1' && $status=='1'){ // $last_update=date("Y-m-d H:M:S"); // } ($old_status!='1' && $status=='1') ? $last_update=date("Y-m-d H:M:S") : $last_update=$HTTP_POST_VARS['last_update'];
  24. I appologize for all the questions...but, when you get to the page where you enter the updated info are the fields empty? I am trying to determine just how far the page is getting before it fails. lildog
  25. So where we stand is when you edit an existing record it clears the record? Does it completely erase the record from the database or just clear the fields? And does it generate any errors? lildog
×
×
  • Create New...