Form within a form?

R

Raymondo

Is it possible to do this? I have a ecommerce site and wish to direct the
user to the payment page (HSBC) having entered the order details on my form
BUT... before the form is submitted to my database. (It can then be submitted
after the user returns from a successful payment. )

At the moment I am able to accept payment before the form is filled out or
after the form has been submitted but neither of these options are ideal.
there must be an easy way to do this but with my limited grasp of
ASP/frontpage/ACCESS can anyone talk me through it?
 
M

MD Websunlimited

Hi Raymondo,

I'm not familar with HSBC but most payment (gateway) providers allow you to specify a return URL that used after the payment. It
would be the responsibility of the return page to update the database etc.
 
R

Raymondo

Hi Mike, well this is a simple payment page, not connected to a shopping
basket. I can stipulate a return page (usually a thank you for your payment)
but this, at the moment, is either after or before the user inputs the order.

So.. when the user inputs the data and the presses the submit button the
database is updated. the user then has to input payment details in a seperate
form that goes to the banks secure server. I would like this to happen after
the data has been input-ed but before the database is updated. Sorry I am
probably not making it very clear!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top