Skip to main content
Payments

Easy Way To Setup PayPal Payment Integration in Bit Form

Estimated reading: 7 minutes 17 views

Summary: Set up PayPal payments in Bit Form: connect your PayPal account, add the PayPal field, set currency, fixed or dynamic amount, subscriptions, shipping and tax.

Admin can receive One-time Payment & Subscription Payment through the PayPal field. Bit Form now allows you to use PayPal fields instead of the submit button. So, when admins use PayPal, they can remove the default submit button from the form. When a user clicks on the PayPal button, the form first validates all the form input and then opens the payment window.

Create PayPal Config​

  1. Navigate to the Bit Form dashboard. Then go to App Settings & click on Payments.
Paypal payment field - go to app setting then payments
  1. Click on PayPal.
Paypal payment field - click on paypal
  1. At first, set a suitable integration name on the Integration Name field
Paypal payment field - set integration name
  1. Here, we will select Sandbox as the transaction mode.
Paypal payment field - transaction mode

Info-icon-bit-apps  INFO

For demonstration purposes, we have selected Sandbox as the transaction mode. For real-time transactions, you must select Live.

  1. Admin has to create an application from the PayPal site. For that login to your PayPal account & select My apps & credentials.
Paypal payment field - developers
Paypal payment field - paypal apps and credentials
  1. There are two types of apps – Sandbox Mode & Live mode. For the demonstration purpose we have selected Sandbox an app. You have to select Live for the real-time transaction.
Paypal payment field - enable sanbox
  1. After that, there is a default application created by PayPal itself. You can also create a new one from the Create App option. Now, follow the path to get your Client Id:

Set App Name => Select App Type => Click on Create App => Get Client ID.

Paypal payment field - create app
  1. Now, copy the client ID, and client secret & go back to the Bit Form PayPal settings page. Then paste it on the Client Id and client secret fields.
Paypal payment field - copy client id and client secret
Paypal payment field - paste client id and client secret
  1. Complete the PayPal config settings by clicking on Save button.
Paypal payment field - save settings
Paypal payment field - connected with paypal

Add PayPal to your form

  1. Open the form in the form builder.
  2. In Add Fields, open Payment Fields and click PayPal, or drag it onto the form above the submit button.
  3. If no PayPal account is set up yet, a Configure PayPal window opens with the same settings as App Settings > Payments. Save the account and the field is added. With one account, the field uses it automatically; with several, choose one in PayPal Accounts.

In the Add Fields panel and the field settings the field is labelled Paypal.

PayPal field settings

In a product order form, the PayPal field charges a fixed 59 USD:

Paypal field basic tab with the paypal account, subscription off, currency usd and a fixed amount of 59, next to the paypal buttons on an order form
  1. Paypal Accounts
  2. Subscription
  3. Currency, Amount Type and Amount
  4. The PayPal buttons on the canvas.

Paypal Accounts

The PayPal account that receives the payment. The list shows the PayPal accounts saved in App Settings > Payments; use a sandbox account while you test and switch to the live account before you publish the form.

Subscription

Turn on Subscription: to charge a recurring payment instead of a one-time payment, for example a monthly membership. Paste the Plan Id of a plan you created in your PayPal account (it starts with P-). The plan sets the price, currency and billing cycle, so Currency and Amount Type are hidden, and the button changes to Subscribe. Shipping and tax do not apply to subscriptions. Turning Subscription off again resets the currency to USD.

Currency

The currency of the payment; the default is USD. The list has the 26 currencies PayPal supports, shown as name and code, for example Euro – EUR. The visitor pays in this currency.

Amount Type

Amount Type decides where the amount to charge comes from.

Fixed

Every payment charges the Amount you enter, for example 59. Use it when the form sells one product or service at one price. Choose Fixed first, then type the amount without a currency symbol.

Dynamic

The payment charges the value of another field in the form, read at the moment the visitor clicks the PayPal button. Use it when the price depends on the visitor’s choice, such as a package, a ticket type or a donation amount. Select Amount Field lists the form’s Radio Button, Number and Currency fields, by their Admin Label or label.

Example: a product order form sells three kits. A required Radio Button field Kit has these options, set in the options editor:

LabelValue
Starter Kit ($29)29
Pro Kit ($59)59
Studio Kit ($99)99

In the PayPal field, set Amount Type to Dynamic and Select Amount Field to Kit. A visitor who picks Pro Kit ($59) pays 59 USD; one who picks Studio Kit ($99) pays 99 USD.

Paypal field with amount type set to dynamic and select amount field set to kit, the kit radio buttons on the canvas, and the paypal buttons
  1. Amount Type: Dynamic, with Select Amount Field set to Kit.
  2. The Kit field the amount comes from.
  3. The PayPal button that charges the selected kit’s price.

How Bit Form reads the amount field:

  • Radio Button: the value of the selected option, not its label. Give every option a plain number as its value, as in the table.
  • Number: the number in the field, typed by the visitor or calculated from other answers with Form Calculations, for example quantity times price. Use this for totals that depend on several answers.
  • Currency: the amount in the field. The currency chosen inside the Currency field is not used; the payment always uses this field’s Currency setting.
  • Currency symbols and thousands separators are removed, so $1,234.50 becomes 1234.50. Write decimals with a dot: a comma counts as a thousands separator, so 12,50 would become 1250.
  • Make the amount field Required. If it is empty when the visitor pays, PayPal uses the Fixed Amount instead, which is empty after you switch to Dynamic.

Note: Choose the Amount Type first and then enter the amount or field. After switching from Dynamic back to Fixed, enter the Amount again and test the form with a sandbox payment before going live.

Advanced settings

The Advanced tab sets the checkout language, the payment options PayPal offers, and shipping and tax:

Paypal field advanced tab with language, disable card set to paypal credit and venmo, shipping amount fixed with shipping cost 5, and tax amount type fixed with tax 8 percent
  1. Language
  2. Disable Card: PayPal Credit and Venmo
  3. Shipping Amount: Fixed, 5
  4. Tax Amount Type: Fixed, 8 percent

Language

The language of the PayPal buttons and checkout window. Type in the list to search by language or country. When nothing is selected, PayPal uses English (United States).

Disable Card

Payment options PayPal should not offer, even when they are available for the visitor’s country. The options are Credit or debit cards, PayPal Credit, Bancontact, BLIK, eps, giropay, iDEAL, Mercado Pago, MyBank, Przelewy24, SEPA-Lastschrift, Sofort and Venmo. For example, choose PayPal Credit and Venmo to offer only PayPal and cards, or Credit or debit cards to require a PayPal account.

Shipping Amount

A flat shipping cost added to the total. Fixed uses the Shipping Cost you enter, for example 5. Dynamic takes it from a Radio Button, Number or Currency field in Select Shipping Amount Field, for example a Delivery Speed radio with the values 5 (Standard) and 15 (Express).

Tax Amount Type

A tax percentage of the item amount, not a fixed sum. Fixed uses Tax (%), for example 8; Dynamic reads the percentage from a field selected in Select Amount Field.

PayPal shows the visitor the breakdown. With the Pro Kit, 5 USD shipping and 8% tax, the total is 59 + 5 + 4.72 (8% of 59) = 68.72 USD.

Button style

The look of the PayPal buttons is set in the form’s Style tab under Quick Tweaks: Layout (Vertical or Horizontal), Color (Gold, Blue, Silver, White or Black), Shape (Rectangle or Pill), Label (for example PayPal Checkout or PayPal Buy Now), Height and Max Width.

How payment works on the form

  • The visitor fills in the form and pays with the PayPal button. Bit Form first checks the form for errors.
  • After a successful payment, Bit Form submits the form automatically, so the form does not need a separate submit button.
  • The entry stores the payment’s transaction ID, and the payment details appear with the entry. Integrations and emails run after the payment.
  • For subscriptions, the entry stores the subscription ID.

Rules

  • One PayPal field per form. Different payment gateways can be used in the same form.
  • It cannot be placed inside a Repeater; it can be placed inside a Section.
  • Use the Conditional Logic tab to show the payment only when it applies; see Conditional Logic. Turning on Hidden hides the payment button.

Share this Doc

Easy Way To Setup PayPal Payment Integration in Bit Form

Or copy link

CONTENTS
Before you go
The #1 Affordable Form Plugin in the Industry

10,000+

Trusted Businesses

5 Star Rated

on WordPress.org
shield
No Risk: Get a “No-Questions-Asked” refund if Bit Form is not the right fit for your project.

Subscribe

×
Cancel