Jump to content

How to pass info from one form to another


samoht

Recommended Posts

Hello,

 

I have built a form for submitting CC info to a payment gateway for a giftcard. I have also built another form that serves as a confirmation page - (it is actually from the submit of this form that the info gets sent to the payment gateway).

 

My problem is that right now I am just querying the database for the last saved record to pull up the info on the confirmation page. This is not very secure because multiple people may be filling out these forms at the same time and I have an "Edit" button on the confirm form that sends you back to the first form if you need to change some info.

 

So how do I pass a unique ID to the confirm form so I don't get the wrong data?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.