How can add the Payal donate form on your site: PHP


Hello friends!.

If you want to add the donate form on your website then just used code given below:

 <form name="_donations" action="https://www.paypal.com/cgi-bin/webscr" method="post">
        <div><div>First Name: <font color="red">*</font></div><input type="text" name="first_name" value=""><div></div></div>
        <div><div>Last Name:<font color="red">*</font></div><input type="text" name="last_name" value=""><div></div></div>
        <div><div>Phone Number:</div><input type="text" name="night_phone_a" value=""><div></div></div>
         <div><div>Address1:<font color="red">*</font></div><input type="text" name="address1" value=""><div></div></div>
        <div><div>Address2:</div><input type="text" name="address2" value=""><div></div></div>
    <div><div> City:<font color="red">*</font></div><input type="text" name="city" value=""><div></div></div>
<div><div> Country:<font color="red">*</font></div><select name="country" onchange="otherState(this)">
          <option value="">-- Choose a Country --</option>
          <option selected="" value="US">United States</option>
          <option value="AL">Albania</option>
          <option value="DZ">Algeria</option>
        </select><div></div></div>
        <div><div>Email:<font color="red">*</font></div><input type="text" name="email" value=""><div></div></div>
        <div><div> State:<font color="red">*</font></div>
        <select name="state" id="state" onchange="setvalue(this,'state2')">
          <option value="">-- Select State --</option>
          <option value="AK">AK</option>
          <option value="AL">AL</option>
        </select><input type="text" id="state2" style="display:none" name="state" value="">
         <div></div>
       </div>
        <div><div>Zip:<font color="red">*</font></div><input type="text" name="zip" value=""><div></div></div>
        <input type="hidden" name="cmd" value="_donations">
        <input type="hidden" name="business" value="raghunath.0087@gmail.com">
        <input type="hidden" name="currency_code" value="USD">
         <div><div>Event:<font color="red">*</font></div>
        <select  name="item_name" onchange="setAmount(this)"><option value="Donate for Raghunath Blog">Blog</option>
 <option value="Web Design">Web Design</option><option value="Web development">Web development</option></select><div></div>
        </div>
        <div><div>Amount :<font color="red">*</font></div>
        <input type="text" id="amount" name="amount" value="0" >
         <div></div>
       </div>
        <input type="image" src="http://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"> &nbsp;&nbsp;&nbsp;(PayPal account not required to pay/donate.)
      </form>

If you found this code is help full for you then you can donate me 🙂
Download

Enjoy Code! | Raghunath Blog

Advertisements

Sr. Software Engineer

Tagged with: , , , , , ,
Posted in Drupal, Joomla, PHP, Wordpress

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: