Jump to content

leezzard

Members
  • Content count

    176
  • Joined

  • Last visited

Posts posted by leezzard


  1. I need to find a way for people to come to my website, login to their account, and pay me a sum of money without actually purchasing a product. Something that would allow the customer to enter in the $ amount manually.

     

    Here is why: My company is a vinyl fence company. Our fencing jobs are custom bids, and I would like to let customers come to my website, create an account, and pay the deposit or final invoice by credit card via the website. This would save me alot of time if there is a contrib available. That way I won't have to make a trip somewhere to pick up a deposit. I can instruct them to our website to pay there. I have found that about 90% of my customers have internet and have viewed our website at some time, so this would be extremely useful.

     

    The reason I don't want to create a seperate product for each job, is that some customers make several payments and can be odd dollar amounts.

     

    Thanks in advance for any help.


  2. To fix your problem you can follow my instructions here.

     

    To help simplify this for your site follow these instructions.

     

    In allprods.php find this:

    $this_url = tep_href_link(FILENAME_PRODUCT_INFO,  'store=' . str_replace(" ", "_", $this_name) . '&products_id=' . $this_id . (($this_language_code == DEFAULT_LANGUAGE) ? '' : ('&language=' . $this_language_code)), 'NONSSL', false);

     

    Replace it with this:

    $search_name  = array (" ", "'");
    
    $replace_name = array ("_", "");
    
    $this_url = tep_href_link(FILENAME_PRODUCT_INFO,  'store=' . str_replace($search_name, $replace_name, $this_name) . '&products_id=' . $this_id . (($this_language_code == DEFAULT_LANGUAGE) ? '' : ('&language=' . $this_language_code)), 'NONSSL', false);

     

    Is what this will do is delete the ' in your product title, allowing the rest of it to show properly. So it would say "A Bugs Life" instead of "A Bug's Life" in the URL. This worked with version 2 and should work with 3 unless there has been some major code changes to allprods.php. If this is the case let me know and I will look at the file.

     

    Hope it helps.


  3. I really like your boxes. I can't think of a way to implement it to my site right now, but if I do, I would like to be able to implement it. This is something that you should write up as a contrib and post to the contributions section for everyone to use. If you don't plan on writing it up as a contrib, them email it to me, I would love to have it.

     

    lee@thevinyladvantage.com


  4. I was having a problem getting this to display my product name in the URL. The problem was my product has an apostrophe( ' ) in it. It wouldn't display anything past the apostrophe.

     

    Here is what I did incase anybody has a similar problem:

     

    In allprods.php find this:

    $this_url = tep_href_link(FILENAME_PRODUCT_INFO,  'store=' . str_replace(" ", "_", $this_name) . '&products_id=' . $this_id . (($this_language_code == DEFAULT_LANGUAGE) ? '' : ('&language=' . $this_language_code)), 'NONSSL', false);

     

    Change it to this:

    $this_url = tep_href_link(FILENAME_PRODUCT_INFO,  'store=' . str_replace($search_name, $replace_name, $this_name) . '&products_id=' . $this_id . (($this_language_code == DEFAULT_LANGUAGE) ? '' : ('&language=' . $this_language_code)), 'NONSSL', false);

     

    Then right above it add this:

    $search_name  = array (" ", "'");
    
    $replace_name = array ("_", "ft");

     

    As you can see in my above example, when an apostrophe is found, it is replaced with "ft". You can change it anything you want. To have the apostrophe deleted, just delete ft in the example, leaving only the quotation marks with no spaces in there. You can use this example to replace any characters or letters you wish by adding the letter, number or character to $search_name and then add the letter, number, or character you want to replace it with in $replace_name. Some other examples may be to find "&" and replace it with "&amp".

     

    It's not brain surgery, but it helped get allprods working with my products so I thought I would share it just in case somebody else is having the same problem as me.


  5. David,

     

    I agree that it can be frustrating. But working through the bugs can be half the fun. In April I had never seen php before in my life. But because of osC I have new knowledge. I don't claim to know alot, but if it weren't for bugs, and trying to figure out how to make contribs work for different versions, I wouldn't have half of a clue about php.

     

    I just don't want to see any more contributing members leave because of unfair criticism....it has happened already.

     

    Lets enjoy what we have, and work together to fix what isn't working. :)


  6. David,

     

    Better yet, how bout they don't contribute anything, that way you can write everything from scratch.

     

    Contribs are being written all the time. People write them for different versions of osCommerce. I think the fact that they are writing them and contributing them for FREE is good enough and shouldn't warrant any type of complaints like the one you just issued.

     

    Don't expect everything to be handed to you on a silver platter. Everything here is free. If you had to pay for it and it didn't work, then you could complain. A little work may be required to get alot of the contribs working with the new MS2, and not all of the fixes will be easy to do.


  7. Steve,

     

    First of all, great work and thanks for the contribution, I can't wait for version 2.

     

    Maybe you have addressed this as I just skimmed the latest posts in this thread. But would it be possible to add a radio button to this contrib asking if the shipping address is a residential or commercial address?

     

    I ask this because....My business address is in a residential area, therefore considered residential. But if I were to order something for my company and fill in the company field, it will give me ground rates that could slow the shipment, since I really only qualify for home delivery.

     

    I placed three online orders tonight from three different websites. All three websites asked me this question using a radio button. I think it could possibly help and save us from future problems and be a valuable part of your contrib.

     

    Just an idea.

     

    Thanks for your time. :)


  8. As much as I hate the search function with phpBB, it has actually helped me quite considerably.

     

    I never find what it is I am searching for on the first two or three pages of returned results, but in reading through all the threads that are returned prior to the one I actually wanted, I have learned of and implemented many new contribs/tips to my site. I know it's frustrating not getting the answer you want immediately, but searching through threads will teach you even more. The ones who aren't willing to spend the time to search are also the ones who want everything handed to them on a silver platter.

     

    When I am done with my MS2 site, it will be extremely modded. It will contain over 50+ changes, contributions, & tips/tricks. This may not be much compared to some people, but compared to my first site, it will be much more robust.

     

    Don't expect perfection with your sites overnight. If you do...then you will be extremely disappointed tomorrow! Be patient and have fun!

     

    PEACE!!! :)


  9. I put this contrib in my ms2 version and didn't get any errors. I had a problem when people logged in using it though, it sent them to a "404 Page cannot be found" page, but that was because of my configure.php settings.

     

    There is something you need to change once you get it installed though.

     

    Around line 108 is this:

    '<a href="' . tep_href_link(FILENAME_PRODUCT_NOTIFICATIONS, '', 'NONSSL') . '">' . LOGIN_BOX_PRODUCT_NOTIFICATIONS . '</a><br>' .

     

    You need to change it to this:

    '<a href="' . tep_href_link(FILENAME_ACCOUNT_NOTIFICATIONS, '', 'NONSSL') . '">' . LOGIN_BOX_PRODUCT_NOTIFICATIONS . '</a><br>' .


  10. is it in test mode?

     

    If so, you will need to do an order, minus paying for it at paypal, and then send a test IPN in the admin>paypal IPN>send test IPN.

     

    It will send the email and create the order.

     

    Also if your emails don't show the shipping or billing adress, use this fix found by dreamscape:

     

    if using v.97 for either MS1 or for the newcheckout, it pulls the address incorrectly for the email.

     

    I have tried this and it is working ok from what I can see:

     

    at the bottom of paypal_notify.php, find and change:

    tep_address_label($order->customer['id'], $order->delivery['format_id'], 0, '', "n")

    to

    tep_address_format($order->delivery['format_id'], $order->delivery, 0, '', "n")

     

    and change

    tep_address_label($order->customer['id'], $order->billing['format_id'], 0, '', "n")

    to

    tep_address_format($order->delivery['format_id'], $order->billing, 0, '', "n")

     

    Also if you want, you can now try upgrading to v0.971. I just finished and was successful. I replaced all the old .php files from v0.97 to the ones supplied with v.0971, and then added the new code in the .txt files. I did notice that in v0.97 there is a file catalog/includes/classes/order.txt that wasn't in the folder for v0.971. I don't know that it is needed, but I left the file alone. I didn't uninstall anything from v0.97, but rather just added the new pieces of code in the .txt files.

     

    Maybe somebody can shed a little more light on why this worked, when a clean install of v0.971 didn't.


  11. john

     

    I agree that a lack of support with the paypal IPN is apparent, and that the importance of a payment module is probably more important than most contributions out there.

     

    I understand the author of this contrib had a baby a couple months ago, and I can honestly say I don't blame him for not hanging around on forums. My wife is pregnant and due in one month, as for me, my site will be put on hold and you won't be seeing me.

     

    But in the meantime, I am surprised nobody has "taken over" as a support leader on this contrib. I have seen quite a few other contributions where the author abandoned the project after a couple weeks, but somebody else was there to help out.

     

    I am sorry if I am out of line here, no I haven't contributed anything...YET. I have only been using osCommerce for a month now. It is also the first time I have seen php. But I am a fast learner, and a huge fan of forums and helping others.

     

    Again my apologies in advance, boo me, ban me, yell at me or whatever, I am just speaking my piece.


  12. Well since nobody has any idea why these problems exist or how to fix them, can somebody enlighten me on the "security" issue associated with the paypal payment option that is included with osCommerce. I was told to use paypal IPN because of a security problem with the osCommerce paypal module.

     

    I really need to get a payment module going soon and want to make sure I won't be comprimising customer information.

     

    Thanks


  13. changed an 's in an 's

     

    and now the english menu is to be seen as wel ....

     

    Where is this change made??? I have several category names I need to add the / in front of ' in order to get this working...but I can't find my category names.


  14. Those are all the same problems I am having, and still haven't figured it out. I have uninstalled, reinstalled and replaced about every file in my store. I even tried it on a clean install of oscommerce and had all the same problems.

     

     

    Hopefully there will be a fix or a new release fixing these problems soon.

×