Back

How to append parameters to your payment page’s URL?

You can map the pre-filled information of your customers to the parameters and add them to your payment page’s URL.

Prerequisite: Go to Settings and select Templates. Click Edit and enable all the required Account Information Fields under Customer Information to accurately map and append your parameters.

  • As a first step, add a "question mark (?)" at the end of the URL before you start appending the parameters.

    • For example, If your payment page’s URL is:

      `https://zohosecurepay.com/checkout/f3v5bfp-3gnoar7l3eb1m/Share-a-Smile`
      
    • Add a question mark at the end of the URL:

      `https://zohosecurepay.com/checkout/f3v5bfp-3gnoar7l3eb1m/Share-a-Smile?`
      
  • Once you’ve added the question mark at the end, you can start appending parameters by following this format in the payment page’s URL: “parameter placeholder=parameter value".

  • Associate each parameter placeholder with a value to avoid loading errors.

    • For example, if you want to append the parameter for your customer’s first name, use first_name as a placeholder, and your URL will look like this:

      (Let’s assume your customer’s name is Maria)

       `https://zohosecurepay.com/checkout/f3v5bfp-3gnoar7l3eb1m/Share-a-Smile?first_name=Maria`
      

The special characters or blank spaces entered by your customers will be converted to a URL-friendly format.

  • For example, If your customer’s billing address is “Southern California”, after encoding it, it would be “Southern%20California”.

    Here’s how that would look in the payment page’s URL:

    https://zohosecurepay.com/checkout/f3v5bfp-3gnoar7l3eb1m/Share-a-Smile?billing_city=Southern%20California


After you’ve constructed your payment page’s URL with the appended parameters, you can use it to direct your users to the hosted payment page with all the pre-filled data.