Click here to Skip to main content
15,896,606 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: delete folder in asp.net 2.0 Pin
trilokharry18-May-08 19:20
trilokharry18-May-08 19:20 
GeneralRe: delete folder in asp.net 2.0 Pin
Guffa18-May-08 21:10
Guffa18-May-08 21:10 
QuestionMemory limits for in-proc session state Pin
Member 391904917-May-08 23:39
Member 391904917-May-08 23:39 
QuestionProblem with IIS and XMLDataSource Pin
Sagitta17-May-08 22:15
Sagitta17-May-08 22:15 
QuestionProblem with class file Pin
miss nadia17-May-08 21:44
miss nadia17-May-08 21:44 
AnswerRe: Problem with class file Pin
doWhileSomething18-May-08 3:04
doWhileSomething18-May-08 3:04 
QuestionHow to: Form post to remote page using code behind? Pin
AndyBrew7017-May-08 21:32
AndyBrew7017-May-08 21:32 
AnswerRe: How to: Form post to remote page using code behind? Pin
doWhileSomething18-May-08 3:25
doWhileSomething18-May-08 3:25 
Some API's are easier to work with then you think and while you did not mention which payment API your using, most are similar in how they are used/consumed.

You can use the HttpWebRequest class to post values to a site (e.g. PayPal), but the premise is the same.

Dim req As HttpWebRequest = CType(WebRequest.Create(API_URL), HttpWebRequest)
' Set values for the request back
req.Method = "POST"
req.ContentType = "application/x-www-form-urlencoded"

If you need to post the values to the page and have the user perform some final steps on the page while keeping the user on your site, this can be a little more tricky. You would need to send the identifier for the cart/user from your site, so once they are redirected back to your site,
you can perform the look up and react to the messages sent from the api.

You should look into the documentation of the API though. Most times you can handle all of this without the user ever leaving your site - a much better implementation IMO.


Questionasp.net Pin
Khadeerasulthana17-May-08 20:33
Khadeerasulthana17-May-08 20:33 
AnswerRe: asp.net Pin
leckey18-May-08 4:37
leckey18-May-08 4:37 
JokeRe: asp.net Pin
Rajesh R Subramanian18-May-08 21:33
professionalRajesh R Subramanian18-May-08 21:33 
GeneralRe: asp.net Pin
leckey19-May-08 2:33
leckey19-May-08 2:33 
QuestionCannot change password for domain member user two times Consecutive Pin
ptvce17-May-08 19:35
ptvce17-May-08 19:35 
AnswerRe: Cannot change password for domain member user two times Consecutive Pin
Peter Josefsson Sweden18-May-08 7:56
Peter Josefsson Sweden18-May-08 7:56 
Questionfile download c# asp.net Pin
irusul17-May-08 14:10
irusul17-May-08 14:10 
AnswerRe: file download c# asp.net Pin
Christian Graus17-May-08 15:29
protectorChristian Graus17-May-08 15:29 
AnswerRe: file download c# asp.net [modified] Pin
MHASSANF17-May-08 18:44
MHASSANF17-May-08 18:44 
QuestionLooking for a SEO-tool Pin
Johan Martensson17-May-08 8:48
Johan Martensson17-May-08 8:48 
Questioncrystal report duplication Pin
accessred17-May-08 2:17
accessred17-May-08 2:17 
QuestionCursor Position in Javascript Pin
rajanandal17-May-08 1:47
rajanandal17-May-08 1:47 
QuestionSub Reports header and footer Pin
M. J. Jaya Chitra17-May-08 0:54
M. J. Jaya Chitra17-May-08 0:54 
Questionhow to download a file from asp.net 2.0 page Pin
vijaylumar17-May-08 0:38
vijaylumar17-May-08 0:38 
AnswerRe: how to download a file from asp.net 2.0 page Pin
Christian Graus17-May-08 1:03
protectorChristian Graus17-May-08 1:03 
QuestionProject uploading Pin
raushan_916-May-08 23:55
raushan_916-May-08 23:55 
AnswerRe: Project uploading Pin
Christian Graus17-May-08 1:02
protectorChristian Graus17-May-08 1: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.