Skip to content

Render thank you page

Render the Qliro thank you page after the customer submits the order.

Overview

When an order is Completed or OnHold, Qliro redirects the customer to your MerchantConfirmationUrl. The thank you page renders there.

After the redirect, send a new GetOrder request. It returns the updated order information and the CustomerCheckoutStatus.

If the CustomerCheckoutStatus is Completed or OnHold, the response has a non-empty OrderItems array. This list is the correct list of items the customer paid for. Use it, and update your order to match.

Render Thank You Page

How-to

  1. Receive the checkout status notification (NotificationType is CustomerCheckoutStatus) with status Completed or OnHold.
  2. Send the get order request.
  3. Read the HTML snippet from the get order response.
  4. Render the modular thank you page on the MerchantConfirmationUrl you set in the create order request.

Render Thank You Page Flow

Good to know

  • The thank you page consists of modules. You can exclude some of them. See Customization.
  • The header module can show the merchant reference of the completed order on request. To set this up, contact Integration@qliro.com.
  • When purchase processing completes, the checkout sets the order status to Completed or OnHold. At the same time, it redirects the customer to the MerchantConfirmationUrl.