In this tutorial I want to explain how to work with Paypal Sandbox test accounts for payment system development and sending arguments while click buy now button. It’s simple and very easy to integrate in your web projects.

Step:1. you need to create a papal sandbox account login into developer.paypal.com and then click signup now
paypal_integraion
2. you need to activate your account by filling the details and paypal send confirmation link to your mail and you have to confirm the same .
paypal_signup
3.once you confirm your email you need to now click on the test account tab to create test account here paypal gives you a option for where the values are pre configured and another option gives you to create manually i select a pre configuired account at first we need to create two account one is the buyer account and another account is the seller account. (Take a look at Sandbox menu left-side top Sandbox->Test Accounts)
PayPal_createacoount
we need to fill all these details and then click and create a buyer account
now lets create a business account once again i click precofigured account and then lets proceed further
PayPal_accounts
here we have now completed creating a business account and a personal account.
4. paypal gives us a buy now button to make payments and now we add the code to our tutorial

<form name=”_xclick” action=”https://www.sandbox.paypal.com/webscr” method=”post”>
<input type=”hidden” name=”cmd” value=”_xclick”>
<input type=”hidden” name=”business” value=”test_buz@perenialsys.com “>
<input type=”hidden” name=”currency_code” value=”USD”>
<input type=”hidden” name=”item_name” value=”learnwebscriptstutorial”>
<input type=”hidden” name=”return” value=”http://walkeprashant.wordpress.com/upload_file.php”>
<input type=”hidden” name=”amount” value=”1″>
<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>