Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Nov 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Embedding button for Paypal form

    I need to embed the button code below into a Paypal form. Could anyone just show me where the button code goes and if I need to add any other code (input, etc) and where.

    Button Code:
    <div class="BUY_AREA" style="margin: auto;"> <div style="margin: 27px 17px 37px; border: 4px dashed #cc0000;"> <div style="padding: 17px;"> <div style="margin: 3px; padding: 7px;"> <h3 style="text-align: center; padding-bottom: 27px;">Get It Here</h3> <div style="text-align: center;"><a style="text-decoration: none;" href="[LINK D5A7F]"><img src="http://mywebsite.com/fb/wp-content/plugins/wp-salesengine-plugin/globals/buy_area/button/default_car..." alt="" border="0" /></a></div> <div style="text-align: center;"><a style="text-decoration: none;" href="[LINK D5A7F]"><img src="http://mywebsite.com/fb/wp-content/plugins/wp-salesengine-plugin/globals/buy_area/seals/cards.gif" alt="" border="0" /></a></div>

    In fact, the part of the actual button is:
    img src="http://mywebsite.com/fb/wp-content/plugins/wp-salesengine-plugin/globals/buy_area/button/default_cart.png"




    Paypal form:
    <form method="post" action="https://www.paypal.com/cgi-bin/webscr" name="paypal_auto_form"/>
    <input type="hidden" name="rm" value="2" />
    <input type="hidden" name="cmd" value="_xclick" />
    <input type="hidden" name="business" value="YOURPAYPALEMAILID" />
    <input type="hidden" name="return" value="http://www.yourdomain.com/returnurl" />
    <input type="hidden" name="cancel_return" value="http://www.youdomain.com/" />
    <input type="hidden" name="notify_url" value="http://yourdomain.com/smp/index.php/gateways/ppdirect/ipn/13" />
    <input type="hidden" name="custom" value="" />
    <input type="hidden" name="currency_code" value="USD" />
    <input type="hidden" name="item_name" value="YOUR PRODUCT NAME" />
    <input type="hidden" name="item_number" value="PRODUCT_ID" />
    <input type="hidden" name="amount" value="AMOUNT" />
    <input type="submit" name="pp_submit" value="Pay Now" />
    </form>

    Thanks you

  • #2
    Regular Coder
    Join Date
    Aug 2011
    Location
    U.S.A.
    Posts
    233
    Thanks
    2
    Thanked 48 Times in 48 Posts
    At first glance, it's not possible. The "button code" you show is really a link to whatever "[LINK D5A7F]" resolves to, which I'm assuming is paypal with your variables added. So adding that code to your paypal form will not include the paypal form fields when you click on it.
    WordPress Designer and theme developer. KlongDesigns - helping bloggers and non-technical folks claim their space on the internet.

  • #3
    New to the CF scene
    Join Date
    Nov 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Links refer to code in the plugin

    Hi, Thank you for your answer.
    The button belongs to Wordpress Sales Engine, a plugin within Wordpress that has optional payment buttons to place on the pages.
    The code you mention is not linking to Paypal but to that same Buy Area (the area within the dots). See the whole area here:
    http://screencast.com/t/p49mLzIq
    Do you mean to say in order to use it for this Paypal form I need to have only the button?

  • #4
    Regular Coder
    Join Date
    Aug 2011
    Location
    U.S.A.
    Posts
    233
    Thanks
    2
    Thanked 48 Times in 48 Posts
    it's difficult to give you a direct answer, because I do not know the WordPress Sales Engine plugin, and there is a shortcode that I don't know what it resolves to ([LINK D5A7F]). If you just want to use the image with the paypal form instead of the normal submit button, this site talks about image replacements for submit buttons:

    http://www.ampsoft.net/webdesign-l/image-button.html
    WordPress Designer and theme developer. KlongDesigns - helping bloggers and non-technical folks claim their space on the internet.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •