IntegrationsWP Travel Engine

How to Integrate PayLexer with WP Travel Engine

Connect PayLexer to WP Travel Engine to accept full and partial payments for tour bookings across multiple payment gateways.

Overview

WP Travel Engine is a WordPress plugin for tour operators, travel agencies and activity providers. It lets you manage bookings, itineraries and trip packages directly from your WordPress site. PayLexer integrates with WP Travel Engine to handle secure payment processing across multiple gateways, such as Stripe, AmwalPay and more.

Supported Features

  • One-time payments - Accept full payment for a booking in a single transaction.
  • Partial payments - Let customers pay a deposit upfront and settle the balance later.
  • Multiple payment gateways and websites - Connect and manage several gateways and websites from one PayLexer account.
  • Test mode via Debug Mode - Test payments safely without real charges before going live.
  • Live payments - Process real transactions securely once setup is verified.

Before You Start

Make sure you have the following before starting:

  • Admin access to your WordPress site.
  • WP Travel Engine installed and active. Download WP Travel Engine →
  • 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 AmwalPay. 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

You no longer add your website in PayLexer first or copy a Client ID and Site Key. The Connect Account button in the PayLexer plugin creates or signs in to your PayLexer account and adds your website automatically.

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.
WordPress Add Plugins page with the PayLexer plugin in the search results
WordPress Add Plugins page with the PayLexer plugin in the search results

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, then click Connect Account and Authorize.
PayLexer General page in WordPress showing the Connect to PayLexer card and Connect Account button
PayLexer General page in WordPress showing the Connect to PayLexer card and Connect Account button

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 →

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, WP Travel Engine shows as Activated under Supported Integrations.
Connected to PayLexer card in WordPress showing Active status and the connected account email
Connected to PayLexer card in WordPress showing Active status and the connected account email
  • In the PayLexer dashboard, go to Websites. Your website appears in the table with the status Connected.
PayLexer Websites table showing the WordPress site with Connected status
PayLexer Websites table showing the WordPress site with Connected status

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 WP Travel Engine

  • Go to WP Travel Engine → Settings → Payments → General.
  • Check the payment gateways you want to enable at checkout.
  • Click Save Settings.
WP Travel Engine Payments General settings with PayLexer gateways checked
WP Travel Engine Payments General settings with PayLexer gateways checked

PayLexer now handles payment processing for your WP Travel Engine bookings.

Customize Gateway Settings

Once a payment gateway is enabled, you can change how it appears to your customers at checkout. This works for every payment gateway. The steps below use Paddle as an example.

This is useful when you want to show a friendlier name to your customers. For example:

  • Show "Credit Card" instead of "Paddle" or "Stripe", since most customers don't know the gateway name.
  • Translate the label for your audience, such as "Tarjeta de crédito" for Spanish or "Carte bancaire" for French.

Go to WP Travel Engine → Settings → Payments and click the tab for the gateway you want to update, for example Paddle. Each connected gateway has its own tab.

WP Travel Engine Payments settings showing the Paddle gateway tab and Title field
WP Travel Engine Payments settings showing the Paddle gateway tab and Title field

You can update the following field:

Title - The name customers see when they choose a payment method at checkout. By default this is the gateway name, for example "Paddle". Change it to something your customers will recognize, like "Credit Card" or "Online Payment".

Click Save Settings to apply.

Test Mode & Debug Mode

PayLexer supports full testing without real charges through WP Travel Engine's Debug Mode.

How Test Mode Works

  1. Go to WP Travel Engine → Settings → Payments → General.
  2. Turn ON Debug Mode.
WP Travel Engine Payments General settings with Debug Mode turned on
WP Travel Engine Payments General settings with Debug Mode turned on

When Debug Mode is ON:

  • PayLexer uses your Test credentials from the Payment Gateway Configuration page.
  • WP Travel Engine bookings are created normally.
  • Payments are processed in test mode.

When Debug Mode is OFF, PayLexer uses your Live credentials instead.

Payment Flow Overview

A new PayLexer order is created for every payment attempt, including partial payments.

Next Steps: Test Transactions

After enabling gateways, check the full payment flow before going live.

  • Basic testing: Use WP Travel Engine's Debug Mode above to create bookings without real charges.
  • Advanced testing (partial payments, refunds, multi-gateway): Follow the dedicated guide. Test Transactions & Platform Integration →

Troubleshooting

Best Practices

  • Always test with Test credentials before switching to Live.
  • Enable webhooks for better reliability and real-time payment event syncing.
  • Run one small real payment after going live to confirm everything works end to end.

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
  • WP Travel Engine shows as Activated under Supported Integrations
  • At least one gateway is added to your website
  • At least one PayLexer gateway is enabled in WP Travel Engine
  • Payment gateway tested successfully in Debug Mode
  • Live credentials added (not just test)
  • Debug Mode disabled in WP Travel Engine

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 WP Travel Engine documentation.