61 users online (1 members and 60 guests)  


  Results 1 to 8 of 8

Related

  1. Website Script Help Needed    Forum: Databases
    Replies: 4
  2. Website Script Help Needed    Forum: Website Scripts Forum
    Replies: 0
  3. ebay script needed    Forum: Website Scripts Forum
    Replies: 2
  4. Help Needed in CGI Script Please    Forum: CGI Perl Forum
    Replies: 0
  5. php upload script needed..    Forum: PHP Forum
    Replies: 5
  1. #1
    Nosebolt's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2008
    Posts
    5

    help needed with PayPal script

    Ok Iíll try again; I think my first post was deleted because I referenced the site I am having trouble with.

    I have been in the phone unlocking business for quite a while, but have just got around to building a web site, so here is the problem I have sorted out how to collect some info that I require with each order, (name, address, IMEI) but I would like a script that will set the price of a repair from a dropdown and then along with the rest of the info load a PayPal page. As it stands I have made a pay page for every item (about 100 pages) but there are many more I would like to add and feel a script would be a bit slicker.

    I did try and show an example of what I have so far, but can only assume this is a no-no, so if any one wants to see what I have so far to get a clearer picture then PM me and Iíll send a link.

  2. #2
    rangana's Avatar
    Moderator/Allstar

    Status
    Offline
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    317

    Re: help needed with PayPal script

    Yes, your post was removed. Anyway, I see your point. You might find this basic example useful:
    Code:
    <script type="text/javascript">
    window.onload=function()
    {
    for(var i=0,opts=document.getElementsByTagName('select');i<opts.length;i++)
    opts[i].onchange=function(){location.href=this.value;}
    }
    </script>
    Select 1:
    <select>
    <option value="http://www.google.com">Google</option>
    <option value="http://www.yahoo.com">Yahoo</option>
    <option value="http://www.ask.com">Ask</option>
    </select>
    <br>
    Select 2:
    <select>
    <option value="http://www.ahfb2000.com">Ahfb2000</option>
    <option value="http://www.fashionstyleblog.com">FashionStyleBlog</option>
    <option value="http://www.lafontana.ca">La Fontana</option>
    </select>
    Hope it helps.
    Last edited by rangana; 07-23-2008 at 04:29 AM.
    Checkout my porfolio.
    Please click the button when a member helped you.
    Take time to use Forum's Search function.

  3. #3
    Nosebolt's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2008
    Posts
    5

    Re: help needed with PayPal script

    thanks for the reply, thats not far from what i have, what i would like to do is use the dropdown box to go to a page that has a price automaicly filled in and fields to collect extra info

    i would like to paste a copy of the code i have so far but it includes my web address. is that ok?

  4. #4
    rangana's Avatar
    Moderator/Allstar

    Status
    Offline
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    317

    Re: help needed with PayPal script

    That would be fine. Please do so.
    Checkout my porfolio.
    Please click the button when a member helped you.
    Take time to use Forum's Search function.

  5. #5
    Nosebolt's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2008
    Posts
    5

    Re: help needed with PayPal script

    here is one of the 18 dropdowns, each links to 1 of 6 set price paymant pages where extra details can be entered and then to PayPal cart. as you can imagen the page is very heavy so i wouls like to devide it up idealy first page would just be select manufacture, then to a page where customer selects model, enteres details and that goes direct to paypal, one other factor is i will need to add / adit models and prices weekly.

    sorry the code is a bit long but as i said this is only one of 18 on the page

    <select name="URL36" onChange="if(options[selectedIndex].value)
    window.location.href=
    (options[selectedIndex].value)" size="1" style="font-size: 10pt; font-family: Arial; width:170; height:20">
    <option selected>Select Model</option>
    <option>------------------</option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia E50</option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia E60 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia E61 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia E61i </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia E62 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia E65 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia E70 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia E90 </option>
    <option>------------------ </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia N70 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia N71 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia N72 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia N73 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia N76 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia N80 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia N81 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia N90 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia N91 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia N92 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia N93 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia N93i </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia N95 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia N95 8GB </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia N96 </option>
    <option>------------------ </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 1100 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 1101 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 1110 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 1110i </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 1112 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 1112b </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 1600 </option>
    <option>------------------ </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 2100 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 2300 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 2310 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 2600 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 2610 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 2630 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 2650 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 2760 </option>
    <option>------------------ </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 3100 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia 3109 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia 3110 Classic </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 3120 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 3200 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 3210 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 3220 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 3230 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia 3250 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 3300 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 3310 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 3330 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 3410 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 3510 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 3510i </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 3650 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 3660 </option>
    <option>------------------ </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 402 </option>
    <option>------------------ </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 5100 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 5110 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 5140 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia 5200 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 5210 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia 5300 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia 5310 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia 5500 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 5510 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia 5610 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia 5700 </option>
    <option>------------------ </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6020 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6021 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6030 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6060 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6070 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6080 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia 6085 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock nokia 6086 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6100 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6101 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6103 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6110 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia 6110 Navigator </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6111 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia 6120 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia 6121 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia 6125 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia 6126 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia 6131 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia 6136 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6150 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia 6151 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6170 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6210 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6220 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6230 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6230i </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia 6233 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia 6234 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6250 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6260 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia 6267 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia 6270 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia 6280 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia 6288 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia 6300 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia 6301 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6310 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6310i </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6500 (old type)</option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia 6500 Classic </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia 6500 Slide </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6510 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6600 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6610 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6610i </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6630 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6630i </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6650 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6680 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6681 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokai 6682 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6800 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6810 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6820 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 6822 </option>
    <option>------------------ </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 7110 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 7200 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 7210 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 7250 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 7250i </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 7260 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 7270 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 7280 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 7360 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia 7370 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia 7390 </option>
    <option value="http://www.fix-a-phone.co.uk/level3.htm">Unlock Nokia 7373 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia 7500 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 7600 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 7610 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 7650 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 7700 </option>
    <option>------------------ </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 8210 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 8250 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 8310 </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia 8600 Lunar </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 8800 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 8800 Sirocco </option>
    <option value="http://www.fix-a-phone.co.uk/DM3.htm">Unlock Nokia 8800 Arte </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 8850 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 8890 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 8910 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 8910i </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 9000 </option>
    <option>------------------ </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 9100 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 9210 </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia 9300 </option>
    <option>------------------ </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia N-Gage </option>
    <option value="http://www.fix-a-phone.co.uk/level1.htm">Unlock Nokia N-Gage QD </option>
    <option>------------------ </option>
    <option value="http://www.fix-a-phone.co.uk/unlisted.htm">Other, Not Listed </option>
    </select>

  6. #6
    Nosebolt's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2008
    Posts
    5

    Re: help needed with PayPal script

    another thought it would be nice if it print an order summery to, but at his stage not to important
    Last edited by Nosebolt; 07-23-2008 at 06:47 AM.

  7. #7
    rangana's Avatar
    Moderator/Allstar

    Status
    Offline
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    317

    Re: help needed with PayPal script

    Okay, I see your goal. This could be done via JS wherein you have the pages for manufacture, model and details respectively. This would mean a tedious task as you would define each pages having different model (page B) for different manufacturer (page A) which would'nt be of help.

    You might want to use server-side for this (PHP or ASP or the like).

    Hope that makes sense.
    Checkout my porfolio.
    Please click the button when a member helped you.
    Take time to use Forum's Search function.

  8. #8
    Nosebolt's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2008
    Posts
    5

    Re: help needed with PayPal script

    useing what i found reading this and a few other forums i come up with this, it does what i need but still a bit heavy
    Attached Files Attached Files



Tags for this Thread