IntegrationsFluent Forms

How to Integrate PayLexer with Fluent Forms

Connect PayLexer to Fluent Forms to take one-time payments and subscriptions with any gateway you connect in PayLexer, using the PayLexer for Fluent Forms add-on.

Connect PayLexer to Fluent Forms to accept payments and subscriptions on your forms across multiple payment gateways.

Overview

Fluent Forms is a WordPress form builder with built-in payment support. PayLexer for Fluent Forms is PayLexer's own add-on for it. It adds every gateway you connect in PayLexer, such as Stripe, PayPal and more, to Fluent Forms' own Payment Method field, each as its own payment method next to the ones Fluent Forms already has.

Fluent Forms needs two PayLexer plugins: the PayLexer plugin, which connects your site to PayLexer, and the PayLexer for Fluent Forms add-on, which brings your gateways into your forms. The add-on never sees or stores gateway credentials.

Supported Features

  • One-time payments - Use Fluent Forms' own payment fields. The customer pays on the gateway's secure hosted page.
  • Subscriptions - Bill a form as a subscription, with a sign-up fee, a free trial and a number of payments. The gateway bills every renewal, and each one is recorded as it is charged.
  • One payment method per gateway - Each gateway you enable in PayLexer gets its own entry in the form's Payment Method field, with its own on/off switch and Test or Live mode.
  • Native Fluent Forms records - Payments show in Fluent Forms' own Transactions and entries screens. The form's emails, confirmation and integrations run once the payment is confirmed.
  • Refunds both ways - Refund a payment on the entry's page and the add-on sends the refund to the gateway through PayLexer. Full and partial refunds made in the gateway's dashboard or the PayLexer dashboard are recorded on the entry.
  • Cancel subscriptions from Fluent Forms - Cancel on the entry's page, or let customers cancel from your payment management page. The add-on cancels it at the gateway.
  • PayLexer Details on every entry - See the customer email, gateway, transaction ID and PayLexer order ID.
  • Multiple payment gateways and websites - Connect and manage several gateways and websites from one PayLexer account.

Before You Start

Make sure you have the following before starting:

  • Admin access to your WordPress site.
  • Fluent Forms 6.2.14 or later, installed and active. The free plugin is enough. You don't need Fluent Forms Pro. Download Fluent Forms →
  • The email address you want to use for PayLexer. If you don't have a PayLexer account yet, one is created for you while you connect.
  • A payment gateway account, such as Stripe or PayPal. If you're new to PayLexer, you configure it after connecting your website. Choose and configure a gateway →

Setup Journey

If you haven't configured PayLexer yet, follow these steps in order before continuing:

Getting Started

Complete the PayLexer setup. Setup guide →

Connect Your Website

Install the PayLexer plugin and select Connect Account. Connect your site →

Configure Payment Gateway

Choose and configure your gateway. Gateway docs →

Platform Integration

You're here! Continue below.

Test Transactions

Verify everything works. Test guide →

Integration Steps

Turn On the Fluent Forms Payment Module

  • Go to Fluent Forms → Global Settings → Payments.
  • Turn on the Payment Module if it isn't already on, then save.

Until the payment module is on, Fluent Forms has no Payment Method field and the PayLexer gateways can't appear on your forms.

Install the PayLexer WordPress Plugin

  • Go to WordPress Admin → Plugins → Add New Plugin.
  • Search for PayLexer, then click Install Now.
  • Click Activate to enable the plugin on your site.

Connect Your PayLexer Account

  • In the WordPress sidebar, go to PayLexer. The General page opens with the Connect to PayLexer card.
  • Click Connect Account and enter your email address. What happens next depends on your account:
    • New to PayLexer: your account is created and your website is connected.
    • Existing account: enter your password to sign in and connect.
    • Already signed in on this browser: you skip the password and go to the authorization page. Check the account and website, tick the terms checkbox, then click Connect Account and Authorize.

You only connect once. Every gateway you configure in PayLexer runs through this connection.

Prefer to start from PayLexer? Add your website from Websites → Add Website, then finish with Connect Account in the plugin. See both ways to connect →

Install the PayLexer for Fluent Forms Add-on

  • On the PayLexer General page, find PayLexer for Fluent Forms under Available Add-ons.
  • Click Install, then click Activate.

You can also install it from Plugins → Add New Plugin by searching for PayLexer for Fluent Forms.

Check the Connection

  • In WordPress, the card on the PayLexer General page changes to Connected to PayLexer with the status Active, and shows the email of your PayLexer account.
  • On the same page, Fluent Forms shows as Activated under Supported Integrations, and PayLexer for Fluent Forms shows as Activated under Available Add-ons.
  • In the PayLexer dashboard, go to Websites. Your website appears in the table with the status Connected.

On failure: Click Connect Account again and check the email and password you entered. Your website must show as Connected before payments can be processed.

Enable PayLexer Gateways in Fluent Forms

  • Go to Fluent Forms → Global Settings → Payments. Each PayLexer gateway has its own tab.
  • Open a gateway's tab and tick Enable [gateway] payments on forms.
  • Set Payment Mode to Test Mode or Live Mode.
  • Click Save Settings.

Until you save a gateway's tab for the first time, it is on and in Test Mode.

Switch Payment Mode to Live Mode before you take real payments.

Build the Payment Form

  • Go to Fluent Forms → All Forms, then edit the form you want to take payments on, or create a new one.
  • Add the fields that set the amount, from Payment Fields: for example a Payment Item, a Custom Payment Amount or a Subscription field.
  • Add an Email field for the customer.
  • Add the Payment Method field from Payment Fields.
  • Click Save Form.

The PayLexer gateways come with the Payment Method field. The next step shows how to choose them.

Choose the Payment Methods

  • In the form editor, click the Payment Method field.
  • In the field's settings, find the gateways listed under PayLexer, each named after the gateway, such as Stripe or PayPal.
  • Turn on the ones you want customers to choose from. You can rename each one with its Method Label.
  • Click Save Form.

Only the gateways you enabled in Fluent Forms → Global Settings → Payments are listed. You can mix them with Fluent Forms' own payment methods on the same form.

Set Up the Form's Payment Settings

  • In the form editor, go to Settings & Integrations → Payment Settings.
  • Set the Receipt Email field to your form's Email field. PayLexer needs it to tell the gateway who is paying.
  • Set up the payment items and currency as your form needs.
  • Click Save Settings.

If the form has no customer email, the payment can't start and the customer sees "This form has no customer email. Ask the site owner to set the Receipt Email field in the form's Payment Settings."

Publish and Test the Form

  • Add the form to a page or post with the Fluent Forms block or shortcode, then open it on the front end.
  • Fill in the form, choose a payment method and submit.

See Test Mode before taking real payments.

What Customers See

  1. The customer fills in your form and picks how to pay, for example Stripe or PayPal.
  2. They submit the form and see "Redirecting to the payment page. Please wait…", then land on that gateway's own secure payment page. Card and account details are entered there, never on your site.
  3. They return to your site and see your form's confirmation as soon as the payment goes through.

If the customer cancels on the payment page, they return to your form with the message "Looks like you have cancelled the payment. Please try again!" and the payment is marked Failed. If it goes through after all, it is marked Paid.

Selling Subscriptions

To bill a form as a subscription, add Fluent Forms' Subscription field to the form and set up the plan in the field's settings. The gateway charges the customer on each renewal date, PayLexer reports it, and the add-on records each charge on the entry.

The plan can include:

  • Recurring amount and billing interval - What is charged on each renewal, and how often.
  • Sign-up fee - An optional one-time fee charged with the first payment.
  • Free trial - Days before the first charge.
  • Number of payments - Leave it unlimited to bill until the subscription is cancelled.

Add one subscription plan per form. If a gateway can't bill subscriptions, can't run a free trial or can't charge a sign-up fee, the customer sees a message such as "This payment method cannot run a free trial. Please choose another." and can pick a different gateway.

Managing Subscriptions

  • Cancel from Fluent Forms: open the entry and cancel the subscription, or let customers cancel from your payment management page. The add-on cancels it at the gateway first, and records it in Fluent Forms only when that succeeds.
  • Changes made elsewhere: renewals, failed renewals, pauses, resumes and cancellations made at the gateway or in PayLexer update the entry. Each renewal is added as its own charge, and a cancelled subscription stays cancelled.

Customize Gateway Settings

Once a payment gateway is enabled, it appears in the form's Payment Method field with its name. Each gateway's tab in Fluent Forms → Global Settings → Payments has two settings:

  • Status - Tick Enable [gateway] payments on forms to offer the gateway on forms.
  • Payment Mode - Choose Test Mode to use the gateway's sandbox with your Test credentials, or Live Mode to process real payments with your Live credentials.

On each form, Method Label in the Payment Method field renames the gateway for that form.

Entries and Refunds

Payment Status

Payments appear in Fluent Forms' Transactions and entries screens with Fluent Forms' own statuses. A payment is marked:

  • Paid when the payment is confirmed, either by PayLexer's verified webhook or by the status check when the customer returns from the gateway.
  • Failed when the customer cancels or the gateway reports a failure. A later successful payment still moves it to Paid.
  • Refunded or Partially refunded when money is returned.

A Paid or Refunded payment never moves back to an earlier status.

The form's emails, confirmation message and integrations run once the payment is confirmed, so nothing goes out for an unpaid submission.

PayLexer Details

Every entry paid through PayLexer has a PayLexer Details box with the customer email, the gateway, the transaction ID and the PayLexer order ID, each with a link.

Refunds

  • From Fluent Forms: refund a payment on the entry's page. Fluent Forms records the refund, and the add-on sends it to the gateway through PayLexer. A note on the entry says "Refund sent to PayLexer".
  • From the gateway or PayLexer: full and partial refunds made in the gateway's dashboard or the PayLexer dashboard are recorded on the entry as refunds, and the payment status updates to match. A refund voided at the gateway is removed again.

If PayLexer refuses a refund you made in Fluent Forms, Fluent Forms still shows it as refunded, but no money was returned. A note on the entry says "PayLexer refused the refund", with the reason. Refund it in PayLexer or at the gateway instead. Don't refund it again in Fluent Forms.

Test Mode

PayLexer supports full testing without real charges through each gateway's Payment Mode setting.

How Test Mode Works

  1. Add the gateway's Test credentials in PayLexer Dashboard → Payment Gateways → [Gateway Name].
  2. Go to Fluent Forms → Global Settings → Payments, open the gateway's tab and set Payment Mode to Test Mode.
  3. Click Save Settings.
  4. Submit the form with the gateway's test card or sandbox account and check that the payment is marked Paid.

When Payment Mode is Test Mode:

  • PayLexer uses your Test credentials from PayLexer Dashboard → Payment Gateways → [Gateway Name].
  • Fluent Forms entries are created normally.
  • Payments are processed in test mode, so no real money moves.

When Payment Mode is Live Mode, PayLexer uses your Live credentials instead.

Test mode only works if you added the gateway's test (sandbox) keys in PayLexer.

Payment Flow Overview

A new PayLexer order is created for every payment attempt, including each subscription renewal.

Next Steps: Test Transactions

After setting up your form, check the full payment flow before going live.

Troubleshooting

Best Practices

  • Always test with Test credentials before switching to Live.
  • Enable webhooks for better reliability and real-time payment event syncing.
  • Set the Receipt Email on every payment form.
  • Run one small real payment after going live to confirm everything works end to end.
  • Before removing the add-on, cancel active subscriptions. They keep billing at the gateway, but Fluent Forms can't record the renewals while the add-on is off.

Final Checklist

Before going live, confirm all of the following:

  • The Connected to PayLexer card shows Active in WordPress
  • Your website shows as Connected in the PayLexer Websites table
  • Fluent Forms shows as Activated under Supported Integrations
  • PayLexer for Fluent Forms shows as Activated under Available Add-ons
  • At least one gateway is added to your website
  • Fluent Forms' payment module is on, and at least one PayLexer gateway is enabled under Global Settings → Payments
  • The form has a Payment Method field with the PayLexer gateways turned on, and a Receipt Email set
  • Payment gateway tested successfully with Payment Mode set to Test Mode
  • Live credentials added (not just test)
  • Payment Mode set to Live Mode for every gateway you offer

FAQs

Still Have Questions?

Check the FAQs above first. If your question isn't covered there, choose the option that fits:

For settings and advanced configuration, see the Fluent Forms documentation.