473,387 Members | 1,516 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Writing to database before HTTP POST

I'm building an e-commerce app. I need to write the user's
order data to a SQL Server database before sending the
order data to the credit card processor's secure server
(which is a different domain) via an HTTP POST.

I have the database routines working, but haven't figured
out how to send the form data to the credit card
processor's domain as an HTTP POST. Neither
Response.Redirect (doesn't retain the HTTP POST format) or
Server.Transfer (doesn't work across domains) work.

What am I missing?

Nov 18 '05 #1
2 1715

"Erik" <er**@arcadiaweb.com> wrote in message
news:04****************************@phx.gbl...
I'm building an e-commerce app. I need to write the user's
order data to a SQL Server database before sending the
order data to the credit card processor's secure server
(which is a different domain) via an HTTP POST.

I have the database routines working, but haven't figured
out how to send the form data to the credit card
processor's domain as an HTTP POST. Neither
Response.Redirect (doesn't retain the HTTP POST format) or
Server.Transfer (doesn't work across domains) work.

What am I missing?


Just making sure you meant HTTPS not HTTP to post the message to them. You
do not want private data being sent over an open pipe.

You might check out WebRequest.

Rocky Moore
www.HintsAndTips.com


Nov 18 '05 #2
Yes, I did mean HTTPS. Thanks.

Just making sure you meant HTTPS not HTTP to post the message to them. Youdo not want private data being sent over an open pipe.

You might check out WebRequest.

Rocky Moore
www.HintsAndTips.com


.

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: George Stout | last post by:
First off I do not know alot about writing queries to an Access Database from an ASP page. This is why I need help. I have an Events database for 6 colleges in our metro area. On the homepage I...
6
by: Paul | last post by:
I was wondering if anyone has had an issue where using vba code to read an excel file and import the data into an access table some records are not imported from the excel file. It seems looking at...
11
by: Mr. Smith | last post by:
Hello all, My code can successfully open, write to, format and save several worksheets in a workbook then save it by a given name, close and quit excel. My problem is that if I try and do it...
12
by: Chris Springer | last post by:
I'd like to get some feedback on the issue of storing data out to disk and where to store it. I've never been in a production environment in programming so you'll have to bear with me... My...
1
by: Glenn Coyle | last post by:
Hi I am having trouble writing the file path of a image to the database,also for some reason it is not uploading the images, anyone have any ideas? the code is below: if($_POST ==...
1
by: Julian32 | last post by:
Hello, I'm trying to keep track of purchases made from my website by having Paypal redirect users to a page on my site after purchase, and writing the information received to an Access Database....
8
by: childtobe | last post by:
Hi, i'm writing an enquete in C# and i need to write data to a database. I'm using stored procedures to do so. Now the problem: I have a question with a checkboxlist, and the user can select...
30
by: Cramer | last post by:
I've finally gotton board with TDD (test driven development) and wow is it effective! I went from sceptic to True Believer with my first effort. My question: According to the various books and...
2
by: macdalor | last post by:
I'm trying to add a guestbook to my website and got these scripts from the net (http://www.phpeasystep.com/workshopview.php?id=15) but only 1d and date&time are being recorded in the sql db; name,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.