Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2011
    Thanked 0 Times in 0 Posts

    Paypal Form question


    I've a normal HTML form made ( person names / Email address / Designs about the logo they want design etc ) and i have a paypal account,

    What i want to know is this.

    When they fill in the form with all there details and press submit I get the email with all the details and they get redirected to Paypal to make the payment. Paypal knows the amount and all the customer has to do is pay.

    Paypal have a little form thing but you can only enter 1 or 2 things, I need alot of info from the customer.

    Can anyone help me out ?

  2. #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Sydney, Australia
    Thanked 932 Times in 919 Posts
    The way I do it is to store all of the extra info in a database with the key field being based on the time that they entered it. I pass that key to Paypal along with the data Paypal requires and Paypal passes that value back after processing the payment so that I know which entry in the database to update to record the payment.

    You can either pass the key in the custom field or if you want it to appear in the Paypal emails as well you can tell Paypal to use it as the invoice number.
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts