Jump to content


  • Content count

  • Joined

  • Last visited


Profile Information

  • Real Name
  • Gender
  1. walkman

    Paypal Express with v2.2?

    Just a follow up. The Harold contribution was what I needed to implement paypal for v2.2. Harold also created an equivalent contribution for PayPal Standard. I also found this thread useful in configuring osC and PayPal http://forums.oscommerce.com/topic/331996-how-to-setup-paypal-website-payments-standard/page__hl__orders+come+through+before+confirmation
  2. walkman

    Paypal Express with v2.2?

    Wow, that's good news! There are so many contributions, and v2.2 is so old, that I thought it must have surely changed by now.
  3. walkman

    Paypal Express with v2.2?

    Is it possible and what contribution is needed/recommended? It looks like paypal's official osCommerce contribution wants v2.3x, but I have a heavily modified 2.2 website that would be a major effort to upgrade. I already have all the security enhancements applied to 2.2 and pass PCI testing.
  4. walkman

    LinkPoint SSL change caused downtime

    I have been using Linkpoint API to connect to the CC gateway since 2006. This routine used curl and PHP. It stopped working last night around 7:30 EST. Calls to technical support revealed that the following 2 lines need to be added (or uncommented if already there): curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); Existing lines in the curl section: curl_setopt ($ch, CURLOPT_URL,$host); curl_setopt ($ch, CURLOPT_POST, 1); curl_setopt ($ch, CURLOPT_POSTFIELDS, $xml); curl_setopt ($ch, CURLOPT_SSLCERT, $key); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); I believe that the contribution I used was based on 3010 -- this may have been replaced as I didn't find it in search.
  5. walkman

    Vendor Locator Displayed by Distance

    Do "status" changes work? I've been using this contribution for a while, and just noticed that if a vendor with a 'disabled' status is within the search area that NO results show for the search. I don't have the time to look at the code to figure out what's going on, so I guess I'll just DELETE vendors instead of disabling them.
  6. walkman

    How did you hear 1.5 question

    Hello, It is certainly possible -- but it's not trivial. But hey, that's how you learn how to program. You'll need to figure out which php file displays the page that you want the referral field to display on. Then try to cut and paste the relevant code from create account to your target php file. Two tips: Make sure that you understand what files are involved with the referral contribution. Make sure that you undertand that most php programs in OSC have code in the Head section to process the various "options" for that program, in addition to the code in the Body. Example is "update". This is important in understanding where you need to place new code.
  7. walkman

    How Did You Hear About Us - Support

    I posted the following update to the contribution. (Disclaimer: This is my first post as a contribution -- I usually just post code in a forum message when I've made a change I thought someone might find useful.) ------------------###############--------------------- Instructions below provided by: Walkman UPDATE: This is an update to the referral sources report that is part of the 1.4 release. This report adds 1) date selection 2) drill down capability on individual referral codes This shows the monthly referrals for a particular source code within the date range selected Note: the referral source date is based on the creation date of the account Sorry, that this is not against the 1.5 version - but we didn't need those features and we had already heavily modified the 1.4 release to fit our needs. I also apologize if this doesn't work for you. I think it works with the standard release but we have a heavily modified version of OSC and I don't have time to produce a commercial quality release. It should be easy for you to test since it's just a report. Or modify using a good file comparison program to spot the changes. BTW: we modified the 1.4 version because we did not want to require the user to select from a long pull-down list of sources. We were afraid they would just skip it. So instead we give them a blank text field to write what ever the want. When we process the order using "orders.php" we display what they entered and then we make the actuall selection from the pull-down list at the time we update the status of the order to "shipped". We think this gives us a higher response rate (currently 75-80%) and more accurate data since it is reviewed. Therefore we don't need all of the "other" logic in the standard release.
  8. walkman

    Affiliate build-a-link addon

    Ok, I decided to post a copy of the tep_draw_categories_pull_down function that would be needed to add the same functionality for the build_category_link. (this is just a mod of the above product function) --------- I added this to affiliate_functions ---------------------- function tep_draw_categories_pull_down($name, $parameters = '', $exclude = '') { global $currencies, $languages_id; if ($exclude == '') { $exclude = array(); } $select_string = '<select name="' . $name . '"'; if ($parameters) { $select_string .= ' ' . $parameters; } $select_string .= '>'; $categories_query = tep_db_query("select p.categories_id, pd.categories_name from " . TABLE_CATEGORIES . " p, " . TABLE_CATEGORIES_DESCRIPTION . " pd where p.categories_id = pd.categories_id and pd.language_id = '" . (int)$languages_id . "' order by categories_name "); while ($categories = tep_db_fetch_array($categories_query)) { if (!in_array($categories['categories_id'], $exclude)) { $select_string .= '<option value="' . $categories['categories_id'] . '">' . $categories['categories_name'] . '</option>'; } } $select_string .= '</select>'; return $select_string; } -------------------------------------------------------------
  9. walkman

    Affiliate build-a-link addon

    Ok, I tried the above code and it wouldn't work, so I also did a patch to get it to work with the version 2.6 file -- "affiliate_banners_build.php" . Here is the important code to get a drop down of products instead of the popup window: ---------- replace this code around line 81 ---------------------------- <tr> <td class="smallText" align="center"><?php echo TEXT_AFFILIATE_INDIVIDUAL_BANNER_INFO . tep_draw_form('individual_banner', tep_href_link(FILENAME_AFFILIATE_BANNERS_BUILD) ) . "\n" . tep_draw_input_field('individual_banner_id', '', 'size="5"') . " " . tep_image_submit('button_affiliate_build_a_link.gif', IMAGE_BUTTON_BUILD_A_LINK); ?></form></td> </tr> <tr> <td class="smallText" align="center"><?php echo '<a href="java script:popupWindow(\'' . tep_href_link(FILENAME_AFFILIATE_VALIDPRODUCTS) . '\')"><b>' . TEXT_AFFILIATE_VALIDPRODUCTS . '</b></a>'; ?> <?php echo TEXT_AFFILIATE_INDIVIDUAL_BANNER_VIEW;?><br><?php echo TEXT_AFFILIATE_INDIVIDUAL_BANNER_HELP;?></td> </tr> <tr> ---------------- with this code ---------------------------------------------------------------------- <tr> <td class="smallText" align="center"><table width="100%" align="center" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="smallText" align="right"><?php echo TEXT_AFFILIATE_INDIVIDUAL_BANNER_INFO; ?></td> <td><?php echo tep_draw_form('individual_banner', tep_href_link(FILENAME_AFFILIATE_BANNERS_BUILD)); ?></td> <td><?php echo tep_draw_products_pull_down('individual_banner_id', 'style="font-size:10px"'); ?></td> <td><?php echo tep_image_submit('button_affiliate_build_a_link.gif', IMAGE_BUTTON_BUILD_A_LINK); ?></form></td> </tr> </table></td> </tr> ---------------------------------------------------------------------------------------- -- Note that of the two functions mentioned earlier I already had one of them installed, so I just added the other one to affiliate_functions.php. Check to see what you already have. -- Also, note you will want to make a similar change to the affiliate_banners_build_cat.php file.
  10. Did anyone ever figure out the problem with the speed enhancement code and getting the "host" name to display? I replaced the code as mentioned above and substituted the DNS IP address and tried various timeout values - but only the IP of the host is displayed.
  11. walkman

    Vendor Locator Displayed by Distance

    http://www.sportsaccessories.com/commerce/dealer_locator.php Has a nice implementation of this functionality. Note how they have enhanced it to prompt for "distance" + they have integrated yahoo maps into the results. You can use "30301" to see some results
  12. If you look in the application_top.php file that is part of the download you will see where the code should be inserted. Note: the install instructions are misleading. Also note that many entries will not have a referring URL. But the ones that do are valuable information. It's great to be able to see the keywords used in google and then how deeply they scan the website -- let's you know if those are good keywords to target.
  13. walkman


    Does anyone have an example of a working osc website that has this contribution installed?
  14. walkman

    LinkPoint API & CURL Suggestion

    BTW, the default port curl wants to use is '1129'.
  15. walkman

    Fedex Ground is Horrible!

    I've always had good results with fedex air, but I've recently come face-to-face with how bad fedex ground can be. Apparently they got their ground operation via an acquisition -- and as a result none of their systems/operations are really integrated. We had a package fall into a black hole because the customer entered an incorrect zip code. Which would explain some delay, but Fedex has had the package for almost 2 weeks -- for a shipment going 25 miles. We have been calling them for over a week to try to resolve the problem. The CSR will say they have updated the zip code, then the next day they insist that they never talked with anyone. On the 5th day of trying to resovle the problem, they transferred me to a warehouse supervisor by accident. He made it sound like their computer systems are useless and who knew where the package is now. He said he would leave a paper note for the next shift to look for the package?! UPS may be rough on packages sometimes, but at least they know how to keep up with them. If they find a mislabeled package they take the initiative to resolve the problem themselves.