Skip to content

Thank you page

Overview

When the customer submits the order, the checkout redirects them to a confirmation page. The HTML snippet that renders the checkout can also display a pre-designed thank you page.

The thank you page iframe is built from modules. You can enable or disable the optional modules.

Mandatory modules

  • Sub header: shown if the header is hidden.
  • Link: where and how the customer can pay for the purchase. Qliro.com, Qliro App.
  • Payment method: the chosen payment method.
  • Footer: the Qliro logo.

Optional modules

  • Header (HEADER)
  • Total price (TOTAL_PRICE)
  • Contact details (CUSTOMER_DETAILS)
  • Delivery method (SHIPPING_METHOD)

How to

excludeResultModules()

Use excludeResultModules() to hide optional modules on the thank you page.

ParameterTypeDescriptionRequired
modulesArrayAn array of strings with the modules to exclude. See the result modules table below.required

Result modules

NameDescription
HEADERHeader saying "Thank you for your purchase".
TOTAL_PRICETotal price and order summary.
CUSTOMER_DETAILSCustomer contact details and the address used in the purchase.
SHIPPING_METHODThe selected shipping method. Shown only if the checkout handled the shipping.

Implementation example

q1.excludeResultModules(['HEADER', 'TOTAL_PRICE', 'CUSTOMER_DETAILS'])

Merchant reference in header module

The header module can show the merchant reference of the completed order. It reads "Your ordernumber is [MerchantReference]".

To enable this, contact Integration@qliro.com.