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 web 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
Requesting a Payment on a Form
To requesting a payment on a form:
- Sign up for a FormSmarts Pro or Business account (find out about differences) and create a form with the form builder
- In the Form Details screen, set the On Submission option to Show Confirmation & 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.
Creating a Subscription Form with Recurring Payments
A 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 Show Confirmation & 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 Number
- Set the field’s widget to Text Box.
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.
Reconciling Form Responses & Payment Data
With Advanced PayPal Integration, the order form is only sent to the seller after the payment went through. However with the Standard PayPal Integration that comes with FormSmarts Pro, the seller has to manually reconcile order forms and payments.
If the name and email address submitted as part of form data don’t match those in the Paypal account that was used to send the payment, you will need to reconcile each form submission with the corresponding payment using the FormSmarts reference number.
The FormSmarts reference number is the 25-character ID that is given to users on the confirmation page, and is shown in the subject of the email notification we send you. The same reference number will appear in the payment details in your Paypal account (Transaction Details screen, under the Custom heading).
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 Advanced Integration and 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, 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.
Advanced vs. Standard PayPal Integration
Business accounts include both the standard PayPal integration described on this page and advanced PayPal integration. Pro accounts only include standard PayPal integration. Advanced integration offers many benefits over standard integration.
47 Responses to “How to Build a PayPal Form”