Click here to Skip to main content
15,902,835 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: jQuery Autocomplete Failed Pin
jkirkerx9-Feb-12 7:00
professionaljkirkerx9-Feb-12 7:00 
QuestionModalPopup JScript runtime error on properties Drag="true" Pin
Dharmendra-KumarBLR7-Feb-12 0:08
Dharmendra-KumarBLR7-Feb-12 0:08 
AnswerRe: ModalPopup JScript runtime error on properties Drag="true" Pin
Ali Al Omairi(Abu AlHassan)7-Feb-12 21:55
professionalAli Al Omairi(Abu AlHassan)7-Feb-12 21:55 
Questionexpress checkout keep loading didn't return to merchant Pin
awakepoh6-Feb-12 21:20
awakepoh6-Feb-12 21:20 
AnswerRe: express checkout keep loading didn't return to merchant Pin
jkirkerx8-Feb-12 12:54
professionaljkirkerx8-Feb-12 12:54 
GeneralRe: express checkout keep loading didn't return to merchant Pin
awakepoh8-Feb-12 22:46
awakepoh8-Feb-12 22:46 
NewsRe: express checkout keep loading didn't return to merchant Pin
jkirkerx9-Feb-12 6:56
professionaljkirkerx9-Feb-12 6:56 
GeneralRe: express checkout keep loading didn't return to merchant Pin
awakepoh10-Feb-12 3:00
awakepoh10-Feb-12 3:00 
NVPCallerServices caller = new NVPCallerServices();
IAPIProfile profile = ProfileFactory.createSignatureAPIProfile();
/*WARNING: Do not embed plaintext credentials in your application code.Doing so is insecure and against best practices.Your API credentials must be handled securely. Please considerencrypting them for use in any production environment, and ensurethat only authorized individuals may view or modify them.*/
// Set up your API credentials, PayPal end point, API operation and version.
profile.APIUsername = "xxxxx.hotmail.com";
profile.APIPassword = "xxxxx";
profile.APISignature = "xxxxx";
profile.Environment = "sandbox";
caller.APIProfile = profile;
NVPCodec encoder = new NVPCodec();
encoder["VERSION"] = "76.0";
encoder["METHOD"] = "SetExpressCheckout";
// Add request-specific fields to the request.
encoder["RETURNURL"] = "https://..../return1.aspx";
encoder["CANCELURL"] = "......";
encoder["CURRENCYCODE"] = "USD";
encoder["PAYMENTACTION"] = "SALE";
encoder["PAYMENTREQUEST_0_AMT"] = "150.00";
encoder["PAYMENTREQUEST_0_ITEMAMT"] = "100.00";
encoder["PAYMENTREQUEST_0_DESC"] = "Mobile";
encoder["NOSHIPPING"] = "0";
encoder["REQCONFIRMSHIPPING"] = "1";
encoder["PAYMENTREQUEST_0_SHIPTOSTREET"] = "1 Main St";
encoder["PAYMENTREQUEST_0_SHIPTOCITY"] = "San Jose";
encoder["PAYMENTREQUEST_0_SHIPTOSTATE"] = "CA";
encoder["PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE"] = "US";
encoder["PAYMENTREQUEST_0_SHIPTOZIP"] = "95131";
encoder["PAYMENTREQUEST_0_SHIPTOPHONENUM"] = "408-967-4444";

double totalprice = 0.00;
for (int i = 0; i < cart; ++i)
{
encoder["Name" + i] = from cart;
encoder["L_PAYMENTREQUEST_0_NAME" + i] = from cart;
encoder["L_PAYMENTREQUEST_0_ITEMCATEGORY" + i] = " Digital";
totalprice += from cart;
encoder["L_PAYMENTREQUEST_0_AMT" + i] = from cart;
encoder["L_PAYMENTREQUEST_0_QTY" + i] = from cart;

}

String strtotalprice = string.Format("{0:N2}", totalprice);


encoder["PAYMENTREQUEST_0_AMT"] = strtotalprice ;
encoder["PAYMENTREQUEST_0_ITEMAMT"] = strtotalprice;
string pStrrequestforNvp = encoder.Encode();

string pStresponsenvp = caller.Call(pStrrequestforNvp);
NVPCodec decoder = new NVPCodec();
decoder.Decode(pStresponsenvp);
Token = decoder["TOKEN"];
Response.Redirect("https://www.sandbox.paypal.com/incontext?useraction=continue&token=" + Token );
GeneralRe: express checkout keep loading didn't return to merchant Pin
jkirkerx10-Feb-12 6:07
professionaljkirkerx10-Feb-12 6:07 
QuestionVirualiztion concept for Client Server windows application Pin
D.Manivelan6-Feb-12 19:58
D.Manivelan6-Feb-12 19:58 
Question[Originally posted in C# forum] Bug Tracking for ASP.Net Website Pin
Ed Nutting6-Feb-12 5:17
Ed Nutting6-Feb-12 5:17 
AnswerBug Tracking Pin
David Mujica6-Feb-12 7:35
David Mujica6-Feb-12 7:35 
Questionstore and retrive swf in and from asp.net database Pin
mohmed216-Feb-12 4:24
mohmed216-Feb-12 4:24 
AnswerRe: store and retrive swf in and from asp.net database Pin
Not Active6-Feb-12 5:18
mentorNot Active6-Feb-12 5:18 
QuestionThe process cannot access the file because it is being used by another process. Pin
Vimalsoft(Pty) Ltd6-Feb-12 2:13
professionalVimalsoft(Pty) Ltd6-Feb-12 2:13 
AnswerRe: The process cannot access the file because it is being used by another process. Pin
Satish_S6-Feb-12 3:12
Satish_S6-Feb-12 3:12 
GeneralRe: The process cannot access the file because it is being used by another process. Pin
Vimalsoft(Pty) Ltd6-Feb-12 3:56
professionalVimalsoft(Pty) Ltd6-Feb-12 3:56 
GeneralMaking a service call for json object Pin
dayakar_dn5-Feb-12 22:59
dayakar_dn5-Feb-12 22:59 
GeneralRe: Making a service call for json object Pin
Abhinav S6-Feb-12 0:09
Abhinav S6-Feb-12 0:09 
QuestionASP.NET site in sharepoint Pin
lionelcyril5-Feb-12 22:50
lionelcyril5-Feb-12 22:50 
AnswerCross post Pin
Not Active6-Feb-12 1:25
mentorNot Active6-Feb-12 1:25 
QuestionCrystal Report Viewer Pin
Myat Su Hlaing5-Feb-12 21:28
Myat Su Hlaing5-Feb-12 21:28 
AnswerRe: Crystal Report Viewer Pin
Abhinav S5-Feb-12 22:00
Abhinav S5-Feb-12 22:00 
QuestionHow to Achive this... Pin
uspatel5-Feb-12 20:32
professionaluspatel5-Feb-12 20:32 
QuestionNeed to fire textchanged event with Gridview using Update panel Pin
r aa j5-Feb-12 20:02
r aa j5-Feb-12 20:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.