IntegrationsWP Travel Engine
Integrations

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.

WP Travel Engine is a WordPress plugin for tour operators, travel agencies, and activity providers. It enables you to 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 - Stripe, AmwalPay, and more.

Supported Features

  • One-time payments - Accept full payment for a booking in a single transaction.

  • Partial payments – Allow customers to 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 – Safely test payments without real charges before going live.

  • Live payments – Process real transactions securely once setup is verified.

Before You Start

Prerequisites

Make sure you have the following before starting:

Setup Journey

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

Getting Started

Complete the PayLexer setup. Setup guide →

Configure Payment Gateway

Choose and configure your gateway. Gateway docs →

Add Your Website

Register your site in PayLexer. Add your site →

Platform Integration

You're here! Continue below.

Test Transactions

Verify everything works. Test guide →

Integration Steps

Choose WordPress as the Platform

In the Add Website flow inside PayLexer:

  • Select WordPress as the platform.

  • Download the PayLexer WordPress plugin (.zip file).

  • Copy the credentials generated by PayLexer:

    • Client ID

    • Site Key

Install the PayLexer WordPress Plugin

  • Go to WordPress Admin → Plugins → Add Plugin.

Install the PayLexer WordPress Plugin

  • Click Upload Plugin, choose the .zip file you downloaded, then click Install Now.
  • Click Activate to enable the plugin on your site.

Connect WordPress to PayLexer

  • Go to Settings → PayLexer in your WordPress admin.
  • Paste the Client ID and Site Key copied from PayLexer.

  • Click Save Changes.

This establishes the secure connection between WP Travel Engine and PayLexer.

Test the Connection

  • Back in PayLexer, return to the Add Website flow.

  • Click Test Connection.

Success: Your website shows as Connected.

On failure: Double-check the Website URL and the credentials pasted in WordPress. 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.

PayLexer will now handle payment processing for WP Travel Engine bookings.

Test Mode & Debug Mode

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

How Test Mode Works

  1. Go to WP Travel Engine → Settings → Payments → General.

  2. Turn ON Debug Mode.

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, validate 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:

  • Payment gateway tested successfully in Debug Mode

  • At least one payment method enabled in WP Travel Engine

  • Website status shows Active in PayLexer

  • WP Travel Engine payment method set to PayLexer

  • Live credentials added (not just test)

  • Debug Mode disabled in WP Travel Engine

FAQs

Still Have Questions?

For settings and advanced configuration, see the WP Travel Engine documentation.