Placing Paypal Code for a button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need to place a Paypal form code in a payment button. I need to know where exactly I should place it and if I need to add any extra code to make it work. I know there should be need to add some sort of 'input' code to the button.
This is the form code:
<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>
And the button code is this:
<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 not all of the above is the button code proper. Part of the code is a BUY AREA. Here is an image of that area:
http://screencast.com/t/p49mLzIq
Hope somebody can help with this. Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello ime,
Welcome to the Community .
To get the best answer I would hop on over to the PayPal Developer Forum. Here is a direct link. I hope this will help.
Misty

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Invalid sdk meta in Merchant services (Archive)
- Select Shipping or Delivery in Shipping (Archive)
- Donate image not working in Merchant services (Archive)
- Buy now button not working in Merchant services (Archive)
- Custom paypal button that a price may depends on several factors in Merchant services (Archive)