Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Epic Mike

Archived
  • Posts

    75
  • Joined

  • Last visited

Posts posted by Epic Mike

  1. Do you think it is the aim file or one of the checkout files? I'm going crazy right now. i will backup to the original files I had. I added the CCGV contribution so I want to be careful not to mess with that.

     

    Here's another wierd thing I just found. Whenever I log in to my store and then also look at whos online in admin, the ip address shows CE_AuthorizeNet or vm/authnet.so or mf_config and other parts of code when depending on which page I'm on.

     

    Any idea where this would be coming from.

     

    Thanks for all of your help

     

    Mike

  2. After a bit of weeding through the log file, I can't see any response from Authorize.net

     

    This was in my log though:

     

    var cc_number = document.checkout_payment.authorizenet_cc_number.value;
    var cc_cvv = document.checkout_payment.cvv.value;
    if (cc_owner == "" || cc_owner.length < 3) {
    error_message = error_message + "* The owner's name of the credit card must be at least 3 characters.\n";
    error = 1;
    }
    if (cc_number == "" || cc_number.length < 10) {
    error_message = error_message + "* The credit card number must be at least 10 characters.\n";
    error = 1;
    }
    if (cc_cvv != "" && cc_cvv.length < "3") {
    error_message = error_message + "* You must enter a CVV number to proceed.\n";
    error = 1;
    }
    }
    
    if (payment_value == null && submitter != 1) {
    error_message = error_message + "* Please select a payment method for your order.\n";
    error = 1;
    }
    
    if (error == 1 && submitter != 1) {
    alert(error_message);
    return false;
    } else {
    return true;
    }
    }
    //--></script>
    </head>
    <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
    <!-- header //-->
    <table width="100%"  border="0" cellpadding="0" cellspacing="0">
    <tr bgcolor="9AA8D8">
    "<td width=""25%"" bgcolor=""000000""><div align=""left""><a href=""http://	 - - [01/May/2006:21:27:46 +0000] ""GET /catalog/checkout_payment.php?error_message=There+was+an+error+processing+your+credit+card.++Please+check+to+s
    ee+that+all+of+your+bi"

     

    This is from the authorize.net php file in my store. Why would this be showing (like this) in my log?

     

    Thanks,

     

    Mike

  3. Mike, I hope someone can help with this. It appears to be a sporatic thing. In my case, the purchases were approved by A-net. Yet, because they were unable to "notify me", there was an error and therfore the transaction did not process. I could have claimed the sale if I had the customers card number. But, since OSC does not store this information, I had to contact the customer. Nine of ten time, the customers bailed due to fears of fraud (can't blame them).

     

    I've lost about 8 sales due to this... it's really adding up.

     

    AllThingsTrendy

     

    Just heard back from Authorize.net and this is what they said,

     

    "Greetings from Authorize.Net!

     

    My engineers got back to me and say you are sending invalid characters in the CustomerIP field and that you should stick to Alpha-numeric data for customer fields."

     

    Can't we just remove the Customer IP anyway? It's not required for transaction, but it may help with fraud if you ever have problems I guess. Any thoughts on this?

     

    Through a PM, I had a suggestion to check my log file to see what response Authorize.net was sending back after the error and I'll do that tonight and post back.

     

    Thanks,

     

    Mike

  4. Anyone else experience the "general error" like this and if so, what did you do to resolve this issue? For the past few weeks, I'm getting more and more "general errors" but unlike AllThingsTrendy, my customers are not getting to complete the checkout process. I'm losing allot of business.

     

    One guy called and told me so I ran his information through their virtual terminal and everything went through fine. The funny thing is he had just bought something 2 DAYS before with the same account. What gives?

     

    Still waiting for Authorize.net to officially respond, but talking with them in live chat, they said that my script was sending wrong characters. Hopefully I'll know more in just a bit, but if any of you have experienced this, any help would be appreciated. I'm using Authorize.net consolidated v1.7 (which seems to have been removed for some reason)

     

    Thanks,

     

    Mike

  5. I uploaded to Google base and my products show up in froogle, but when I click on edit in google base and look at the specific details for one product, it shows 0 quantity available. Just wanted to see if everyone else is getting this as well. Also, is there an easy way to add my header tags to google base automatically since they have a field for this?

     

    Thanks, Mike

  6. Can someone please answer/confirm this -->

     

    If a customer has an account and his name is John Doe and someone else named John Doe uses PWA with a different email address, it overrides the members name and both are deleted when the PWA customer checks out. Should this be happening? Everything else is ok, but I'm worried that two customers may have the same name and the member gets erased.

     

    Thanks

  7. For Gift Vouchers, I believe this code is located in /catalog/includes/modules/order_total/ot_gv.php in the following function:

     

    function use_credit_amount() {

    global $cot_gv;

    // $_SESSION['cot_gv'] = false; // old code - Strider

    $cot_gv = false;

    if ($this->selection_test()) {

    $output_string .= ' <td align="right" class="main">';

    $output_string .= '<b>' . $this->checkbox . '</b>' . '</td>' . "\n";

    }

    return $output_string;

    }

    For Coupons, I believe this code is located in /catalog/includes/modules/order_total/ot_coupons.php in the following function:

     

    function credit_selection() {

    global $customer_id, $currencies, $language;

    $selection_string = '';

    $selection_string .= '' . "\n";

    $selection_string .= ' </tr><tr><td class="main">' . "\n";

    $selection_string .= TEXT_ENTER_GV_CODE . tep_draw_input_field('gv_redeem_code') . ' and click ';

    $image_submit = '<input type="image" name="submit_redeem" onClick="return check_form(), submitFunction()" src="' . DIR_WS_LANGUAGES . $language . '/images/buttons/button_redeem.gif" class="contbutton" alt="' . IMAGE_REDEEM_VOUCHER . '" title = "' . IMAGE_REDEEM_VOUCHER . '">';

    $selection_string .= '';

    $selection_string .= '' . $image_submit . '</td>';

    $selection_string .= '';

    $selection_string .= '' . "\n";

    return $selection_string;

    }

     

    I am no big expert here and I did not test to be sure but I think this is what you are looking for. See if that helps.

     

    Joe

     

     

    Thanks for your help Joe. I had a few mistakes in the gv file and that cleared it up. I really appreciate it.

  8. Could someone please help me with some table problems. I just installed this contrib and everything works perfectly. The only problem is on the checkout_payment.php page where is looks like this:

     

    ccgv_table_problem.gif

     

    Is this controlled by the file /catalog/includes/classes/order_total.php ? It seems as if there are two tables being created. One on the left that contains the "enter redeem code" and one on the right for "gift vouchers". After a while of picking through the code, I've had no luck getting this to look right.

     

    Any help would be greatly appreciated

  9. Would this cause any problems that you can see? I modified the ezier_new_fields.php in the modules folder to look like this: (changes are near the end--> I added "echo TEXT_PRODUCTS_PRICE_INFO . $our;" and later "<?php echo $products_price; ?>")

     

    <?php
    /*
     $Id: ezier_new_fields.php,v 1.00 2004/07/01 14:34:54 hpdl Exp $
    
     osCommerce, Open Source E-Commerce Solutions
     http://www.oscommerce.com
    
     Released under the GNU General Public License
    
     Noel Latsha ([email protected])
     www.nabcomdiamonds.com
     www.devosc.com
    
    // Begin EZier new fields contrib 5.0 (Noel Latsha)
    */
    ?>
    	 <table>
    	   <tr>
    		 <td>
    <? 
    if ($product_info['products_retail_price'] != 0)
    { 
    	// Get the retail price & clean up the decimal places
    	$retail = osc_ez(($currencies->display_price($product_info['products_retail_price'],tep_get_tax_rate($product_info['products_tax_class_id']))));
    	$special_flag = false;
    	$cust_flag = false;
    
    		if ($new_price = tep_get_products_special_price($product_info['products_id'])) 
    			{  // If there is a special ... Special Overrides customer discount...
    				$our = osc_ez(($currencies->display_price($product_info['products_price'],tep_get_tax_rate($product_info['products_tax_class_id']))));
    				$special_price = osc_ez(($currencies->display_price((tep_get_products_special_price($product_info['products_id'])),tep_get_tax_rate($product_info['products_tax_class_id']))),0,$strlen);
    				$save2 = osc_ez($currencies->display_price($product_info['products_retail_price'] - (tep_get_products_special_price($product_info['products_id'])), ''));
    				$save = (((tep_get_products_special_price($product_info['products_id'])) / ($product_info['products_retail_price'])) * 100);
    				$special_flag = true;
    			}
    
    			if (((strstr($customer_discount, "-") != 0) && ((tep_get_products_special_price($product_info['products_id'])) == null))) 
    			{ // If there isn't a special, but still a customer discount... We'll need those decimals....
    				$retail = osc_ez(($currencies->display_price_nodiscount($product_info['products_retail_price'],tep_get_tax_rate($product_info['products_tax_class_id']))));
    				$our = ($product_info['products_price']);
    				$our = $our - $our * abs($customer_discount) / 100;
    				$save2 = osc_ez($currencies->display_price_nodiscount(($product_info['products_retail_price'] - $our), ''));
    				$save = (($our / ($product_info['products_retail_price'])) * 100); 
    				$our = osc_ez($currencies->display_price_nodiscount($product_info['products_price'], ''));
    				$cust = osc_ez($currencies->display_price($product_info['products_price'], ''));
    				$cust_flag = true;
    			} // End cust discount
    
    			if ((strstr($customer_discount, "-") == 0) && ((tep_get_products_special_price($product_info['products_id'])) == null))  
    			{ // Just a regular price
    				$our = osc_ez(($currencies->display_price($product_info['products_price'],tep_get_tax_rate($product_info['products_tax_class_id']))));
    				$save = (($product_info['products_price'] / ($product_info['products_retail_price'])) * 100);
    				$save2 = osc_ez($currencies->display_price($product_info['products_retail_price'] - $product_info['products_price'], ''));
    			} // End of regular price
    
    	$save = (100 - $save);
    	$save = round($save); ?>
    			</td>
    		   </tr>
    		  </table>
    	<?php		
    		echo TEXT_PRODUCTS_RETAIL_PRICE_INFO . '<s>' . $retail . '</s>'; 
    
    		if ($special_flag == true) 
    			{
    			echo TEXT_PRODUCTS_PRICE_INFO . '<s>' .  $our . '</s>'; 
    			echo TEXT_PRODUCTS_PRICE_SPECIAL_INFO . $special_price . '</font>';
    			} else if ($cust_flag == true) { 
    			echo TEXT_PRODUCTS_PRICE_INFO_REGULAR . '<s>' .  $our . '</s>'; 
    			echo TEXT_PRODUCTS_PRICE_SPECIAL_CUST . $cust . '</font>';
    			} else {
    			echo TEXT_PRODUCTS_PRICE_INFO . $our; 
    			}
    
    // Uncomment the line that you want below, and comment our the default option if you like, description is to the right		
    		// echo TEXT_PRODUCTS_SAVE_INFO . $save2 . '</font>';						  //This line is price shown
    		// echo TEXT_PRODUCTS_SAVE_INFO . $save . '%</font>';							  //This line is % shown
    		echo TEXT_PRODUCTS_SAVE_INFO . $save2 . ' (' . $save . '%)</font>';		  //This line is % and price together
    
    		 	} else {
    			 echo TEXT_PRODUCTS_PRICE_INFO . $our;
    			 ?>
    			<?php 
    			echo $products_price; ?>
    		  </td>
    		</tr> 
    	  </table>
    	  <?php 
    
    		 }
    
    // End EZier new fields contrib (Noel Latsha)
    ?>

     

    This works, but needs a little more work for the style of font. That's no problem, but I wanted to know if there's an easier way? Thanks,

     

    Mike

  10. Could someone please help me with this contrib. I am pretty sure that when I first installed this, it worked fine, but now when I don't enter a retail price, no price shows up at all. I've read this whole thread and searched and the only thing I found was on page 12 and that didn't work. I've gone through the whole install again and still have the same results.

     

    Does the ezier_new_fields.php file in the modules folder control this?

  11. I've installed every part of this contribution and it looks great but there is a problem when I click on a category. If there is a special within that category, it doesn't account for the special price when calculating savings. It works with specials everywhere else in the store. I read this thread and searched, but didn't find an answer to my problem. If you could help me out, it would be appreciated.

     

    Mike

×
×
  • Create New...