How to integrate PayPal in ASP.NET?


In this article , I am going to explain about how to integrate PayPal in ASP.NET. Most of website Seller to get money from the buyer through PayPal. Here I have explained in detail each step with screen shot.

Description :


In this article I am going to deeply explain about PayPal integration, testing with Sandbox developer paypal account. Read carefully each steps then only able to understand PayPal integration

Here in this example I am used PayPal Sandbox site this is similar to live PayPal site. Sandbox is used to testing environment for developer provided by PayPal. After you tested just changed to Sandbox.Paypal.com to Paypal.com in PayPal Submit URL in web.config file that's all.

First I have create table like below to store purchaser detail


create table purchase(pname nvarchar(50),pdesc nvarchar(50),price nvarchar(50),uname nvarchar(50))

Create PayPal Account in SandBox to testing


Go to developer.paypal.com and create Paypal account to be testing

After create new account Login into the developer.paypal.com website. Now click on the Test accounts Right side and create two sub accounts


1) Buyer account

2) Seller account


images

After Click Preconfigured create account for buyer and seller like below
images

After enter all details click Create account button. Now those two accounts are displayed in your test accounts like Business, Personal
images

That's fine now open visual studio and write coding to display product details and provide option to user buy our product through paypal.

Client side


In client side I have displayed some product in grid view if user click that product buy button then redirect to PayPal sandox site

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Paypal Integartion</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table width="700" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="60">
<b>Paypal Integration in ASP.NET</b>
</td>
</tr>
<tr>
<td height="40" align="center">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnRowCommand="GridView1_RowCommand"
BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
CellPadding="3">
<RowStyle ForeColor="#000066" />
<Columns>
<%-- <asp:TemplateField HeaderText="Product image">
<ItemTemplate>
<asp:Image ID="Image1" runat="server" Width="80" Height="60" ImageUrl='<%#Eval("path")%>' />
</ItemTemplate>
</asp:TemplateField>--%>
<asp:TemplateField HeaderText="Product Name">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%#Eval("pname") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Product Description">
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%#Eval("pdesc") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Product price">
<ItemTemplate>
<asp:Label ID="Label3" runat="server" Text='<%#Eval("price") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Buy Now">
<ItemTemplate>
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/buyNow.png"
Width="80" Height="40" CommandName="buy" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" />
</ItemTemplate>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="White" ForeColor="#000066" />
<PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
<SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
</asp:GridView>
</td>
</tr>
</table>
<!-- PayPal Logo -->
<table border="0" cellpadding="10" cellspacing="0" align="center">
<tr>
<td align="center">
</td>
</tr>
<tr>
<td align="center">
<a href="#" onclick="javascript:window.open('https://www.paypal.com/cgi-bin/webscr?cmd=xpt/Marketing/popup/OLCWhatIsPayPal-outside','olcwhatispaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=400, height=350');">
<img src="https://www.paypal.com/en_US/i/bnr/horizontal_solution_PPeCheck.gif" border="0"
alt="Solution Graphics"></a>
</td>
</tr>
</table>
<!-- PayPal Logo -->
</div>
</form>
</body>
</html>

Server side


In server side I collect which product user selected and send price, tax details to Paypal

using System.Data;
using System.Data.SqlClient;
using System.Data.OleDb;
using System.Configuration;

public partial class _Default : System.Web.UI.Page
{
SqlConnection sqlcon = new SqlConnection(ConfigurationManager.ConnectionStrings["Con"].ToString());
SqlCommand sqlcmd = new SqlCommand();
SqlDataAdapter da = new SqlDataAdapter();
DataTable dt = new DataTable();
DataRow dr;

protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
//Add some column to datatable display some products
dt.Columns.Add("pname");
dt.Columns.Add("pdesc");
dt.Columns.Add("price");

//Add rows with datatable and bind in the grid view
dr = dt.NewRow();
dr["pname"] = "Laptop";
dr["pdesc"] = "Professional laptop";
dr["price"] = "$100";
dt.Rows.Add(dr);

dr = dt.NewRow();
dr["pname"] = "Laptop";
dr["pdesc"] = "Personal Laptop";
dr["price"] = "$120";
dt.Rows.Add(dr);

dr = dt.NewRow();
dr["pname"] = "CPU";
dr["pdesc"] = "Comptuter accessories";
dr["price"] = "$40";
dt.Rows.Add(dr);

dr = dt.NewRow();
dr["pname"] = "Desktop";
dr["pdesc"] = "Home PC";
dr["price"] = "$150";
dt.Rows.Add(dr);

GridView1.DataSource = dt;
GridView1.DataBind();
}
}

protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "buy")
{
ImageButton ib = (ImageButton)e.CommandSource;
int index = Convert.ToInt32(ib.CommandArgument);
GridViewRow row = GridView1.Rows[index];

//Get each Column label value from grid view and store it in label
Label l1 = (Label)row.FindControl("Label1");
Label l2 = (Label)row.FindControl("Label2");
Label l3 = (Label)row.FindControl("Label3");

//here i temporary use my name as logged in user you can create login page after only make an order
Session["user"] = "ravi";

//After user clik buy now button store that details into the sql server "purchase" table for reference
string query = "";
query = "insert into purchase(pname,pdesc,price,uname) values('" + l1.Text + "','" + l2.Text + "','" + l3.Text.Replace("$","") + "','" + Session["user"].ToString() + "')";
sqlcon.Open();
sqlcmd = new SqlCommand(query, sqlcon);
sqlcmd.ExecuteNonQuery();
sqlcon.Close();

//Pay pal process Refer for what are the variable are need to send http://www.paypalobjects.com/IntegrationCenter/ic_std-variable-ref-buy-now.html

string redirecturl = "";

//Mention URL to redirect content to paypal site
redirecturl += "https://www.sandbox.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=ravindran";

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

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

//Product Name
redirecturl += "&item_name=" + l1.Text;

//Product Amount
redirecturl += "&amount=" + l3.Text;

//Business contact id
//redirecturl += "&business=nravindranmcaatgmail.com";

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

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

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

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

//Currency code
redirecturl += "¤cy=USD";

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

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

Response.Redirect(redirecturl);
}
}
}

In web.config file I have set Return Url and PayPal business id etc. like below

<appSettings>
<add key ="token" value ="PW1BDVNqVPVanwduF_Tb2Ey91aT1Uhx1kL7HPc-7e8S-6AnUwSSHyasolSe"/>
<add key ="paypalemail" value ="nravin_1335778770_biz@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.sandbox.paypal.com/cgi-bin/webscr"/>

<add key="FailedURL" value="http://localhost:2525/PayPalIntegration/Failed.aspx"/>

<add key="SuccessURL" value="http://localhost:2525/PayPalIntegration/Success.aspx"/>

</appSettings>

In the above url are local testing url after hosted in live changed your domain name in this values.

Web page is look like here

Webpage


Steps to Execute Details Output


Make sure you are logged in the https://developer.paypal.com/ with your email id in the same browser during testing. Then only working fine to deduct amount etc. correctly. Only Sandbox site we must logged in developer site during testing but not in live paypal.com after hosted it

After user click Buy now in the gridview redirect to PayPal
images

Now logged in to the Personal account mean Buyer account. After logged in display like below
images

Verify Details and click Paynow button. After that amount $ 55 USD deducted from your paypal personal account and increased $55 in seller account.
After click paynow confirmation show your transaction like below
images

After that automatically redirect to merchant site whatever URL you are configure in web.config file and insert transaction data in the table.
In the test account page select personal account radio button and then click enter sandbox site button below in that page to redirect personal account deails page

Below screen show Personal account detail after paid to seller
images

The above screen shot clearly shows -$55 deducted from my personal account

Below screen show Business account detail after get amount from buyer
images

The above screen shot clearly shows $55 amount get from user and total is increased

If you not redirect to your website after payment complete then follow the below steps to set return URL in business account.

a. Click on the business test account id and click enter Sandbox test site

b. Choose Profile --> More options in the menu under Selling Preferences choose Website Payment Preferences

c. Select Auto Return on radio button to redirect and enter return URL below like http://www.xyz.com if you don't have any domain just enter any valid domain name like your blog URL etc. because its only for testing

d. Enable on Payment Data Transfer to get payment data return in website and save it.

e. Again go to more option website payment reference and see identity token is generated (under payment data transfer) copy that identity token use it in the website web.config file.

Source code:


Client Side: ASP.NET
Code Behind: C#

Conclusion

I hope this article is help you to know about integrate PayPal in your website.


Attachments

  • PayPal_Source (43962-71410-PayPal-Source.rar)
  • Comments

    Guest Author: Vijay Yadav06 Aug 2012

    Hi Ravindran,

    Thanks a lot for this article.

    I followed your steps but after running the application and I clicked on 'Buy Now' button, it redirects me to the below link:
    https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_xclick&business=vijay_1344262433_biz@gmail.com&first_name=vijay&city=mumbai&state=maharashtra&item_name=Laptop&amount=$100&shipping=5&handling=5&tax=5&quantity=1%c2%a4cy=USD&return=http://localhost:2525/PayPalApp/Success.aspx&cancel_return=http://localhost:2525/PayPalApp/Failed.aspx

    Not to the page that you have shown in the article. May I know where I went wrong?

    Author: Ravindran06 Aug 2012 Member Level: Diamond   Points : 1

    yes in that page paypal login is there?

    Steps to Execute Details Output below image....is appear after you redirect to that URL and make sure you must signin paypal account in the same browser.

    Please read in that source attached document

    Author: vijay yadav06 Aug 2012 Member Level: Bronze   Points : 1

    Hi Ravindran,

    Thanks for your reply.

    I have Logged in as per your suggestion but then I redirected to the Test Account page of the sandbox. and I have also gone through the document and i clicked on the enter Sandbox test site but there I don't find any Profile option. Can Please help me out?

    Author: vijay yadav06 Aug 2012 Member Level: Bronze   Points : 1

    Hi Ravindran,

    Thanks for your reply.

    I have Logged in as per your suggestion but then I redirected to the Test Account page of the sandbox. and I have also gone through the document and i clicked on the enter Sandbox test site but there I don't find any Profile option. Can Please help me out?

    Author: Ravindran07 Aug 2012 Member Level: Diamond   Points : 3

    Follow this vijay,

    Login in https://developer.paypal.com/ and goto test account then choose "Business" account radio button then click "Enter sandbox test site".


    After that login in new popup window login with seller acount mean business account. Under the menu bar profile link button --> then more options in the menu under Selling Preferences choose Website Payment Preferences

    Select Auto Return on radio button to redirect and enter return url any valid domain (like http://www.urname.blogspot.com)

    Enable on Payment Data Transfer to get payment data return in website and save it.

    Again go to more option website payment reference and see identity token is generated (under payment data transfer) copy that identity token use it in the website.

    Author: vijay yadav08 Aug 2012 Member Level: Bronze   Points : 2

    Hi Ravindran,

    Thanks again, I have followed the above steps and completed the settings mentioned by you. And I ran the application, it got opened in IE and in another tab of IE,I have opened the https://developer.paypal.com/ URL and logged in with my paypal account and now when I clicked the Buy now button in the gridview, it redirects me to the "Error - Return To merchant page" It says

    Return to Vijay yadav's Test Store

    At this time, we are unable to process your request. Please return to Vijay yadav's Test Store and try another option.

    Can you please tell me where i am wrong?
    Thanks

    Author: Ravindran08 Aug 2012 Member Level: Diamond   Points : 1

    Vijay,

    Mistake in that currency paramater just rewrite that code in code behind

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

    And download my full source below resource to check it. Make sure you are change return url or success url as per your port or current website url in web.config file.

    Author: vijay yadav08 Aug 2012 Member Level: Bronze   Points : 0

    Hi Ravindran,

    I rewritted the code and changed the port in the web config file but still it redirects to the Error - return to Merchant page.

    Author: Ravindran08 Aug 2012 Member Level: Diamond   Points : 0

    vijay,

    see my above comment or mail me nravindranmca at gmail.com

    Author: vijay yadav08 Aug 2012 Member Level: Bronze   Points : 0

    ok I will email you.

    Author: vijay yadav08 Aug 2012 Member Level: Bronze   Points : 0

    Nice Article, really helped out.

    Thanks!

    Guest Author: anil babu20 Aug 2012

    Why Add values dynamically?
    the values comming from database values?

    My question is The gridview values comming from database

    Author: Ravindran23 Aug 2012 Member Level: Diamond   Points : 5

    Anil,

    Just i give an simple code to reader understand easily PayPal integration in ASP.NET

    Refer below as per your requirement code for Default.aspx.cs


    using System.Data;
    using System.Data.SqlClient;
    using System.Configuration;

    public partial class _Default : System.Web.UI.Page
    {
    SqlConnection sqlcon = new SqlConnection(ConfigurationManager.ConnectionStrings["Con"].ToString());
    SqlCommand sqlcmd = new SqlCommand();
    SqlDataAdapter da = new SqlDataAdapter();
    DataTable dt = new DataTable();
    string query;

    protected void Page_Load(object sender, EventArgs e)
    {
    if (!Page.IsPostBack)
    {
    BindGrid();
    }
    }
    void BindGrid()
    {
    sqlcmd = new SqlCommand("select pname,pdesc,price from productTable", sqlcon);
    sqlcon.Open();
    da = new SqlDataAdapter(sqlcmd);
    da.Fill(dt);
    GridView1.DataSource = dt;
    GridView1.DataBind();
    sqlcon.Close();
    }
    protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
    {
    if (e.CommandName == "buy")
    {
    ImageButton ib = (ImageButton)e.CommandSource;
    int index = Convert.ToInt32(ib.CommandArgument);
    GridViewRow row = GridView1.Rows[index];

    //Get each Column label value from grid view and store it in label
    Label l1 = (Label)row.FindControl("Label1");
    Label l2 = (Label)row.FindControl("Label2");
    Label l3 = (Label)row.FindControl("Label3");

    //here i temporary use my name as logged in user you can create login page after only make an order
    Session["user"] = "ravi";

    //After user clik buy now button store that details into the sql server "purchase" table for reference
    string query = "";
    query = "insert into purchase(pname,pdesc,price,uname) values('" + l1.Text + "','" + l2.Text + "','" + l3.Text.Replace("$","") + "','" + Session["user"].ToString() + "')";
    sqlcon.Open();
    sqlcmd = new SqlCommand(query, sqlcon);
    sqlcmd.ExecuteNonQuery();
    sqlcon.Close();

    //Pay pal process Refer for what are the variable are need to send http://www.paypalobjects.com/IntegrationCenter/ic_std-variable-ref-buy-now.html

    string redirecturl = "";

    //Mention URL to redirect content to paypal site
    redirecturl += "https://www.sandbox.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=ravindran";

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

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

    //Product Name
    redirecturl += "&item_name=" + l1.Text;

    //Product Amount
    redirecturl += "&amount=" + l3.Text;

    //Business contact id
    //redirecturl += "&business=nravindranmcaatgmail.com";

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

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

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

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

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

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

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

    Response.Redirect(redirecturl);
    }
    }

    Guest Author: kashyap12 Oct 2012

    thanks for solution but i dont understand that how to refund the payment can any one help me?

    Author: Ilakkiya01 Nov 2012 Member Level: Bronze   Points : 1

    Hello Ravindran..
    Nice Article, really helped me out. Thank u very much...
    i had a copy of ur article,its ran in fine way and i integrate this into my website too..
    Now,i have one doubt..
    Can u please specify, when i host my website in live, what are the changes i supposed to do? and where i do those changes...explain this with ur example article..

    Author: Ravindran03 Nov 2012 Member Level: Diamond   Points : 1

    hi,

    just you need only url like for testing we are use www.sandbox.paypal.com and if your project go for live just change url in the config file like www.paypal.com its enough no need to change anywhere else

    Guest Author: Kevin10 Nov 2012

    See full source code on http://www.thecodenode.com/PayPalAPICSharpdotNetWrapper.aspx

    Guest Author: Pankaj22 Nov 2012

    Auto redirecting is not working Y???

    Author: Ravindran29 Nov 2012 Member Level: Diamond   Points : 0

    Pankaj please read my above my comments and follow this to sort out your issue

    Author: Programmer09 Dec 2012 Member Level: Gold   Points : 2

    Dear Ravindran,
    This is best code of paypal integration.I could tranfer the amount from the buyer account to seller account.Now I want to integrate this on my live site.Should I create account on www.paypal.com since I want to only receive payment.

    Author: Ravindran09 Dec 2012 Member Level: Diamond   Points : 3

    Programmer

    You need change url like for testing we are use www.sandbox.paypal.com and if your project go for live just change url in the config file like www.paypal.com its enough no need to change anywhere else(mean coding). And normal sandbox login details account not work in live paypal.com site. Please register according to your detail in live site use that in your project

    Guest Author: anonymous user02 Jan 2013

    thanks buddy,
    it is easy as 1 2 3,

    Guest Author: Julian Mummery06 Jan 2013

    Hi,

    Great article.

    The reason why some of you are having issues with the automatic redirec and cannot find the following menu in Vijay's tutorial is because you are using a preconfigured business acoount:

    New test account: Preconfigured| Create Manually

    To resolve this issue create a fresh business account but use the 'Create Manually' link instead of the 'Preconfigured' link. Once you have done that Vijay's instructions will work.

    Kind Regards
    Julian Mummery

    Guest Author: dsouchon05 Feb 2013

    Thank you Rav! Well done! This is the first tutorial (including PayPal official documentation) that I have tried that actually works from beginning to end. Don't miss ANY of the steps and it will work for you.

    Notes: 1. You must be logged in to PayPal sandbox on a separate tab when debugging the app. for it to work.
    2. The "token" value in web.config is the API Signature found by clicking on API and Payment Card Credentials in Left Nav Bar in Sandbox - look in Test Account Box for Signature
    3. The "paypalemail" value is the seller Test Account email address NOT the API username - also found at the top of the Test Account Box.

    Guest Author: Shanth kumar Naik07 Feb 2013

    Hi Ravindran,

    Thanks lot,This article helped lot for integrating paypal to my web site(Esente skin care medicine prodcut selling online).

    I need a help that,after click on PayNow button in paypal page,then i need to capture transaction ID and automatically redirect to success.aspx page in my site.

    Please support.

    Thanks & Regards,
    L.shanthKumar Naik
    AROKIA IT LTD
    Bangalore

    Guest Author: himanshu09 Feb 2013

    Hello Sir,
    Thanks For The article It worked perfectly fine.
    I just want to know if i will change
    www.sandbox.paypal.com to www.paypal.com

    than what will be the
    key="?"
    value="?"
    for www.paypal.com as shown below(for sandbox)

    add key ="paypalemail" value ="nravin_1335778770_biz@gmail.com"

    Please Revert soon thanks and regards

    Guest Author: Eldhose P Kuriakose13 Feb 2013

    After payment in PayPal when we return back to our own website, if the session got expired and the user id in the session got cleared what can we do... is there a way that we can "pass" an id to PayPal and in return we get that id back...

    Guest Author: Eldhose P Kuriakose13 Feb 2013

    After payment in Paypal when we return back to our own website, if the session got expired and the userid in the session got cleared what can we do... is there a way that we can "pass" an id to paypal and in return we get that id back...

    Guest Author: Ahmad16 Feb 2013

    Hi, thanks for all your help,
    1-These examples are for a buyer with a paypal account.
    How can I have a buyer without paypal account(we have his info such as credit card number, expire date ,...) and we can pass all this data for transaction.
    2- How can I have a buyer without credit card, I mean a person with just checking account (router number and account number) ?
    Thanks in advance

    Guest Author: Ahmad16 Feb 2013

    Hi, thanks for all your help,
    1-These examples are for a buyer with a paypal account.
    How can I have a buyer without paypal account(we have his info such as credit card number, expire date ,...) and we can pass all this data for transaction.
    2- How can I have a buyer without credit card, I mean a person with just checking account (router number and account number) ?
    Thanks in advance

    Guest Author: virtualfight21 Mar 2013

    I want a code for online transaction through PayPal where users can login to site and make payments to each other. Please help for the code.

    Guest Author: Dipika05 Apr 2013

    Hello Ravindran,

    Thanks for the post.You explain each step very nicely.Keep it up.

    Regards,
    Dipika

    Guest Author: Shyam13 Jun 2013

    Hi Ravindran,

    Thanks for this great article, i have been searching for this for long time.The sample you have provided is working fine.

    I just want to know if any how i can get the transaction id for the completed transaction.

    Thanks
    Shyam

    Guest Author: Liton18 Jun 2013

    Really Nice article. I have facing a problem to catch success value.
    Request.QueryString["tx"].ToString();
    transtat = Request.QueryString["st"].ToString();
    This value return a null value. How can solve this problem.
    Please help me.

    Guest Author: Nitesh25 Jun 2013

    Please tell me ..how to get order id from PayPal in my application after purchasing. what will be database design.

    Guest Author: Arun19 Jul 2013

    Thanks For The article It worked perfectly fine.

    Guest Author: Arun19 Jul 2013

    Thanks For The article It worked perfectly fine.

    Author: baiju09 Dec 2013 Member Level: Silver   Points : 0

    Hi Ravindran,
    is it possible for transaction in Indian rupees. ?

    Guest Author: tau13 Jan 2014

    but when there is new user and he doesn't have PayPal account so How he will know about seller account information and how money is transfers to sellers account

    Guest Author: Hira Naseer15 Aug 2014

    I am making a project of hotel reservation in which the payment module is must. I don't understand how to integrate the total bill calculated for room booking with the paypal. The paypal billing should not be real just use the paypal sandbox account. Can you please guide me how can I integrate the total bill with the paypal

    Guest Author: Hira Naseer15 Aug 2014

    Hy, I have a hotel reservation asp.net project. I need paypal to integrate with it but I don't no how to integrate it. I want to send the total bill to paypal and want to do payment. Can you please guide me in it? Waiting for your positive response.



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: