How to Build a PayPal Form
FormSmarts PayPal Integration is your best option when you need to collect data and get a payment on a form. It makes it very easy to include a PayPal payment in your forms, while giving you the power, flexibility and ease of use of a full-featured online form builder.
For example, you can easily build:
- an event registration form (registration form demo)
- a booking form (booking form demo)
- an online order form (order form demo)
- a subscription form for recurring payments (PayPal subscription demo)
- a PayPal donation form (donation form demo)
- and any other online forms which you want to integrate with PayPal
Tip: The demos above are hosted on FormSmarts, but you can also embed a form on your own website with the code snippet given by the form builder.
Do you need help making a PayPal form?
Ask a PayPal Integration Specialist Now
Collecting a Payment on a Form
To request a payment on a form:
- Sign up for a FormSmarts Business account and create a form with the form builder
- In the Form Details screen, set the On Submission option to Integrate with PayPal
- Add radio buttons, a drop-down list or a checkbox, and enter the description and price of products formatted as My Product Description ($30 USD), as shown on the screenshot below.
That’s all you need to do. We’ll pick up the products and quantities that were selected, and we’ll redirect the user to a pre-filled page on Paypal for payment. Payments will be sent to the PayPal account matching your FormSmarts login. You can change your login if needed.
Billing Multiple Items on a Form
You can as easily charge for several items within a single form submission by adding other drop-down lists or radio buttons formatted as just described.
Adding a Product Quantity Box
If you’re building an order form, you will need to allow the user to enter the quantity or number of products they want to buy.
This can be done as follows:
- Position the quantity field immediately after the one listing products for sale
- Set the field type to Positive Integer.
You can also allow the buyer to select a quantity in a predefined list using radio buttons or a pull-down list, like on this demo.
Creating a Subscription Form with Recurring Payments
A membership or subscription involves a recurring payment at each billing cycle until the subscription is canceled. This article discusses how to create a subscription form. Recurring payments can also be used to allow the buyer to pay in installments. A payment by installments is a recurring payment where the number of payments is fixed. The syntax is Payment in 12 Installments (12x$9.99 USD/month). See this sample form.
Building a Donation Form
FormSmarts Payment Integration also supports PayPal Donations. To create a contribution form:
- In the Form Details screen of the form builder, set the On Submission option to Integrate with PayPal
- Add a field to your form with the field name formatted as My Donation ($ USD)
- Set the field’s data type to Positive Number
- Set the field’s widget to Text Box.
You may add multiple donation boxes to a form to allow contributions towards multiple projects or causes in a single donation like on this demo.
Offering a Discount
FormSmarts allows you to offer three types of discounts on your online payments forms: fixed amount discounts, discount percentage and discount codes. The two latter discount schemes only work with advanced integration.
Handling International Payments
To request a payment in a currency other than US dollars, simply change the currency code in the item’s description. For example, use (€60 EUR) to receive a payment in Euros, (£60 GBP) for a payment in Sterlings, and ($60 CAD) to request a payment in Canadian dollars. Note that the 3-letter currency code is required because a currency symbol may be used by more than one currency. For example, USD, CAD, and AUD will all use the dollar sign ($).
The text of the button inviting the user to proceed to payment is displayed in his preferred language, in any of the supported languages.
How Payment Integration Works
To ensure money is sent to the correct PayPal account, your primary PayPal email address must match your FormSmarts login. You can easily change your login. You may receive payments to multiple PayPal accounts with a compatible FormSmarts account.
To avoid users having to enter the same information twice if paying by credit card (on the form and on the payment screen), we will attempt to pass their first name, last name, email, postal address, and country to PayPal.
- Make sure you name the First Name and Last Name fields exactly like this.
- To allow FormSmarts to recognize an address and populate the billing address on PayPal (Advanced Integration only), name the relevant fields like on this form or this one.
Redirecting Users to Your Site After Payment
To redirect users to you website after they have completed payment on PayPal, visit the Form Details screen of the form builder and set the Return URL of the form to your site’s URL.
We welcome your feedback about payment integration.
49 Responses to “How to Build a PayPal Form”