Jump to content

andytc

Members
  • Content count

    248
  • Joined

  • Last visited

Posts posted by andytc


  1. Hi

     

    I've had a contribution running for some time now that displays the sold out items and it all works fine on the shop pages , but in admin if a product reaches "Zero" it will take it off and set the status to a red light automaticaly , i have to keep clicking the status back to green so the sold out items shows to customers with a sold out button.

     

    I'm sure there is a quick fix for this but can't find it , if anyone can tell me the fix or files to check ? i'd be grateful , it's one of those things that i should have fixed a year ago.


  2. I had an email from protx re some changes and 3D secure from August 1st , i've done the 3D secure bit but do i have to change anything re the urls below using direct ?

     

    New Live Site Payment System URLs

    The addresses to which you should send your transaction requests are different in the new system.

     

    We will set up automatic forwarders from the old style URLs to the new when the system is uploaded to live, so if you are unable to make the changes prior to 1st August, your transactions will still be registered correctly with the new system.

     

    We have forwarders in place in the live environment already, which forward the new style URLs to the old system, so you can change your addresses as soon as you are ready.

     

    After the 1st August, using the URLs below will avoid the overhead of the extra internal forwarding POST and hence speed up your transaction processing. We recommend you change the URLs in your scripts at your earliest convenience.

     

    The table below shows the old style URL and the equivalent new address at which to direct your scripts.

     

    These URLs all begin with https://ukvps.protx.com

     

    After that is a list of old and new URL's ???????


  3. Hi

     

    Could i ask what level of failed transactions an average store might get per month ? whats your experience ?

     

    I am noticing a lot of transactions declined by the aquiring bank , in 16 days this month so far approx £1,800 ??

     

    some of these turn out to be succesfull if the customer tries again with another card, but the majority do not ?

     

    anyone have any info on possibe causes other than no money in the bank ?

     

    Most of my failed transactions have no customer or card data in protx admin other than "declined by the acquiring bank" , i'm using Protx Direct.


  4. The current Protx Direct module does not store failed transactions in the database - only successful ones. It would not be too much work to store failed transactions but the problem would be when you came to troubleshooting it could be difficult to follow becuase the order number stored would only be a provisional order number - osc does not generate the order id until after payment is successful so the protx direct module simply takes the last order_id from the orders table and increments it by 1.

     

    I have also found that when transactions fail many of the details are blank in the protx admin area - this is not due to fault with the module that I have found but for some reason protx don't always seem to store the details when it is declined for some reasons - I have found some of the commonest reasons for declined/failed transactions are customers selecting the wrong card type or failing the AVS check becuase the billing address doesn't match the cardholder's address.

     

    If you think it would be a good idea to store failed transaction let me know and I can point you in the right direction and may include it in the next update.

     

    Tom

     

     

    Thanks Tom , I just needed to confirm that nothing odd was happening with my Protx Module.

     

    I couldn't work out why some payments were failed 4-5 times in a row , and then ended up being authorised. They were so close together ( 10 -20 secs apart) , i thought this was too short a time for someone to change details and try again.


  5. Hi

     

    I Think I am having a problem with Protx Direct , I say think , because i'm a bit unsure what info i should have in my database for failed transactions , if any.

     

    This is my problem , I hope someone can help me.

     

    I am getting quite a few failed transactions , about 5 -10 per day , some of these end up as successful and some do not. All the failures that end up as succesful show as being about 10-20 secs apart when i check in protx Admin. They all contain no address , postcode or any other data apart from the customers e-mail address and an order number.

     

    I contacted Protx support and they asked me for -

     

    "In order for us to investigate further please could you supply the Status and Status Detail we returned to you in the Protx Response to the Transaction Registration POSTs for a few of the failed transactions (send four of five examples).

     

    In regards to the failed transactions which are then authorised please could you supply us with the VendorTxCodes and customer name of an example of these failed transactions"

     

     

    I checked in the database and returned the info to Protx as below (customer info edited out)

     

    From Protx admin

     

    Vendor TX Code: **************** A.customer (Failed) Order Number: 2991

     

    Vendor TX Code: **************** A.customer (Failed) Order Number: 2991

     

    Vendor TX Code: **************** A.customer (Failed) Order Number: 2991

     

    Vendor TX Code: **************** A.customer (Failed) Order Number: 2991

     

    Vendor TX Code: **************** A.customer (Failed) Order Number: 2991

     

    Vendor TX Code: **************** A.customer (successful) Order Number: 2991

     

    Our Database entry -

     

    order ID = 2991 Vendortxcode **************** txtype PAYMENT vpstxid {****************} staus OK statusdetail BLANK

     

    The above is one example of many , the failures are about 10-20 secs apart and the error is "transaction declined by the aquiring bank". I am assuming it's declined in most of these cases because the address and other data is missing.

     

    The last reply i had from protx support is below -

     

    "We will always *always* return a status as long as the transaction is registered with us. So for all of those failed transactions, a status would have been returned - for some reason it either didn't reach you or you didn't log it.

     

    There is a distinct reason for the failures, probably malformed data, incorrect card type, incorrect card number length or something - but without the status on the failed ones I cant tell you what it could be"

     

     

     

    Should a status be recorded for failed transactions in the database ?

     

    If yes , what could be the reason for me not having this data ?

     

    Any help would be appreciated , i have been trying to sort this for some weeks now.


  6. HELP :'( Not Getting any data in Analytics on Google..

     

     

    I have the code installed and the analytics section of my Google account reports that is recieving data , but no data appears in any report.

     

    I have my checkout_success page as the conversion goal and the code in place as below -

     

    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html <?php echo HTML_PARAMS; ?>>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
    <title><?php echo TITLE; ?></title>
    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
    <link rel="stylesheet" type="text/css" href="stylesheet.css">
    <?php
    			// osCoders.biz - Analystics - start
    			/*
    			Conditional code added thank to  rrodkey and bfcase
    			IMPORTANT -- IMPORTANT - IMPORTANT
    			You'll need to update the "xxxx-x" in the samples (twice) above with your own Google Analytics account and profile number. 
    			To find this number you can access your personalized tracking code in its entirety by clicking Check Status in the Analytics Settings page of your Analytics account.
    			*/
    			if ($request_type == 'SSL') {
    			?>
    			 <script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript">
    			 </script>
    			 <script type="text/javascript">
    			   _uacct="UA-xxxxx-x";
    			   urchinTracker();
    			 </script>
    			<?php
    			} else {
    			?>
    			 <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
    			 </script>
    			   <script type="text/javascript">
    			    _uacct="UA-xxxxx-x";
    			    urchinTracker();
    			 </script>
    			<?
    			}
    			// osCoders.biz - Analistics - end
    			?>
    </head>
    <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" onLoad="java script:__utmSetTrans()">
    <!-- header //-->
    

     

     

    and at the end .....

     

    <!-- body_eof //-->
    
    <!-- footer //-->
    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
    <!-- footer_eof //-->
    <br>
    <?php 
    // osCoders.biz - Analystics - start 
    	include(DIR_WS_MODULES . 'analytics/analytics.php'); 
    // osCoders.biz - Analistics - end
    ?>
    </body>
    </html>
    <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
    

     

     

    On succesful checkout a view source shows the transaction , but no data is being sent to google and nothing appears in my reports.


  7. Hi

     

    i'm using the Protx direct payment module and have had a few customers contacting us to say they couldn't check out.

     

    After investigating with a test purchase using my own card , the only flaw i could see is if they "miss" the pull down box for card selection , ie mastercard , visa etc , etc , the card won't be recognised , an error message shows , but with no info on the error.

     

    I tested my payment process extensivley before going live with it , but i guess as i know the site well, you tend to forget that other users may not notice things like the pull down box.

     

    Is a different method available to display and choose card types on the payment page in place of the pull down box ?

     

    any help appreciated as i'd hate to think i'm losing a sale from those that don't contact us.


  8. Can anyone tell me if the analytics code is in the right place in my checkout_succes.php ?

     

    at the top -

     

    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html <?php echo HTML_PARAMS; ?>>
    
    <?php
    			// osCoders.biz - Analystics - start
    			/*
    			Conditional code added thank to  rrodkey and bfcase
    			IMPORTANT -- IMPORTANT - IMPORTANT
    			You'll need to update the "xxxx-x" in the samples (twice) above with your own Google Analytics account and profile number. 
    			To find this number you can access your personalized tracking code in its entirety by clicking Check Status in the Analytics Settings page of your Analytics account.
    			*/
    			if ($request_type == 'SSL') {
    			?>
    			 <script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript">
    			 </script>
    			 <script type="text/javascript">
    			   _uacct="UA-xxxxx-x";
    			   urchinTracker();
    			 </script>
    			<?php
    			} else {
    			?>
    			 <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
    			 </script>
    			   <script type="text/javascript">
    				_uacct="UA-xxxxx-x";
    				urchinTracker();
    			 </script>
    			<?
    			}
    			// osCoders.biz - Analistics - end
    			?>
    
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
    <title><?php echo TITLE; ?></title>
    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
    <link rel="stylesheet" type="text/css" href="stylesheet.css">
    </head>
    <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" onLoad="java script:__utmSetTrans()">
    <!-- header //-->
    <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
    <!-- header_eof //-->
    
    <!-- body //-->

     

    At the bottom -

     

    <!-- footer //-->
    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
    <!-- footer_eof //-->
    <br>
    <?php 
    // osCoders.biz - Analystics - start 
    	include(DIR_WS_MODULES . 'analytics/analytics.php'); 
    // osCoders.biz - Analistics - end
    ?>
    </body>
    </html>
    <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

     

     

    can anyone confirm this correct ?


  9. Gimme the PHP files you using, maybe I can help...

    Regards

    Jack

     

    This is the code for the buy now buttons

     

     

    From featured products front page -

     

    <td class="star-product">'. strip_tags($description['products_description']) . '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, "products_id=" . $featured_products["products_id"]). '">' . DESCR_READ_MORE . '</a><br><br><a href="' . tep_href_link(FILENAME_DEFAULT, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $featured_products['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_IN_CART) . '</a><br><br><span class="greetUser">' . $currencies->display_price($featured_products['products_price'], tep_get_tax_rate($featured_products['products_tax_class_id'])) . ' </td>
    <td background="images/infobox/right.gif" class="smallText"><img src="images/infobox/right.gif" width="14" height="149" /></td>

     

     

    From Star Product -

     

    <td><a href="' .  tep_href_link(FILENAME_DEFAULT, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $star_products['products_id']) . '">' . tep_image_button('button_buy.gif', IMAGE_BUTTON_IN_CART) . '</a>' . tep_draw_separator('pixel_trans.gif', '10', '10') . '<a href="' .  tep_href_link(FILENAME_PRODUCT_INFO, "products_id=" . $star_products["products_id"]). '">' . tep_image(DIR_WS_LANGUAGES . $language . '/images/buttons/more_info.gif') . '</a></td>

     

     

    From Default Specials -

     

    <td class="star-product">'. strip_tags($description['products_description']) . '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, "products_id=" . $default_specials["products_id"]). '">' . DESCR_READ_MORE . '</a><br><br> <a href="' . tep_href_link(FILENAME_DEFAULT, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $default_specials['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_IN_CART) . '</a><br><br><s>'. $currencies->display_price($default_specials['products_price'], tep_get_tax_rate($default_specials['products_tax_class_id'])) . '</s><a href="' . tep_href_link(FILENAME_DEFAULT, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $default_specials['products_id']) . '">' . '</a> <span class="productSpecialPrice">' . $currencies->display_price($default_specials['specials_new_products_price'], tep_get_tax_rate($default_specials['products_tax_class_id'])) . '</span></td>

     

     

     

    Would be great if you can help :thumbsup:


  10. after checking further , it appears that EP is not happy when uploading a file with a description that contains HTML. It wrecks the HTML.

     

    It works fine as long as i have no HTML in my descriptions. Some of my products have HTML descriptions and some don't.

     

     

    HTML is the problem.

     

     

    Is there any fix for this ?

     

    luckily for me , 60 products have HTML and 500 dont ! :thumbsup:

     

     

    be nice to get it fixed ?


  11. I installed the Features Products 1.5.8 contrib. It seems to do exactly what I need it to do. However, when I go in the admin, the table headings are the like this: TABLE_HEADING_PRODOUCTS, TABLE_HEADING_STATUS and the page title is HEADING_TITLE.

     

    I took my back up copies of the files that I changes in the Admin section and redid all the changes per the instructions. I still have the same problem. This is the only area of admin that has the problem. How can I make the text heading to show in place of the fieldnames?

     

    I have little php knowledge....I've searched this forum. I thought I had seen something on this topic, but I can't locate it.

     

     

    check the file catalog/admin/includes/languages/english/featured.php

     

    define('HEADING_TITLE', 'Featured Products');
    
    define('TABLE_HEADING_PRODUCTS', 'Products');
    define('TABLE_HEADING_STATUS', 'Status');
    define('TABLE_HEADING_ACTION', 'Action');
    
    define('TEXT_FEATURED_PRODUCT', 'Product:');
    define('TEXT_FEATURED_EXPIRES_DATE', 'Expiry Date:');
    
    define('TEXT_INFO_DATE_ADDED', 'Date Added:');
    define('TEXT_INFO_LAST_MODIFIED', 'Last Modified:');
    define('TEXT_INFO_EXPIRES_DATE', 'Expires At:');
    define('TEXT_INFO_STATUS_CHANGE', 'Status Change:');
    
    define('TEXT_INFO_HEADING_DELETE_FEATURED', 'Delete Featured Product');
    define('TEXT_INFO_DELETE_INTRO', 'Are you sure you want to delete this featured product?');
    
    define('TEXT_DISPLAY_NUMBER_OF_FEATURED', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> featured products)');

     

     

    make sure you uploaded this file and that the spelling is correct


  12. Mmm, sounds like there could be a bug. can you post the settings? (a "show settings" setting will display them on the main page for easy copying)

    I think I'm reading you right that the data imported did not include a "description" column, but yet the description was blanked. Was it only the products that were change, or did that affect more products?

     

     

    The file contained only these headings on the columns -

     

    v_products_model - v_products_name_1 - EOREOR

     

     

    it was edited in excel , which i've used before with EP , and saved as tab de-limited.

     

    It took away all the product descriptions. The file contained about 269 products , i edited only about 60 of the product names, the rest were left as they were. I re-uploaded it with "Upload and Import EP File"

     

    Settings are -

     

    Temp Dir:

    /var/www/domain/temp/

     

    Split files on: 300 records

     

    Model Num Size: 25

     

    Price with tax: true

     

    Replace quotes: false

     

    Field seperator: tab

     

    Excel safe output: false

     

    Preserve tab/cr/lf: false

     

    Category depth: 3

     

    Enable attributes: true

     

    SEF Froogle URLS: false

     

     

     

    Thanks for your help


  13. Hi,

     

    I had my website put on for me so i don't know whats going on with these contributions, but i think i must need one so that i can charge for postage. At the moment we are giving free shipping as we don't know how to charge for it. When i go into the admin there isn't an option for putting prices on. I've had a look through the forums and contributions but i can't see the answer to my problem specifically.

     

    I would like to charge flat postage costs for the UK. This is what i would like to offer:

     

    Uk:

     

    Royal Mail 1st class (one off fee)

    OR

    Royal Mail Special Next Day Delivery (one off fee)

     

    Europe:

     

    Royal Mail Airmail (Would prefer this to be based on weight although a one off price would do)

    - With option of having - Royal Mail Airsure (for the 27 countries it delivers to) (one off fee charged)

    - Or International Signed For (for the ountries airsure doesn't deliver to) (one off fee charged)

     

    Rest of World:

     

    Royal Mail Airmail (Would prefer this to be based on weight although a one off price would do)

    - With option of having - Royal Mail Airsure (for the 27 countries it delivers to) (one off fee charged)

    - Or International Signed For (for the ountries airsure doesn't deliver to) (one off fee charged)

     

    At the very least i need to charge a seperate one off fee for each zone mentioned above. Any ideas which contribution would fit this?

     

    Thanks,

     

    Amy

     

     

    This will probably be what you need.

     

    UK Royal Mail & Overseas Shipping Methods

     

    http://www.oscommerce.com/community/contri...h,uk+royal+mail

     

    Installation is very easy.


  14. I used "download on the fly" to try and update some product names , i chose only to build the file with the product names.

     

    After i edited the names and uploaded the edited file, it deleted all my product descriptions ?

     

    I had to restore them from a DB back-up .

     

    Is it supposed to do this ?

     

    I though i could update certain fields on a product and leave the rest as is

     

    The model numbers remained the same in the file i downloaded , i never edited them , just the product name. The file had the correct ending tag on every line.

     

    Is this human error on my part or is something wrong ?


  15. Ok , yes ...

     

    I compared the code from a royal mail shipping contrib that has this feature alreday and just added it my other 2 shipping modules and adjusted the weight limits to suit. It works fine , don't ask me how it works because i am not an expert , i just compared the code and amde the changes.....that said

     

    Find this code in your shipping module. It may look slightly different depending on what module you are looking at , but it will start with // class constructor

     

    // class constructor
    function flat() {
      global $order;
    
      $this->code = 'flat';
      $this->title = MODULE_SHIPPING_FLAT_TEXT_TITLE;
      $this->description = MODULE_SHIPPING_FLAT_TEXT_DESCRIPTION;
      $this->sort_order = MODULE_SHIPPING_FLAT_SORT_ORDER;
      $this->icon = '';
      $this->tax_class = MODULE_SHIPPING_FLAT_TAX_CLASS;
      $this->enabled = ((MODULE_SHIPPING_FLAT_STATUS == 'True') ? true : false);

     

     

    I changed my ukpostarea module to this -

     

    // class constructor

    function ukpostarea() {

    global $order, $total_weight;

    $this->code = 'ukpostarea';

    $this->title = MODULE_SHIPPING_UKPOSTAREA_TEXT_TITLE;

    $this->description = MODULE_SHIPPING_UKPOSTAREA_TEXT_DESCRIPTION;

    $this->sort_order = MODULE_SHIPPING_UKPOSTAREA_SORT_ORDER;

    $this->icon = '';

    $this->tax_class = MODULE_SHIPPING_UKPOSTAREA_TAX_CLASS;

    $this->enabled = ((MODULE_SHIPPING_UKPOSTAREA_STATUS == 'True') ? true : false);

    $this->num_zones = 3;

     

    if ($total_weight < 1.5) { // If total ship weight is less than 1.50Kg do not show this shipping method

    $this->enabled = false;

    } // To remove this 3.00Kg limit, simply delete these 3 lines.

     

    }

     

    the code i added is in bold , you may or may not have the zones bit.

     

    This is the code form the original roymail contrib that had this already in place -

     

    // class constructor
    function rmfirst() {
    global $order, $total_weight;
      $this->code = 'rmfirst';
      $this->title = MODULE_SHIPPING_RMFIRST_TEXT_TITLE;
      $this->description = MODULE_SHIPPING_RMFIRST_TEXT_DESCRIPTION;
      $this->sort_order = MODULE_SHIPPING_RMFIRST_SORT_ORDER;
      $this->icon = DIR_WS_ICONS . 'shipping_rmuk.jpg'; // upload icon to catalog/images/icon directory
      $this->tax_class = MODULE_SHIPPING_RMFIRST_TAX_CLASS;
      $this->enabled = ((MODULE_SHIPPING_RMFIRST_STATUS == 'True') ? true : false);
      $this->num_zones = 1;
    
    	 if ($total_weight > 1.5) {	 // If total ship weight is over 3.00Kg do not show this shipping method
    		  $this->enabled = false;	// Anything over 3Kg its not economically wise to use this method
    	 }							 	// To remove this 3.00Kg limit, simply delete these 3 lines.
    
    }

     

     

     

    To make it not show if under a certain weight, change the section

     

    if ($total_weight > 1.5)

     

    to

     

    if ($total_weight < 1.5)

     

    the > is just replaced with <

     

     

    Now , i'm sure that is as clear as mud :D .... but just look at the code and compare it to your own modules that you are using and edit as required and see if it works. It's working for me fine with no problems.

     

    As i said ...i'm NOT and expert

×