Click here to Skip to main content
15,887,245 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
hi guys....
how to add paypal account it my website.. and how can i access it...

i tried this code:
HTML
<form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick"/>
<input type="hidden" name="business" value="me@mybusiness.com"/>
<input type="hidden" name="currency_code" value="USD"/>
<input type="hidden" name="item_name" value="Teddy Bear"/>
<input type="hidden" name="amount" value="12.99"/>
<input type="image" src="http://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"/>
</form>
in html
Thanks in advance......
Posted
Updated 7-Jun-12 9:47am
v2
Comments
Sandeep Mewara 7-Jun-12 14:18pm    
What have you tried so far?
Kolli Hari Chowdary 7-Jun-12 14:24pm    
i trid this code
<form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick"/>
<input type="hidden" name="business" value="me@mybusiness.com"/>
<input type="hidden" name="currency_code" value="USD"/>
<input type="hidden" name="item_name" value="Teddy Bear"/>
<input type="hidden" name="amount" value="12.99"/>
<input type="image" src="http://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"/>
</form> in html
Maciej Los 7-Jun-12 15:48pm    
Please, use "Improve question" button to update your question.
RDBurmon 8-Jun-12 8:31am    
Thanks Everyone who replied to this thread , So OP , I think you have got enough response and you should be able to mark it as your answer and close the thread.

Never, ever, accept code from a insecure website to handle anything to do with real money.
You do not know who is giving you the code, you do not know what it does, you do not know that it places the monies correctly into the appropriate account, without passing the details to any third parties.

Only get such code from Paypal themselves - the scope for fraud otherwise is far to large. And remember, you personally could be liable for any monies lost if your action is seen to be negligent - which getting your code from a public forum would most certainly be!

Try them - they are pretty helpful and have a sandbox[^] mode so you aren't playing with real money when you make a mistake! :laugh:
 
Share this answer
 
v2
Comments
Manas Bhardwaj 7-Jun-12 14:09pm    
Well said :) 5+
Maciej Los 7-Jun-12 14:11pm    
Good point, +5!
 
Share this answer
 
Comments
Maciej Los 7-Jun-12 15:50pm    
Good links, my 5!
Sandeep Mewara 7-Jun-12 16:05pm    
Thanks mac!
 
Share this answer
 
Comments
Maciej Los 7-Jun-12 15:51pm    
Useful link, my 5!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900