JS Capability

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mkhaira143
    New Member
    • Sep 2006
    • 1

    JS Capability

    I'm new to JS and seem to be working my way around it fine. Everything works fine in my form, all the calculations and field validations work just fine.
    My form basically is a sign up for a service plan, and has the option to enter credit card information.
    My question is how can I get the information submitted without doing credit card processing (I beleive that will involve work to be done on my server before I do that and loads of other security issues I'd have to deal with)?
    What it's doing now is they enter the information and then print and fax the form to my office.
    I suppose I can email the data to me? But how secure will that be? and will I be able to do it without php (PHP Emailer)?
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    JavaScript is a client-side language, so it would not be suitable for this task.

    You will need to use a server-side language such as PHP. You can either email, or you could use a form and submit the information to be stored in a database.

    Comment

    • pronerd
      Recognized Expert Contributor
      • Nov 2006
      • 392

      #3
      Originally posted by mkhaira143
      My question is how can I get the information submitted without doing credit card processing (I beleive that will involve work to be done on my server before I d
      Correct. Your server needs to be configured to support SSL for HTTPS connections. This will require buying a publicly registered key pair. There are a lot of details to know to get this done correctly so you probably want to look into getting some help with this. Or you could just use one of the automaic payment processor services like Paypal to handle the transaction part.




      Originally posted by mkhaira143
      I suppose I can email the data to me?
      You could do that but it would not be secure at all. Email by default is sent as plan text, and setting up email encryption is a huge pain. You would be better having them submit the form, then having the server store the order in a database, and then having a secure page that will show you all of the orders.



      Originally posted by mkhaira143
      will I be able to do it without php (PHP Emailer)?
      It does not have to be PHP, but you will need a server side language of some sort. ASP, JSP, PHP, Python, etc.

      Comment

      • rnd me
        Recognized Expert Contributor
        • Jun 2007
        • 427

        #4
        never never never send credity card info to/from/via email.

        email is akin to a postcard, and not to be considered secure under any circumstances.

        Comment

        • acoder
          Recognized Expert MVP
          • Nov 2006
          • 16032

          #5
          Some good points, but the OP did say
          Originally posted by mkhaira143
          My question is how can I get the information submitted without doing credit card processing
          Of course, it is better to submit using a form rather than emailing.

          Comment

          Working...