Solved

Build registration form with paypal payment

Posted on 2010-11-17
4
832 Views
Last Modified: 2013-11-19
I have a client who sponsors an annual fund raising event. They have opened a Paypal not for profit account and want me to build a web page which will let participants register and pay their entry fee online, but I have never had to build a form before, nor have I had to accept a payment.

Participants will be registering for booths which come in two sizes thus two prices. (These are the only options)

I would like to be a little more refined than the plug-in shopping cart which has boxes for quantity and "Pay Now" or "Continue Shopping" buttons.

I would like a simple form with two check boxes and a "register now" button. The price charged being set by which of the two boxes are checked.

The form would then be sent upon successful acceptance of Paypal payment.

Any suggestions on strategy or methodology?

0
Comment
Question by:David Brugge
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 34161166
Go look at the Paypal documents for setting this up.  Payment gateways like Paypal are very pick about how you do things.  If "the plug-in shopping cart" is from Paypal, there is probably a bunch of code for it that is necessary to use the account.  At least take a look at that code before you try to do your own form.
0
 
LVL 14

Accepted Solution

by:
Scott Madeira earned 500 total points
ID: 34166371
I have done similar work in the past using PayPal and their Instant Payment Notification (IPN) process.  In terms of flow here is what you need to do:

1. Create your form where you collect the info you need to make the sale.
2. The form will post to a .php page that will take the form data and build the proper PayPal message that you send to PayPal for payment.
3. Once the payment is complete you can have it return to a page on your site with perhaps a receipt of some sort that they can print.  You would have to build this page.
4. IPN will send an acknowledgement as well that you can use to close the loop on the payment process.  If you are storing the person's data in a database you can also add the IPN confirmation info so you know that payment was made and accepted.


Here is a link to the IPN guide: https://cms.paypal.com/cms_content/US/en_US/files/developer/IPNGuide.pdf

Here is the guide to using Express Payments on the front-end (your "cart" would feed data to PayPal Express payments): https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_ECGettingStarted

Hope that helps to get you started.
0
 
LVL 26

Author Closing Comment

by:David Brugge
ID: 34169859
Thanks for your help!
0
 
LVL 26

Author Comment

by:David Brugge
ID: 34169865
Thanks sma!,
That PHP part escaped me.
I think I panicked because the client took three weeks to get around to getting a Paypal account, then is giving me 3 days to go live with it!

Once you mentioned the PHP it was like a dummy slap to my head. I was trying to stay away from the IPN, in order to keep it from getting complicated. As it turns out, without the IPN method, it gets complicated.

Stay tuned for more questions.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question