Skip to main content
Can I Pre-fill Checkout Parameters?

Configuring your checkout with query parameters. Streamline and personalise the checkout experience for our customers.

Tess avatar
Written by Tess
Updated yesterday

Supported Parameters

By using query parameters, you can predetermine the value of specific fields in the checkout process, resulting in customised links that reduce input errors and improve efficiency.

We currently support the following parameters along with their respective keys:

  • Invoice Reference: i

  • Matter Reference: m

  • Custom Reference: c

  • Amount: a

Example

Let's walk through an example to illustrate how to use query parameters:

Suppose you want to create a customised checkout link with an invoice reference of "LGL0023" and an amount of £1042.50. Here's how you can construct the URL:

  • Base URL: Start with your base URL, which leads to your checkout page. For example: https: //lawfirm.legl.com/pay/checkout

  • Question Mark (?): Add a question mark (?) after the base URL to indicate that you will be adding parameters. Example: https: //lawfirm.legl.com/pay/checkout?

  • Parameter Key: Add your first parameter key. For invoice reference, use the key 'i'. Example: https: //lawfirm.legl.com/pay/checkout?i=

  • Parameter Value: Follow the parameter key with an equals sign (=) and then the corresponding value. If your invoice reference is LGL0023, your URL would now look like: https: //lawfirm.legl.com/pay/checkout?i=LGL0023

  • Additional Parameters: To add more parameters, use the ampersand (&) symbol. For example, to include an amount of £1042.50, use 'a' as the key. Your final URL will be: https: //lawfirm.legl.com/pay/checkout?i=LGL0023&a=1042.50

  • By using this URL, your clients will land on a checkout page with the invoice reference (LGL0023) and payment amount (£1042.50) fields pre-populated and locked.

When a parameter is used, the corresponding input field will be locked in a read-only mode, preventing any edits. Each parameter operates independently, allowing for flexible use according to specific requirements.

Implementation

This enhanced functionality is readily accessible to all our clients and requires no additional setup. If you’re already setup on Legl Pay, you can start using query parameters to customise your checkout links and provide a seamless payment experience for your clients.

If you have any further questions or need assistance, please reach out to your Customer Success Manager or the Legl Support Team ([email protected]). We're here to help!

Example Uses

Our custom checkout feature offers law firms a versatile tool to enhance their checkout process. Here are some examples of where you might want to utilise this feature:

1. Pre-filled Client Information

When sending payment links to clients, you can include query parameters to pre-fill client information fields. This can save time for both your firm and the client, ensuring that essential details are already provided, such as the invoice reference, matter reference, or custom reference. By customising the checkout experience, you can create a seamless payment process that minimises errors and enhances customer satisfaction.

2. Integrations with Third-Party Systems

This will allow you to send customised links to clients via your billing system without the need of using a technical resource. Query parameters in a custom checkout can serve as a bridge to exchange data seamlessly. By including relevant parameters in the checkout URLs, you can pass essential information between systems, such as client IDs, matter numbers, or specific payment details. This integration simplifies your workflow and eliminates the need for manual data entry or multiple data sources.

Remember, the above examples are just a few illustrations of the possibilities with configuring checkout using query parameters. The feature can be adapted to suit various law firm requirements and payment use cases, providing a seamless and efficient experience for both you and your clients.

For further assistance, please contact us at [email protected].

Did this answer your question?