Skip to content

Upsell

Offer additional products on the thank you page.

Overview

With Upsell, customers can add items to their order from the Thank You page after checkout is complete. The customer does not need to go through the checkout flow again.

If an order is eligible for upsell, you can add items to its existing list of OrderItems by sending an Upsell request.

How-to

1. Check eligibility

Send a GET request to checkout/merchantapi/orders/{OrderId} to find out if the order is eligible for Upsell.

2. Send upsell request

Send a POST request to checkout/merchantapi/upsell. To enable Upsell with payment methods that require an UpsellLink, you must send an UpsellId.

3. Read the response

The response has one of two outcomes:

For the request and response parameters and the error codes, see the API Reference.

Upsell

Direct transaction

A direct transaction happens when Qliro can process the upsell amount without more customer interaction or authentication. The upsell request then returns a PaymentTransactionId immediately.

Qliro Buy Now Pay Later payment methods and Credit Card payments support this flow.

Upsell Direct

UpsellStatus push

Qliro sends the upsell outcome as an UpsellStatus push to the configured MerchantCheckoutStatusPushUrl. The push has Status = "Success" or Status = "Error".

The merchant checkout must stay locked until Qliro has sent the status.

Sometimes the upsell cannot complete as a direct transaction within the existing purchase session. The response then includes an UpsellLink property. Redirect the customer to this link.

Reasons include, but are not limited to:

  • Payment method requirements. Some payment methods require the customer to confirm the payment through an external flow. Examples are Swish, Vipps, Apple Pay, MobilePay, Trustly, PayPal and similar methods.
  • Strong Customer Authentication (SCA). Qliro may return an UpsellLink when SCA is required, even for payment methods that normally support direct transactions.
  • Compliance and regulatory reasons. Some transactions must go through a separate, customer-authenticated flow to meet compliance or security requirements.

Upsell Link

UpsellStatus push

In the Upsell Link flow, Qliro also sends the upsell outcome as an UpsellStatus push to the configured MerchantCheckoutStatusPushUrl.

  • Successful completion. If the customer completes the upsell purchase through the UpsellLink, Qliro immediately sends an UpsellStatus push with Status = "Success".
  • Error transaction. Qliro does NOT send an UpsellStatus error push on every error transaction that happens within the Upsell Expiration time.
  • Session expiration. The EligibleForUpsellUntil timestamp defines when the session expires. If the customer does not complete the upsell before then, Qliro sends an UpsellStatus push with Status = "Error".
  • Pending transactions after expiration. If payment transactions are still in process after the upsell session expires, Qliro waits until they are finalized.

Good to know

  • After you offer an upsell to the customer, follow its status through the UpsellStatus push. See Notifications.
  • Keep track of the payment transaction IDs associated with the order. When you manage the order, always refer to the corresponding transaction ID.
  • Upsell is designed to work with a recommendation engine implementation. If you do not have a recommendation engine, Qliro has partners who can supply one. Contact your onboarding or merchant support agent for more information.