for instance Acc No,Acc Type,Exp Date,Cvv Num...etc
My requirement is User should fill the Details in My Checkout Page ,if he clicks submit button this details will bind there ,if he dont have account ,automatically will create,if he have skips the creation page and process next step??
As we know that fo integrating paypal we needed to pass the value in hidden field . which have a fixed name. please check the link for the list of hidden field name
Currently am using this code for paypal integration with my application...
string businessPaypalId = "xyz@gmail.com";
double itemCost = 10.00;
string baseUrl = HttpContext.Current.Request.Url.AbsoluteUri.Replace(HttpContext.Current.Request.Url.PathAndQuery, "") + HttpContext.Current.Request.ApplicationPath;
if (!baseUrl.EndsWith("/"))
baseUrl += "/";
string redirect = "";
redirect += "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_xclick&business=" + businessPaypalId;
redirect += "&amount=" + itemCost;
redirect += "&item_number=1";
redirect += "¤cy_code= USD";
redirect += "&return=" + baseUrl + "Completed.aspx";
redirect += "&cancel_return=" + baseUrl + "Cancel.aspx";
redirect += "¬ify_url=" + baseUrl + "Notify.aspx";
return redirect;
But i heared that,we need to use some Gateways for transaction, is it true?? if its true then please any one help me how to use gateways in my application??
Member
97 Points
170 Posts
Integration with PayPal in C#
Feb 06, 2012 04:41 AM|thulasiram1278|LINK
Hi Friends ....please any one suggest me how to integrate Paypal account with my application...
i'm new to .net,googled out from last 3 to 4 days but i'm unable to understand the process..
please any one suggest me the flow how to do that??
in page have this fields:
TotalAmount,CreditCard Type,CreditCardNum,ExpirationDate,CVV Num,FirstName,LastName,Address,City,State,Country,ZipCode
Contributor
3181 Points
836 Posts
Re: Integration with PayPal in C#
Feb 06, 2012 04:46 AM|cninjas|LINK
hi
You need to have the SDK from paypal to do this..
You can try the below link...hope it helps...
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_download_sdks
thanks,
Niranjan
Member
90 Points
74 Posts
Re: Integration with PayPal in C#
Feb 06, 2012 04:49 AM|etell0|LINK
//string path = ConfigurationManager.AppSettings["BaseURL"].ToString() ;
//string businessPaypalId = "bill_1324043702_biz@sdsol.com";
//string redirect = "";
//redirect += "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_xclick&business=" + businessPaypalId;
//redirect += "&item_name=" + BuyDetail[0].ToString();
//redirect += "&amount=" + String.Format("{0:0.00} ", BuyDetail[3].ToString());
//redirect += "&item_number=1";
//redirect += "¤cy_code=USD";
//redirect += "&return="+path+"/BuyPayPal.aspx";
//redirect += "&cancel_return=" + path + "/BuyPayPal.aspx";
//redirect += "¬ify_url=" + path + "/BuyPayPal.aspx";
//redirect += "&custom=" + Did.ToString();
//Response.Redirect(redirect);
after getting response you need to get the querystring if success then ok
otherwise failure.
Member
97 Points
170 Posts
Re: Integration with PayPal in C#
Feb 06, 2012 04:54 AM|thulasiram1278|LINK
Hi etell...thanks for ur response....
In my Page have CreditCardType,CNumber,Cvv Details of Customer,how to pass this details to paypal account and deduct money from them account??
Member
97 Points
170 Posts
Re: Integration with PayPal in C#
Feb 06, 2012 05:42 AM|thulasiram1278|LINK
Hi friends...with the above Mentioned Code...i'm logging into the Developer account...
After that what to do here??
i'm in dilemma???
Plz any one help me
Member
97 Points
170 Posts
Re: Integration with PayPal in C#
Feb 06, 2012 11:51 PM|thulasiram1278|LINK
Hi frnds..any one help me ...:)
Contributor
3181 Points
836 Posts
Re: Integration with PayPal in C#
Feb 07, 2012 12:05 AM|cninjas|LINK
Hi
I this link there is a download sample for ASP.NET
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_download_sdks
Download that and check how it is used...you can try the sameway and make it work...
Search for this term "Website Payments Standard"
thanks,
Niranjan
Member
97 Points
170 Posts
Re: Integration with PayPal in C#
Feb 07, 2012 01:38 AM|thulasiram1278|LINK
Hi cninjas...
I refered ur link also but no use....
Plz help me any one ,In my .aspx page have the Account Details.i want to bind this details to paypal account...??
Give me Suggestions
Member
97 Points
170 Posts
Re: Integration with PayPal in C#
Feb 13, 2012 06:11 AM|thulasiram1278|LINK
Hi... Every one
Can we Bind Customer Details to Paypal Account..
for instance Acc No,Acc Type,Exp Date,Cvv Num...etc
My requirement is User should fill the Details in My Checkout Page ,if he clicks submit button this details will bind there ,if he dont have account ,automatically will create,if he have skips the creation page and process next step??
Help me any one
Contributor
5745 Points
1899 Posts
Re: Integration with PayPal in C#
Feb 13, 2012 06:26 AM|vinay13mar|LINK
As we know that fo integrating paypal we needed to pass the value in hidden field . which have a fixed name. please check the link for the list of hidden field name
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_Appx_websitestandard_htmlvariables
C
heck the link For how to integrate the paypal
http://www.codeproject.com/Articles/19184/Use-of-the-PayPal-payment-system-in-ASP-NET
http://www.codeproject.com/Articles/42894/Introduction-to-PayPal-for-C-ASP-NET-developers
V.K.Singh
Member
97 Points
170 Posts
Re: Integration with PayPal in C#
Feb 15, 2012 06:50 AM|thulasiram1278|LINK
Hi friends...
Currently am using this code for paypal integration with my application...
Star
11260 Points
2686 Posts
Re: Integration with PayPal in C#
Feb 15, 2012 01:33 PM|abiruban|LINK
Hi
no,paypal is the one of the payment gatway but it has been two type of paypal servers one is sandbox server onother one is live server
refer the link..
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_WPWebsitePaymentsPro
DEMO:
https://www.paypal.com/cgi-bin/webscr?cmd=xpt/Marketing/demo/wppro/WPProDemo-outside
for more detail about paypal integration you download the nopcommerce shopping cart starterkit
In the starterkit integrate all type of payment gatways include paypal
http://www.nopcommerce.com/default.aspx
Thanks...