Topic awaiting preservation: dual forms submitting |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: Detroit, MI US |
posted 08-20-2002 00:02
I have one form I want to submit to a php page for processing. I have another form that I want to send to a credit card gateway. Both are in the same document. I only want one submit button. Any ideas? |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 08-20-2002 00:13
Can't really be done. (kinda) |
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 08-20-2002 01:19
why dont you youst use one form sending one part of the form to the db and the others to the credit card gateway??? thats how i would tri it |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 08-20-2002 02:17
As I think Blacknight [edit: and bitdamaged ] was getting at - couldn't you just have a page which collects all the goodies from the form then process one part and then do the credit card processing after that? |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 08-20-2002 03:13
Hey I said that too |
Bipolar (III) Inmate From: Detroit, MI US |
posted 08-21-2002 18:18
I dunno. I have my action for the form going to the confirmation page. I don't know how I would send the appropriate form info to the gateway and then run the confirmation page. I've never had to do that before. |
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 08-21-2002 19:26
ok you have 1 form ...submit sends you to the confermation page.......on this page the date gets sent to the db ....clear so far |
Bipolar (III) Inmate From: Detroit, MI US |
posted 08-21-2002 19:42
The standard operating procedures that Authorize.net passes is to create form fields with certain names. The fields with the appropriate names are sent to the server in the action attribute to the specific url required by Authorize.net. What I lack is the knowledge on how to do what it is you're saying... being able to send the info to the gateway on the same page as the DB update. |