Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

playcraft

Pioneers
  • Posts

    200
  • Joined

  • Last visited

Posts posted by playcraft

  1. Shipping address line 2 is omitted in ext modules express_payflow.php file. (http://addons.oscommerce.com/info/5657)
     
     
    After line 182:
     
            

    $ship_address = tep_db_prepare_input($response_array['SHIPTOSTREET']);

     
    add:

     $ship_address2 = tep_db_prepare_input($response_array['SHIPTOSTREET2']);

    Change line 208:

     

    From:

    $check_query = tep_db_query("select address_book_id from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$customer_id . "' and entry_firstname = '" . tep_db_input($ship_firstname) . "' and entry_lastname = '" . tep_db_input($ship_lastname) . "' and entry_street_address = '" . tep_db_input($ship_address) . "' and entry_postcode = '" . tep_db_input($ship_postcode) . "' and entry_city = '" . tep_db_input($ship_city) . "' and (entry_state = '" . tep_db_input($ship_zone) . "' or entry_zone_id = '" . (int)$ship_zone_id . "') and entry_country_id = '" . (int)$ship_country_id . "' limit 1");
    

    To:

    $check_query = tep_db_query("select address_book_id from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$customer_id . "' and entry_firstname = '" . tep_db_input($ship_firstname) . "' and entry_lastname = '" . tep_db_input($ship_lastname) . "' and entry_street_address = '" . tep_db_input($ship_address) . "' and entry_suburb = '" . tep_db_input($ship_address2) . "' and entry_postcode = '" . tep_db_input($ship_postcode) . "' and entry_city = '" . tep_db_input($ship_city) . "' and (entry_state = '" . tep_db_input($ship_zone) . "' or entry_zone_id = '" . (int)$ship_zone_id . "') and entry_country_id = '" . (int)$ship_country_id . "' limit 1");

    Add after line 217:

    'entry_suburb' => $ship_address2,

    Add after line 416:

     $params['SHIPTOSTREET2'] = urlencode($order->delivery['suburb']);
     

     

  2. The Payflow module has issues with retrying credit cards and different Paypal accounts for the same shopping cart, session id, etc. I would recommend the $request_id be changed to include the token for Paypal Express checkout and for the regular payment pro checkout the $post_string should be hashed and tacked onto $request_id. Otherwise, the customer will be hit with the DUPLICATE flag, causing a false positive.

  3. ah! it was the sessions file, not the other one. darn, such a simple fix. thank you!

     

    Now I have another problem. I keep getting a 500 Internal Service Error after installing Ultimate SEO URLs. Anyone got a suggestion?

     

    and this when I click on the store, which I renamed to store.php from index.php so it didn't conflict with index.html which is the site homepage.

     

    Fatal error: Call to a member function add_current_page() on a non-object in /home/content/f/i/s/fishera/html/sonicfishconsulting/clients/tricoast/includes/application_top.php on line 312

    What is on line 312 of your application_top.php file?

  4. hi

    i m working on of the project ,i need to implement FedEx address verification for one of my client ,but the problem is they dont directly ship to customer they forward their orders to third party and thirdparty handles the shipping using theire Fedex acount ,there is no module for fedex shipping on existing site so can any one tell me what i need to do becoz i am new to oscommerce and i have not done anything with webservices .please some one guide me.

    I would start by searching fedex in the add-on section.

  5. So here is my dilema, apparently I have done something wrong and I really need some help.

     

    my website is prixmotorcycles.com for anyone interested in viewing..... I will gladly provide any information about my site to anyone who can help me!

     

    I am running the Google Checkout contribution (google-checkout-oscommerce-v1.4.5a) on my website.

     

    For the life of me, I cannot get anything to work right.

     

    Apparently it works to the point where my customer gets their cart info sent to Google Checkout, and they Pay........

    from that point on....... nothing. I see no comprehension of an order within my system at all. All I get is an email stating the Google Checkout Payment has been made. I am even having trouble finding any customer information too.

     

    Also associated with this issue, is the fact that I use (Table Rate) shipping, which works great within my site, but so far, none of the Google Checkout purchases have had any shipping assessed. This is a night mare, and I really would love some assistance.

     

    Thanks in advance,

    Patrick

     

    Is there any errors in the Integration Console of Google Checkout?

  6. Hi,

     

    When uploading an image with an uppercase file extension the thumbnails etc don't get generated and the resize utility also doesn't create them.

     

    This fix allows you to upload images that have an uppercase file extension.

     

    in admin/includes/classes/image.php

    line 62 in function resizeWithGD

     

    was - switch (substr($image, (strrpos($image, '.')+1))) {

    fix - switch (strtolower(substr($image, (strrpos($image, '.')+1)))) {

     

    How do you go about getting changes into the repository?

     

    Should I just report it using http://svn.oscommerce.com/jira/secure/Issu...a?pager/start=0

    What operating system are you running?

  7. <_<

     

    Quick Question:

     

    Each time I print a label, I get two labels from my printer, one blank, one with the correct fedex information on it.

     

    Anyone have a fix for this? Otherwise everything is great.

     

    Thanks

    Check your margin setting on your browser (page setup).

  8. Hello,

     

    This contribution works great, thank you. Was wondering, once a package is shipped, the contribution updates the customer order info with tracking information. Is there a way, or maybe I missed it, that it updates the order from processing to shipped?

     

    Thanks JR

    Uncomment in ship_fedex.php

    			//$update_status = array ('orders_status' => 3);
    		//tep_db_perform(TABLE_ORDERS, $update_status, 'update', "orders_id = '" . $order . "'");

  9. I got an error when submit a label under Test Mode:

     

    ERROR: FedEx Return Error F834 : Shipper company name cannot exceed 35 characters

     

    Test Server:

    define('FEDEX_URI', 'https://gatewaybeta.fedex.com:443/GatewayDC', true);
    define('FEDEX_HOST', 'gatewaybeta.fedex.com/GatewayDC', true);

     

    Can anyone help me?

     

    You can add substr() to the shipper company variable (ex. substr($company, 0, 35)).

  10. i do is it just restoring it? I am nervous because this site's host transfered it from another site and the other site used oscommerce to create it but the changed oscommerce a lot so the locations are all messed up but the info is still the same. So i dont want to change where it points to now that i have it right by restoring things but i just want the info.

    You might want to make a backup of your backup. I would make a subdomain for testing your migration process. You cannot restore a database file through oscommerce without oscommerce being installed. So the way to go about this is run you sql file in phpmyadmin (make sure you use the same login credentials as your old database). Then upload your backup files.

  11. what do you mean coding in the dark?? I mean.. the css i am using is made specifically for html sites, so i am struggling with that too i guess..

     

    I just think that your changes arent the right changes to make because the lines you have me changing, and the lines Spooks had me change, AND the ones i changed on my own were the ones where i saw the correct changes. I actually HAD the code working fine aside form using the large image. Look at my past posts in this thread.. You will see why i am over all hesitant to make these changes..

     

    Changing the product listing to show the large does not make sense to me in the index page because i do not want them to show.. maybe i am being dense, or nieve, or just annoying, but it doesnt make sense to me.

    Spooks changes are the same as the ones I posted above (only difference being his is stored in a variable and performs a check to see if the image is set in the database but his code is not retrieving the large image). Can you post your modified files that work aside from the large image showing?

     

    What I meant about coding in the dark is I cannot see the output as I do not have access to your webserver.

  12. In index.php make the following changes:

    Find:

    $select_column_list .= 'p.products_image, ';

    and add below:

    $select_column_list .= 'p.large_products_image, ';

     

    Also in index.php you will need to include the css code.

     

     

    Do not perform this next step in a production environment.

     

    In product_listing.php the following changes need to be performed:

    Find:

    $display .= '<table summary="" width="100%" ><tr><td style="text-align:center;" valign="top" height="'.PRODUCT_IMAGE_VSPACE.'" >'.$image.'</td></tr></table>';

    and replace with:

    $display .= '<table summary="" width="100%" ><tr><td style="text-align:center;" valign="top" height="'.PRODUCT_IMAGE_VSPACE.'" >'.$image. tep_image(DIR_WS_IMAGES . $listing['large_products_image'], $listing['products_name'], '', '', 'class="large"') .'</td></tr></table>';

    You will need to add a link in there as well.

    I can't really take this any further as I would be coding in the dark.

  13. a mess?? whats a mess? I have not done anything aside from adding SPOOK'S code...I used Burt's ClubOSC thumbnail to store the large and small images.. The thumbnailer uses the large_product_image for the pop up.. this is the sql statement for it

    ALTER TABLE `products` ADD `large_products_image` VARCHAR( 64 ) AFTER `products_image`;

    soyes, it is in the products table

    It looks messy compared to standard english, HEH ;) .

  14. ok.. so since you are on the same host, you will just be using the same database. You wont have to backup because you wont need to do anything to the database (i believe). But its never bad to be more safe than sorry. back up your DB anyways..

     

    Then you can go into your configure.php file and set up the db stuff which is located at the bottom of the configure..

    If you are going to run the osCommerce installation wizard it WILL overwrite your database entries.

  15. you arent getting what i want to do. I appreciate you taking the time to help me, but i want to make these changes on the PRODUCT LISTING page.. which is why i came here for help, because the coding was different than the stock.

     

    I want to customers to look at a category that holds a number of images and just hover and see the larger version of the image without having to click to the product description..

    Post the contents of your product_info.php file.

  16. yea.. like i said.. I know where they are coming from, but i dont know really how to do the css.. i am going to play with it some more, but i think it might be over my head..

    Add you css and do the following:

    Change:

    echo tep_image(DIR_WS_IMAGES . $products['large_products_image'], $products['products_name']);

    to:

    echo tep_image(DIR_WS_IMAGES . $products['large_products_image'], $products['products_name'],'','','class="large"');

    You will probably have to make the image into a hyperlink as well.

  17. Hi,

     

    I have installed this contribution but am having one problem. When I go to: admin/ship_fedex.php (it goes there when I click on ship when viewing an order) the first page works - but when I click "submit" it does not work - I get a blank page. This is the link it tries to go to: admin/ship_fedex.php?cPath=&cID=&oID=23&action=ship

     

    I have not modified that file and have checked and re-checked the install.

     

    Thanks,

    Philip

     

    Have you tried to debug this?

     

     

    P.S. I am from Pigeon Forge, TN B)

×
×
  • Create New...