Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Redirect to Paypal [modified]

Redirect to Paypal [modified]

Scheduled Pinned Locked Moved ASP.NET
combusiness
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    Imran Khan Pathan
    wrote on last edited by
    #1

    Hi friends i want to redirect user to paypal site on button click events. my code is string str = ""; str = "http://www.paypal.com/cgi-bin/webscr"; str &= "&cmd=_xclick"; str &= "&business=xyz@xyz.com"; . . . . . . . . Response.Redirect(str); NOT FOUND thanks Pathan -- modified at 7:43 Thursday 30th November, 2006

    T G I E 5 Replies Last reply
    0
    • I Imran Khan Pathan

      Hi friends i want to redirect user to paypal site on button click events. my code is string str = ""; str = "http://www.paypal.com/cgi-bin/webscr"; str &= "&cmd=_xclick"; str &= "&business=xyz@xyz.com"; . . . . . . . . Response.Redirect(str); NOT FOUND thanks Pathan -- modified at 7:43 Thursday 30th November, 2006

      T Offline
      T Offline
      Torsten Mauz
      wrote on last edited by
      #2

      I suggest you re-read what you pasted ;) you are redirecting to the value of strGO, but you are filling out the paypal url in a variable called str That code is saying Response.Redirect(""); so no wonder it's not working ;) HTH

      1 Reply Last reply
      0
      • I Imran Khan Pathan

        Hi friends i want to redirect user to paypal site on button click events. my code is string str = ""; str = "http://www.paypal.com/cgi-bin/webscr"; str &= "&cmd=_xclick"; str &= "&business=xyz@xyz.com"; . . . . . . . . Response.Redirect(str); NOT FOUND thanks Pathan -- modified at 7:43 Thursday 30th November, 2006

        G Offline
        G Offline
        Guffa
        wrote on last edited by
        #3

        What do you mean by "NOT FOUND"? Is this an error message? If so, where and how is it displayed? Isn't there any more information?

        --- b { font-weight: normal; }

        1 Reply Last reply
        0
        • I Imran Khan Pathan

          Hi friends i want to redirect user to paypal site on button click events. my code is string str = ""; str = "http://www.paypal.com/cgi-bin/webscr"; str &= "&cmd=_xclick"; str &= "&business=xyz@xyz.com"; . . . . . . . . Response.Redirect(str); NOT FOUND thanks Pathan -- modified at 7:43 Thursday 30th November, 2006

          I Offline
          I Offline
          Imran Khan Pathan
          wrote on last edited by
          #4

          Hi i have done it. thanks for ur reply Pathan

          1 Reply Last reply
          0
          • I Imran Khan Pathan

            Hi friends i want to redirect user to paypal site on button click events. my code is string str = ""; str = "http://www.paypal.com/cgi-bin/webscr"; str &= "&cmd=_xclick"; str &= "&business=xyz@xyz.com"; . . . . . . . . Response.Redirect(str); NOT FOUND thanks Pathan -- modified at 7:43 Thursday 30th November, 2006

            T Offline
            T Offline
            Torsten Mauz
            wrote on last edited by
            #5

            Look at the url you are trying to redirect to.... http://www.paypal.com/cgi-bin/webscr&cmd=\_xclick&business=xyz@xyz.com It should be: http://www.paypal.com/cgi-bin/webscr**_?_**cmd=\_xclick&business=xyz@xyz.com

            1 Reply Last reply
            0
            • I Imran Khan Pathan

              Hi friends i want to redirect user to paypal site on button click events. my code is string str = ""; str = "http://www.paypal.com/cgi-bin/webscr"; str &= "&cmd=_xclick"; str &= "&business=xyz@xyz.com"; . . . . . . . . Response.Redirect(str); NOT FOUND thanks Pathan -- modified at 7:43 Thursday 30th November, 2006

              E Offline
              E Offline
              ednrgc
              wrote on last edited by
              #6

              Why are you using ampersands? Since you are using line terminators (;), shouldn't they be += ?

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups