Friday, May 29, 2015

CCAvenue Payment Transaction Gateway in ASP.NET

INTRODUCTION

The CCAvenue Transaction Gateway offers e-merchants a one-stop solution for processing e- transactions ranging from credit ca rd transactions to direct debit from their online bank accounts.

The CCAvenue System has been designed for quick integration and ease of use.

The CCAvenue system expects certain input data with specific names to be sent to the CCAvenue website. For this reason, it is essential that the names of the input fields on the merchant’s web site and the CCAvenue.com web site match exactly. To achieve this the relevant data field values of the shopping cart must be assigned to the appropriate data field of the form provided below. Some of these input data fields are mandatory and marked in red, and must be sent to the CCAvenue system with every order. Please ensure that the values have no unnecessary blank spaces preceding or trailing the values.

  <form method="post" 
action="https://world.ccavenue.com/servlet/ccw.CCAvenueController"> 
   <input type="hidden" name="Merchant_Id" value="M_demos_17"> <%--Compulsory Field --This field represents the merchant id assigned to you by 
CCAvenue and identifies the order as one originating from your website. This field will accept up to a maximum of 20
characters only--%>
  <input type="hidden" name="Amount" value="1000"> /*Compulsory Field*/
  <input type=hidden name=Currency value="USD"> 
  <input type="hidden" name="Order_Id" value="ORD_ID1234"> <%--Compulsory Field
This field is a compulsory field that sends the id, which is to be the unique identifier for this order, to the CCAvenue site. This must be a unique id generated at your website and may contain combination of letters, numbers, dashes(-), forward slashes(/) or back slashes(\) up to a maximum of 30 characters. --%>
  <input type=hidden name=TxnType value="A"> 
  <input type=hidden name=actionID value="TXN"> 
  <input type="hidden" name="billing_cust_name" value="John"> 
  <input type="hidden" name="billing_middle_name" value="Edgar"> 
  <input type="hidden" name="billing_last_name" value="Doe"> 
  <input type="hidden" name="billing_cust_address" value="123 Green Acres, West Eden"> 
  <input type="hidden" name="billing_cust_city" value="Estberry"> 
  <input type="hidden" name="billing_cust_state" value="Wales">
  <input type="hidden" name="billing_cust_zip" value="12345"> 
  <input type="hidden" name="billing_cust_email" value="johndoe@hotmail.com"> 
  <input type="submit" value="Buy Now">          
 </form>
  

If you are searching life partner. your searching end with kpmarriage.com. now kpmarriage.com offer free matrimonial website which offer free message, free chat, free view contact information. so register here : kpmarriage.com- Free matrimonial website

PayPal Gateway Integration in ASP.NET

Introduction

If you are developing an ASP.NET web application and you require some payment gateway integration, then here is a simplified option to integrate PayPal with your application.
** A PayPal account can be used only for international transactions. You can not use it for domestic transactions. If you want the solution for domestic purpose then integrate CCAvenue or some other gateway, those provide domestic transactions.

Description

In this article I will explain thoroughly all the requirements and techniques for integrating PayPal in your web application.
Nowadays PayPal is the most popular payment gateway worldwide because it is totally free to integrate and PayPal does not charge anything for opening an account, you will pay PayPal when you get paid. And the amount is also lower than other payment gateways.

Things to Do

First add a webform to your web application. Name it ProceedToPayment (as per your requirements). Then add the below shown div inside the form tag (where you want to put it).
In this div I have implemented all the details that a user should enter while making the payment, such as Name, Address, Subject, Mobile No, Email Address, Amount, Currency etc.
   

<div style="color: #324143; margin: 30px 0 0 60px; font-family: Arial;">
    <span style="font-size: small;">Your Name:</span>
    <asp:TextBox runat="server" ValidationGroup="save" ID="txtName" Style="margin-left: 30px; width: 200px;
        background-image: url('../images/txtBoxbg.jpg') no-repeat;"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtPurpose"
        ErrorMessage="Please enter your Name" runat="server" 
        ValidationGroup="save" ForeColor="red"></asp:RequiredFieldValidator>
    <br />
    <br />
    <span style="font-size: small;">Your Email Id:</span><asp:TextBox runat="server" ValidationGroup="save"
        Style="margin-left: 20px;width: 200px; background-image: url('../images/txtBoxbg.jpg') no-repeat;"
        ID="txtEmailId"></asp:TextBox>
    <asp:RegularExpressionValidator ID="regexEmailValid" runat="server" 
        ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
        ControlToValidate="txtEmailId" ValidationGroup="save" 
        ErrorMessage="Invalid Email Format" 
        ForeColor="red"></asp:RegularExpressionValidator><br />
    <br />
    <span style="font-size: small;">Your Phone No:</span>
    <asp:TextBox runat="server" ID="txtPhone" ValidationGroup="save" Style="margin-left: 6px;
        width: 200px; background-image: transparent url('../images/txtBoxbg.jpg') no-repeat;"></asp:TextBox>
    <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="txtPhone"
        ForeColor="red" ErrorMessage="Invalid Phone No"
        ValidationGroup="save" ValidationExpression="^([0-9\(\)\/\+ \-]*)$"></asp:RegularExpressionValidator>
    <br />
    <br />
    <span style="font-size: small;">Enter Amount:</span><asp:TextBox runat="server" ID="txtAmount" ValidationGroup="save"
        Style="margin-left: 16px; width: 200px; background-image: url('../images/txtBoxbg.jpg') no-repeat;"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtAmount"
        runat="server" ForeColor="red" ErrorMessage="Please enter the amount."></asp:RequiredFieldValidator>
    <br />
    <br />
    <span style="font-size: small;">Currency:</span>
    <asp:DropDownList runat="server" ID="ddlCurrency" Style="margin-left: 42px; 
        width: 204px; background-image: transparent url('../images/txtBoxbg.jpg') no-repeat;">
        <asp:ListItem>- Select -</asp:ListItem>
        <asp:ListItem>INR</asp:ListItem>
        <asp:ListItem>USD</asp:ListItem>
        <asp:ListItem>EURO</asp:ListItem>
        <asp:ListItem>Pound</asp:ListItem>
    </asp:DropDownList>
    <br />
    <br />
    <span style="font-size: small;">Your Purpose:</span><asp:TextBox TextMode="MultiLine" 
        Rows="10" runat="server" ID="txtPurpose"
        Height="50px" 
        Style="margin-left: 17px; margin-left: 19px; width: 200px; 
               background-image: url('../images/txtBoxbg.jpg') no-repeat;"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" ControlToValidate="txtPurpose"
        ErrorMessage="Can not be left blank" ValidationGroup="save" 
        runat="server" ForeColor="red"></asp:RequiredFieldValidator>
    <br />
    <asp:Button ID="btnPay" runat="server" Text="Pay Now" CssClass="button" Style="font-size: 12px;
        cursor: pointer; height: 27px; margin-left: 207px; margin-top: 10px; width: 93px;"
        OnClick="btnPay_AsPerYourChoice" ValidationGroup="save"></asp:Button>
</div>
Now go to the code behind page of the webform and add the below method in it.
An important thing to notice is I am using the live URL of PayPal as this functionality is implemented in my live server. You can use the Sandbox URL of PayPal for testing purposes.
   
protected void PayWithPayPal(string amount, string itemInfo, string name, 
          string phone, string email, string currency)
{
    string redirecturl = "";

    //Mention URL to redirect content to paypal site
    redirecturl += "https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=" + 
                   ConfigurationManager.AppSettings["paypalemail"].ToString();

    //First name i assign static based on login details assign this value
    redirecturl += "&first_name=" + name;

    //City i assign static based on login user detail you change this value
    redirecturl += "&city=bhubaneswar";

    //State i assign static based on login user detail you change this value
    redirecturl += "&state=Odisha";

    //Product Name
    redirecturl += "&item_name=" + itemInfo;

    //Product Name
    redirecturl += "&amount=" + amount;

    //Phone No
    redirecturl += "&night_phone_a=" + phone;

    //Product Name
    redirecturl += "&item_name=" + itemInfo;

    //Address 
    redirecturl += "&address1=" + email;

    //Business contact id
    // redirecturl += "&business=k.tapankumar@gmail.com";

    //Shipping charges if any
    redirecturl += "&shipping=0";

    //Handling charges if any
    redirecturl += "&handling=0";

    //Tax amount if any
    redirecturl += "&tax=0";

    //Add quatity i added one only statically 
    redirecturl += "&quantity=1";

    //Currency code 
    redirecturl += "&currency=" + currency;

    //Success return page url
    redirecturl += "&return=" + 
      ConfigurationManager.AppSettings["SuccessURL"].ToString();

    //Failed return page url
    redirecturl += "&cancel_return=" + 
      ConfigurationManager.AppSettings["FailedURL"].ToString();

    Response.Redirect(redirecturl);
}
OK, that is fine. Now before running your application you need to add something in your web.config file.
Just add the below shown appsetting code snippet to your web config file under the system.web tag.
Here you have to give information regarding your PayPal account, your PayPal email ID , PayPal submit URL, your website success URL, failure URL, etc.
   

<appSettings>
    <add key="token" value="PW1BDVNqVPVanwduF_Tb2Ey91aT1Uhx1kL7HPc-7e8S-6AnUwSSHyasolSe"/>
    <add key="paypalemail" value="k.tapankumar@gmail.com"/>

    <!--Here i used sandbox site url only if you hosted in live change sandbox to live paypal URL-->
    <add key="PayPalSubmitUrl" value="https://www.paypal.com/cgi-bin/webscr"/>

    <add key="FailedURL" value="http://www.mrsoft.co.in/ProceedToPayment.aspx"/>

    <add key="SuccessURL" value="http://www.mrsoft.co.in/ProceedToPayment.aspx"/>

</appSettings>
Now you can run your application to see if its working or not.
Thanks!


If you are searching life partner. your searching end with kpmarriage.com. now kpmarriage.com offer free matrimonial website which offer free message, free chat, free view contact information. so register here : kpmarriage.com- Free matrimonial website

Wednesday, May 27, 2015

50 Free HTML5 Website Templates Download


HTML5 can be considered as one of the building blocks for all the contemporary websites.  Websites which have HTML5 and CSS3 as their constituent are considered to have very futuristic approach. People prefer to use HTML5 to develop their websites because of its light-weight and flexible nature. HTML 5 templates normally do not rely on flash and can be easily rendered on any device. In addition to that, the latest versions of HTML5 templates are SEO friendly and are better digested by the search engines.
Among other uses of HTML5, they have improved functionalities which constitute of drag and drop feature, complete responsiveness and overall a refined look of the UX. HTML5 templates provide you with fresh and exciting options for your multimedia tools, which you can generously incorporate in your website.  These tools also include the HTML5 multimedia tools which are used for streaming audio and video.
With hundreds of HTML themes present online, it may become a tough job for you to select one. For your ease we have over here a list of free html5 website templates from which you can go through and choose whatever suits your needs. These free html5 website templates are both static and animated giving you various options to select from.

Big Picture

Demo Download
free html5 website templates-10

Tessellate

Demo Download
free html5 website templates-11

OverFlow

Demo Download
free html5 website templates-12

Prologue

Demo Download
free html5 website templates-13

Helios

Demo Download
free html5 website templates-14

Education Website Template

Demo Download
free html5 website templates-34

Janitorial Cleaning Supplies Website Template

Demo Download
free html5 website templates-35

Travaux Responsive Web Template

Demo Download
free html5 website templates-19

Trekking Responsive Web Template

Demo Download
free html5 website templates-20

Holy Church

Demo Download
free html5 website templates-21

The New Reporter a Entertainment Website Template

Demo Download
free html5 website templates-22

Revenant

Demo Download
free html5 website templates-23

Aptile a Mobile App Landing

Demo Download
free html5 website templates-24

Ekomers a Corporate Business Web Template

Demo Download
free html5 website templates-25

Photon

Demo Download
free html5 website templates-1

Highlights

Demo Download
free html5 website templates-2

Landed

Demo Download
free html5 website templates-3

Strata

Demo Download
free html5 website templates-4

Read Only

Demo Download
free html5 website templates-5

Airline Tickets Website Template

Demo Download
free html5 website templates-36

T-Shirt Designs Shopify Theme

Demo Download
free html5 website templates-37

Meat and Steak House Drupal Template

Demo Download
free html5 website templates-38

Personal Page WordPress Theme

Demo Download
free html5 website templates-39

Business Website Template

Demo Download
free html5 website templates-40

Candy Shop OpenCart Template

Demo Download
free html5 website templates-41

Spectral

Demo Download
free html5 website templates

Otoc Responsive Web Template

Demo Download
free html5 website templates-17

View Port Responsive Web Template

Demo Download
free html5 website templates-18

Alpha

Demo Download
free html5 website templates-6

Directive

Demo Download
free html5 website templates-7

Aerial

Demo Download
free html5 website templates-8

Twenty

Demo Download
free html5 website templates-9

Telephasic

Demo Download
free html5 website templates-15

Strongly Typed

Demo Download
free html5 website templates-16

Bonfire Web Template

Demo Download
free html5 website templates-26

Blinds a Interior Architects Template

Demo Download
free html5 website templates-27

Midget a Personal Portfolio Web Template

Demo Download
free html5 website templates-28

Cafe Store a Hotel Category Template

Demo Download
free html5 website templates-29

Luxury Resorts a Hotel Web Template

Demo Download
free html5 website templates-30

Restolex a Interior

Demo Download
free html5 website templates-31

Mag Blog

Demo Download
free html5 website templates-32

Movie Store

Demo Download
free html5 website templates-33

If you are searching life partner. your searching end with kpmarriage.com. now kpmarriage.com offer free matrimonial website which offer free message, free chat, free view contact information. so register here : kpmarriage.com- Free matrimonial website

Top 20 WordPress Online Store Themes and Templates

As you all know that WordPress is one of the versatile platforms that was developed for blogging. However, we see that people are now using it for all types of websites. They use it for Blogging, Online Stores, Gaming, etc. and many other kinds of websites. Anyhow, we will be discussing today about top 20 WordPress Online Store Themes and Templates. If you were planning for an Online store than I highly recommend you to check out these amazing WordPress online store themes and templates.
These are some of the most amazing and top WordPress Online Store themes and templates. With the help of these amazing templates, you can easily develop a functional e-commerce website without going into tough coding and .PHP. Moreover, these all themes and templates have integrated shopping cart system. This also saves your cost of expensive scripts and plugins. So, let’s explore these top 20 WordPress Online Store Themes and Templates.

Yoona Responsive WordPress Template

Demo Detail
It is a great responsive template, made especially for Hotels and Resorts sites. It has a beautiful admin panel with tons of other useful customization that allow you to integrate your entire database easily with this theme.


It is an amazing WordPress Online Store Theme with amazing and cool features. This amazing theme is only for $48 grab it now.
Yoona Responsive WordPress Template

Love Travel

Demo Detail
Don’t miss Love Travel the most creative travel agency WordPress template with unique design and layout style. With over 1,420 sale and responsive design, you can also make your travel agency website with this cool featured online store theme. It has an affordable $48 cost.
Love Travel

Apicona

Demo Detail
This is a health and medical WordPress online store theme with multiple customizable features and a responsive design that entices the users. Unlimited colors are available for global color and other background colors. The theme is only $43 and is available at Themeforest. You can grab yours today and create a beautifully styles layout website that engages users.
Apicona

Concierge

Demo Detail
It is a luxury lifestyle services online store WordPress template costing only $58 and is specially designed for luxury services providers. The elegant design is suitable for your luxury business. Most of the common luxury businesses include Private Jet Chartering, Limo Rentals, Yachts, etc.
Concierge - Luxury Lifestyle Services

Eldar

Demo Detail
It is a responsive and retina multi-purpose WordPress template and features some cool customizations. It is a responsive and a readymade one multi page WordPress theme that is mostly used for restaurants, hotels, weddings, creative agencies, etc. businesses. The cost is only $43 and you can grab this website from Themeforest today and run your Online Store with this multi-purpose WordPress theme.
Eldar

Spa Lab

Demo Detail
This is a Beauty Salon WordPress Theme and is hand crafted. This theme is also perfect for hair salons, wellness, yoga and health care websites. It includes adorable menu options and many other customizations that are easy to interpret. You can also create galleries and do many other modifications. The cost is only $58.
Spa Lab

Tasty Crunch

Demo Detail
This is another online store WordPress food recipe and restaurant theme that is perfect for your business. This theme has multiple sliders, a recipe management area, gallery, sidebar and many other powerful theme options. You can grab this beautiful WordPress theme from Themeforest for only $48.
Tasty Crunch

Paws and Claws

Demo Detail
This beautiful WordPress theme can brighten up the appearance and layout of your website. There are 2 unique sliders and many short codes. Apart from these features, there are event calendar, appointment and doctor’s page and many other amazing features. Get this theme from Themeforest for $48 only.
Paws and Claws

Gym Extream

Demo Detail

This WordPress theme is especially designed for Gym and Fitness website. It has classes schedule management, gallery, facilities, slider, powerful theme options and a page builder with many other enticing options to choose from.
Gym Extream

Craftsman

Demo Detail
This WordPress theme is integrated with essential Grid and you have the option to choose more than thirty different skins. Moreover, it also offers you the choice to create your own custom skin within a couple of minutes.
Craftsman

Steak House Food

Demo Detail
This is Food WordPress theme costing $43 only and comes with amazing features to choose from. The reservation form allows you to increase your sales and engage your users more with the content on website. This is an amazing WordPress Online Store Theme.
Steak House Food

Medicom

Demo Detail
This is a great medical and health style WordPress theme with amazing features costing only $48. It is a fully responsive premium WordPress theme and suits every medical and health websites. The Visual Composer page builder and the premium layer slider gives it a more adorable look.
Medicom

Organic Food

Demo Detail
It is a responsive WordPress template with tons of unique features that are perfect for your food niche website. It has an affordable price of $58 and you can grab it from Themeforest today.

Rosa Restaurant WordPress Theme

Demo Detail
This is one of the most beautiful and elegant themes of 2015 and is designed especially for restaurants and bar websites. It is very neat and clean, and is easy to customize and use.

Taste of Japan

Demo Detail
This is another great Restaurant and Food WordPress theme and is perfect for your restaurant business. It has a clean and responsive design and is ready to publish your meals in a tasty style to your visitors. Available on Themeforest with amazing customer reviews.
Taste of Japan

Kode Travel and Tourism

Demo Detail

This is another great WordPress online store template with a responsive design and perfect for your travelling and tourism business. Get it today from Themeforest.
Kode Travel and Tourism

Nation Hotel – Responsive WordPress Theme

Demo Detail
National Hotel is one of the most demanding responsive WordPress online store theme. It has some enticing features and amazing layout design that gives a professional look to your website.
Nation Hotel - Responsive WordPress Theme

Luxury Villa

Demo Detail
It is a property showcase WordPress theme and has a stylish and flexible property showcase WordPress design that helps you out to promote your villa to rent them or sale them out.
Luxury Villa

Tilability – Responsive Health & Beauty WP theme

Demo Detail
A creative and amazing responsive health and beauty WordPress theme and is perfect for your Online store business. This theme can be used for other businesses but is perfect for Health and Beauty niche websites. You can get it from Themeforest at a reasonable price.
Tilability - Responsive Health & Beauty WP theme

Stark

Demo Detail
Stark is a great Multi sport, gym and fitness WordPress theme with amazing features and a neat layout. It is fully responsive and mobile friendly WordPress theme.
Stark

If you are searching life partner. your searching end with kpmarriage.com. now kpmarriage.com offer free matrimonial website which offer free message, free chat, free view contact information. so register here : kpmarriage.com- Free matrimonial website