1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Paypal after paying, how to redirect.

Discussion in 'BlackHat Lounge' started by rebbeca, Feb 2, 2011.

  1. rebbeca

    rebbeca Regular Member

    Joined:
    Sep 19, 2009
    Messages:
    312
    Likes Received:
    170
    Code:
    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_xclick">
    <input type="hidden" name="business" value="mypaypalaccount">
    <input type="hidden" name="lc" value="CA">
    <input type="hidden" name="item_name" value="myitem">
    <input type="hidden" name="amount" value="12.99">
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="button_subtype" value="services">
    <input type="hidden" name="tax_rate" value="0.000">
    <input type="hidden" name="shipping" value="0.00">
    <input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHosted">
    <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </form>
    
    So I searched how to make buy now button

    My questions is, after paying, how do you redirect them to a thankyou page where they can download whatever item I am selling (Ebook)

    Do I have to upgrade my paypal account or no?

    Thank you :D
     
  2. rebbeca

    rebbeca Regular Member

    Joined:
    Sep 19, 2009
    Messages:
    312
    Likes Received:
    170
    Never mind, I found the option

    For anybody wondering this question, here it is

    Code:
    <input type="hidden" name="return" value="http://www.yoursite.com/transactioncomplete.htm" />
     
  3. rebbeca

    rebbeca Regular Member

    Joined:
    Sep 19, 2009
    Messages:
    312
    Likes Received:
    170
    ** you can upgrade to premier account for free**
    ** it will give you the option to redirect after purchase **
     
    • Thanks Thanks x 1
  4. Kickflip

    Kickflip BANNED BANNED

    Joined:
    Jan 29, 2010
    Messages:
    2,038
    Likes Received:
    2,465
    Thanks, I will look into it. I have had a lot of complaints because of this issue but I am not experienced with paypal or redirects etc.