• Hi I am trying to put this paypal buy now button on a page but it always appears too far down the page. I tried hitting backspace a few times in the visual editor but I just ended up losing some of the code. Any ideas anyone?

    <center><img class="aligncenter size-full wp-image-149" alt="Name A Star Thankyou" src="https://nameastar.thesuperartlab.com/wp-content/uploads/2013/12/thankyou_pay_page.png" width="1000" height="280" />
    <center><form <a target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">
    
    <!-- If using a Business or Company Logo Graphic, include the "cpp_header_image" variable. -->
    <input type="hidden" name="cpp_header_image" value="https://yourwebsite.com/logo.jpg">
    <input type="hidden" name="cmd" value="_xclick">
    <!-- Replace "business" value with your PayPal Email Address or your Merchant Account ID -->
    <input type="hidden" name="business" value="My Paypal Email Address">
    <input type="hidden" name="item_name" value="Name a Star Certificate">
    <input type="hidden" name="item_number" value="WS-1001">
    <input type="hidden" name="amount" value="12.99"
    <input type="hidden" name="lc" value="US">
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="no_shipping" value="2">
    <!-- Replace value with the web page you want the customer to return to after a successful transaction -->
    <input type="hidden" name="return" value="https://nameastar.thesuperartlab.com/thankyou">
    <!-- Replace value with the web page you want the customer to return to after item cancellation -->
    <input type="hidden" name="cancel_return" value="https://nameastar.thesuperartlab.com/buy-now">
    <!-- Note: shipping override variable is used with this example -->
    <input type="hidden" name="shipping" value="0.00">
    <input type="hidden" name="button_subtype" value="products">
    <input type="hidden" name="no_note" value="0">
    <input type="hidden" name="cn" value="Add special instructions to the seller:">
    <input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynow_LG.gif:NonHosted">
    <!-- -->
    
    Name You Would Like On Certificate:
    <input type="hidden" name="on0" value="Name" />
    <input type="text" name="os0" size="30" />
    
    Your Personalized Message:
    <input type="hidden" name="on1" value="Message" />
    <textarea cols="30" name="os1" rows="4" wrap=""></textarea>
    Email Address To Send Certificate To:
    <input type="hidden" name="on2" value="Email" />
    <input type="text" name="os2" size="30" />
    <!-- -->
    <input type="image" src="https://nameastar.thesuperartlab.com/wp-content/uploads/2013/12/buynowbutton_300.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://nameastar.thesuperartlab.com/wp-content/uploads/2013/12/buynowbutton_300.png" width="1" height="1">
    </form><center>
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Runit,

    Can you please share your website (The Page you’re editing) URL here?

    Thread Starter runit

    (@runit)

    There is a <br> tag being placed in between each <input> element. This is responsible for the elongated page.

    Flip to the text editor and re-insert the code.

    Thread Starter runit

    (@runit)

    Hi WPRanger,

    I tried that, It hasn’t worked. Any other ideas?

    Hi Runit,

    Use the following codes in your website:

    <center><img class="aligncenter size-full wp-image-149" alt="Name A Star Thankyou" src="https://nameastar.thesuperartlab.com/wp-content/uploads/2013/12/thankyou_pay_page.png" width="1000" height="280" />
    <center><input type="hidden" name="cpp_header_image" value="https://yourwebsite.com/logo.jpg" /><input type="hidden" name="cmd" value="_xclick" /><input type="hidden" name="currency_code" value="USD" /><input type="hidden" name="no_shipping" value="2" /><input type="hidden" name="return" value="https://nameastar.thesuperartlab.com/thankyou" /><input type="hidden" name="cancel_return" value="https://nameastar.thesuperartlab.com/buy-now" /><input type="hidden" name="shipping" value="0.00" /><input type="hidden" name="button_subtype" value="products" />
    <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">Name You Would Like On Certificate:
    <input type="hidden" name="on0" value="Name" />
    <input type="text" name="os0" size="30" />
    
    Your Personalized Message:
    <input type="hidden" name="on1" value="Message" />
    <textarea cols="30" name="os1" rows="4" wrap=""></textarea>
    Email Address To Send Certificate To:
    <input type="hidden" name="on2" value="Email" />
    <input type="text" name="os2" size="30" />
    <!-- -->
    <input type="image" alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://nameastar.thesuperartlab.com/wp-content/uploads/2013/12/buynowbutton_300.png" />
    <img alt="" src="https://nameastar.thesuperartlab.com/wp-content/uploads/2013/12/buynowbutton_300.png" width="1" height="1" border="0" />
    
    </form>
    
    </center></center>

    I just opened your codes via Text Editor & deleted the space between hidden input tags, Simple! ??

    Thread Starter runit

    (@runit)

    Yes that does move the form up the page but you missed the following code
    out. I need this code other wise it wont go to the checkout page it takes
    the user to paypal.com/home

    <input type="hidden" name="business" value="my paypal address">
    <input type="hidden" name="item_name" value="Name a Star Certificate">
    <input type="hidden" name="item_number" value="WS-1001">
    <input type="hidden" name="amount" value="12.99"
    <input type="hidden" name="lc" value="US">
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="no_shipping" value="2">
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Paypal Button to far down the page’ is closed to new replies.