PayLexer for Fluent Forms

Description

Use any gateway you’ve connected in PayLexer to take payments on your Fluent Forms forms: Stripe, PayPal, Paystack, Flutterwave, Mollie, Dodo Payments and more.

A “payment gateway” is the service that takes the customer’s money, like Stripe or PayPal. You connect your gateways once in PayLexer, and this add-on lets customers choose between them on your forms.

What the customer sees

  1. The customer fills in your form and picks how to pay, for example “Stripe” or “PayPal”.
  2. They submit the form and pay on that gateway’s own secure payment page or payment window.
  3. They come back to your site and see your form’s confirmation message as soon as the payment goes through.

Features

  • One payment method per gateway. Each PayLexer gateway appears in Fluent Forms’ own Payment Method field, next to the methods Fluent Forms already has. Gateways that don’t accept the form’s currency, or that are paused in PayLexer, are left out.
  • Fluent Forms does the rest. Payments show in Fluent Forms’ own Transactions and entries screens, and the form’s emails, confirmation and integrations run once the payment is confirmed.
  • Nothing goes out before the payment. Emails and integrations wait until the payment goes through.
  • One-time payments and subscriptions. Use Fluent Forms’ own payment and subscription fields: monthly or other plans, a sign-up fee, a free trial and a number of payments. One-time items on a subscription form are charged with the first payment. Each renewal is recorded as it is charged.
  • Cancel subscriptions from Fluent Forms. Cancel on the entry’s page, or let customers cancel from Fluent Forms’ payment management page, and the add-on cancels it at the gateway.
  • Entries update themselves. Each payment is marked Paid, Failed, Partially Refunded or Refunded, and each subscription Trialling, Active, Failing or Cancelled, as it happens.
  • 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 or your PayLexer dashboard are recorded on the entry too.
  • Payment details on every PayLexer entry. The entry shows a “PayLexer Details” box with the customer email, the gateway, the transaction ID and the PayLexer order ID, each with a link.
  • Choose your gateways. Under Fluent Forms Global Settings Payments, each PayLexer gateway has its own tab: switch it on or off and set it to Test or Live. Test mode makes practice payments with no real money.

What you need

This plugin is an add-on. It works together with two other plugins, which WordPress asks you to install and activate first:

  1. Fluent Forms version 6.2.14 or later, with its Payment module turned on. Fluent Forms Pro is not needed.
  2. PayLexer version 2.1.2 or later, connected to your PayLexer account, with at least one gateway turned on.

If either one is older than that, the add-on shows a message in your WordPress admin with an Update button, and adds nothing to your forms until it is updated.

This add-on never sees or stores your gateway passwords or API keys. Those stay in your PayLexer account.

Documentation | Supported Payment Gateways | Support

External services

This plugin does not connect to any outside service on its own. It passes payments, subscriptions, refunds, cancellations and payment status checks to the PayLexer plugin. PayLexer sends them to the PayLexer service (https://paylexer.com/), and from there to the payment gateway the customer chose.

The add-on sends this data through PayLexer:

  • When a customer submits a form with a payment: the amount and currency, the form title and ID, the Fluent Forms entry number, the gateway chosen and whether it is in test or live mode, the customer’s email, name and address, your site’s addresses to return the customer to after paying or cancelling, and a link to the entry in your WordPress admin.
  • When a customer starts a subscription: the same details, plus the product and plan name, the recurring amount, how often it renews, any free trial, the number of payments, and the amount charged with the first payment (a sign-up fee and any one-time items).
  • When a customer returns from the payment page: the PayLexer order or subscription reference, to check whether the payment went through.
  • When a customer leaves a subscription checkout without paying: the PayLexer subscription reference, to cancel it.
  • When you refund a payment in Fluent Forms: the PayLexer order reference, the amount and the reason “Refunded in Fluent Forms”.
  • When you or a customer cancel a subscription in Fluent Forms: the PayLexer subscription reference.

Each gateway decides which of these details it uses. Some gateways only use the email address and ask the customer to enter their name and address again on their payment page.

PayLexer also sends messages back to your site (called webhooks) when a payment, renewal, refund or cancellation happens, so the add-on can update the entry.

Your use of the PayLexer service falls under the PayLexer Terms of Service and Privacy Policy. Each payment gateway’s own terms and privacy policy apply as well.

Screenshots

Installation

  1. Install and activate Fluent Forms 6.2.14 or later, and turn on its Payment module under Fluent Forms Global Settings Payments.
  2. Install and activate PayLexer 2.1.2 or later. Connect your PayLexer account and turn on at least one gateway.
  3. Go to Plugins Add New, search for “PayLexer for Fluent Forms”, then install and activate it. You can also upload the ZIP file there.
  4. Go to Fluent Forms Global Settings Payments. Each PayLexer gateway has its own tab: switch it on or off and set it to Test or Live. Until you save a gateway’s tab, that gateway is on, in Test mode.
  5. Edit a form. Add your payment items and the Payment Method field, and turn on the PayLexer gateways you want. In the form’s Payment Settings, set the Receipt Email field.
  6. To confirm everything is connected, go to PayLexer General. Under Supported Integrations, Fluent Forms should show as “Activated”.

Using test mode: Test mode only works if you have added the gateway’s test (sandbox) keys in PayLexer. Submit the form with a gateway’s test card to check that the entry is marked Paid, then set that gateway to Live in its tab under Fluent Forms Global Settings Payments.

FAQ

Do I need Fluent Forms Pro?

No. This add-on uses the payment features in the free Fluent Forms plugin, including its payment management page where customers can cancel their subscriptions.

Which gateways can I use?

Any gateway connected in your PayLexer account, as long as it accepts the form’s currency. See the list of supported gateways.

A gateway doesn’t appear on my form. Why?

Check these things:

  1. The gateway is turned on in PayLexer, and not paused.
  2. The gateway’s tab under Fluent Forms Global Settings Payments is switched on, and the gateway is turned on in the form’s Payment Method field.
  3. The gateway accepts the form’s currency.
  4. Fluent Forms’ Payment module is turned on.

Are subscriptions supported?

Yes, one subscription plan per form. If the customer picks a gateway that can’t take subscriptions, run a free trial, or charge a sign-up fee or one-time items with the subscription, the form shows a message asking them to choose another payment method.

When is an entry marked Paid?

As soon as the payment is confirmed. That happens either when PayLexer notifies your site, or when the customer returns from the payment page and the add-on checks the payment with PayLexer, whichever comes first. With a free trial, a sign-up fee or one-time items are charged with the first payment after the trial, so the entry is marked Paid then.

When are emails sent?

The form’s emails, confirmation and integrations run once the payment is confirmed, not when the form is submitted. If the customer never pays, they don’t run.

What if the customer cancels on the payment page?

They come back to your site with a message saying the payment was not completed, and can submit the form again. The entry is marked Failed. If the payment goes through after all, the entry is marked Paid.

Can I refund from Fluent Forms?

Yes, full or partial, on the entry’s page. The add-on sends the refund to the gateway through PayLexer. If the gateway refuses it, the entry still shows the refund and its activity log says no money was returned. Refund it in PayLexer or at the gateway instead.

Why does the form say “This form has no customer email”?

Set the Receipt Email field in the form’s Payment Settings. PayLexer needs the customer’s email for every payment.

Does this plugin store card details or gateway keys?

No. Customers enter their card or account details on the gateway’s own payment page, not on your site. Your gateway keys stay in your PayLexer account. The add-on only saves the PayLexer order and subscription references on each entry.

What happens to subscriptions if I turn off this add-on?

Subscriptions keep billing at the gateway even when the add-on is off. While it’s off, Fluent Forms can’t record those renewals. If you plan to remove the add-on, cancel active subscriptions first.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“PayLexer for Fluent Forms” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • First release.
  • Adds every gateway connected in PayLexer as its own payment method in Fluent Forms.
  • Takes one-time payments and subscriptions on the gateway’s own payment page or payment window.
  • Holds emails and integrations until the payment is confirmed.
  • Sends refunds and subscription cancellations made in Fluent Forms to the gateway, and records payments, renewals, cancellations and refunds made in the gateway or PayLexer dashboard on the entry.