Skip to main content
Payments

Easy Way To Setup Stripe Payment Integration in Bit Form

Estimated reading: 5 minutes 15 views

Summary: Set up Stripe payments in Bit Form: connect your account, add the Stripe field, choose payment methods, currency and amount, layout, theme and address fields.

Another payment gateway plugin Stripe has been added to Bit Form. It allows Pre-authorized debit payments, Afterpay / Clearpay,  Alipay,  Bancontact,  Card payments,  Cash App Pay,  EPS,  giropay,  iDEAL,  Klarna,  Przelewy24,  SEPA Direct Debit,  Sofort,  ACH Direct Debit,  WeChat Pay.

The below instructions admins have to follow to set up their Stripe config with Bit Form.

Create Stripe Config

1. Navigate to the Bit Form dashboard. Then go to App Settings & click on Payments.

Easy way to setup stripe payment - go to bit form app settings

2. Click on Stripe.

Stripeeasy way to setup stripe payment - click on stripe

3. At first, set a suitable integration name on the Integration Name field

Stripeeasy way to setup stripe payment - set integration name

4. Admin has to create an application from the Stripe Developer site. For that click the Stripe Developer Dashboard.

Stripeeasy way to setup stripe payment - go to stripe dashboard

Info-icon-bit-apps  INFO

For demonstration purposes, we are performing the integration in test mode. To enable real-time transactions, you must switch to Live mode.

Stripeeasy way to setup stripe payment - api key

5. There are two types of apps – Test Mode and live mode. For the demonstration purpose, we have selected Test as an app. You have to select Live for the real-time transaction.

Stripeeasy way to setup stripe payment - test mode

6. Now, copy the Publishable key and Secret key & go back to the Bit Form Stripe settings page. Then paste the it on Publishable key and Secret key fields.

Stripeeasy way to setup stripe payment - pusblishable key and secret key
Stripeeasy way to setup stripe payment - paste pusblishable key and secret key in bit form

7. Complete the stripe config settings by clicking on the Save button.

Stripeeasy way to setup stripe payment - save config
Stripeeasy way to setup stripe payment - connected

Add Stripe to your form

  1. Open the form in the form builder.
  2. In Add Fields, open Payment Fields and click Stripe, or drag it onto the form above the submit button.
  3. If no Stripe account is set up yet, a Configure Stripe 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 Stripe Accounts.

Stripe field settings

In a product order form, the Stripe field charges a fixed 59 USD by card:

Stripe field basic tab with the stripe account, button text, pay button text, payment method type, currency and a fixed amount of 59, next to the stripe buttons
  1. Stripe Accounts: the Stripe account that receives the payment.
  2. Button Text: the button that opens the payment form. Pay Button Text: the button that confirms the payment.
  3. Payment Method Type (cards, Klarna, iDEAL, SEPA Direct Debit and more), Currency and the amount.
  4. The two buttons on the canvas.

Currency

The currency of the payment; the default is usd. The list shows only the currencies that all chosen payment methods support, so choose the Payment Method Type first.

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 Pay with Card 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 Stripe 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.

Stripe field with amount type set to dynamic and select amount field set to kit, the kit radio buttons with starter, pro and studio kits on the canvas, and the stripe buttons
  1. Amount Type: Dynamic, with Select Amount Field set to Kit.
  2. The Kit field the amount comes from.
  3. The Stripe 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.
  • If the amount field is empty when the visitor clicks the button, the field shows Amount field is required. Stripe also has a minimum amount per currency (for example 0.50 USD); the Amount Type tooltip links to Stripe’s list.

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

Stripe field advanced tab with language, layout, theme, description and the email and address settings
  1. Language of the payment form.
  2. Layout (payment methods as tabs or an accordion) and Theme (Stripe, Night, Flat and other looks).
  3. Description of the payment in your Stripe dashboard.
  4. Additional Settings: Email (prefill the payer’s email from a field) and Address (collect a billing address, or send a shipping address from your form’s address fields).
  5. The Stripe buttons on the canvas.

How payment works on the form

  • The visitor fills in the form and pays with the Stripe 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.

Rules

  • One Stripe 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 Stripe 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