Creating Redirect Links

Redirect your customers to individual checkouts hosted by Hakuna

By giving us some product and transaction data as URL parameters, you can redirect your customers from any of your communication channels to individual checkouts hosted by Hakuna, where they can purchase product protection after purchase: Hakuna Redirect.

Example Checkout

There is no technical integration required and it can be integrated into any of your processes (e.g. customer support, email campaigns, consultation, etc.). All you need to do is decide where to place the generated redirect link in your customer communications.

Data Preparation

To create a Redirect Link, you need product and transaction data as well as parameters provided by Hakuna (Hakuna category, public key “pk”). Make sure that you have the following data at the time of link creation:

interface URLParameters {
    order_id: string // the identifier of the order or transaction in your system
    product_purchase_date: number; // date and time at which the protectable product was purchased, in epoch time, in seconds
    product_id: string; // the product ID used in your system
    product_brand: string; // the product brand
    product_title: string; // the product title
    product_category: number; // the associated Hakuna product category
    product_price: number;  // your product price in cents
    country: 'de' | 'at'; // the country the product was sold to, taken from the order/transaction billing address in your system, provided as a two-letter country code (ISO 3166-1 alpha-2 format) in lowercase
    pk: string // your public key for authentication, provided by Hakuna
    fulfillment_date?: number; // date and time at which the protectable product was fulfilled (typically shipped), in epoch time, in seconds, optional
}

If the product order has already been completed, provide the order_id and product_purchase_date from the order. Otherwise, you can specify any value for the order_id, and use the time of link creation as the product_purchase_date.

The fulfillment_date is optional and should only be specified if the product has already been delivered.

Add the parameters to the following link and share it with your customers, e.g. in an email:

https://protection-widget.hellohakuna.com/checkout?pk={pk}&order_id={order_id}&product_id={product_id}&product_purchase_date={product_purchase_date}&product_brand={product_brand}&product_title={product_title}&product_category={product_category}&product_price={product_price}&country={country}

Please note that a Redirect link is bound to a single product within a transaction (with a quantity of one or more), so in case of an order with multiple products you must create a separate Redirect link for each product.

Hakuna can provide a web-based URL Builder where you can conveniently enter the parameters to obtain a link. You can access it through Account Management.

When using the link, the customer is redirected to checkout, where they are presented with the appropriate product protection and can enter their payment information to purchase protection for their product. Once this is complete, we send the customer an email confirming their purchase.

If parameters are invalid, the customer is redirected to an error page.

Configure Checkout Design

By default, we use Hakuna branding for checkouts. If you would like us to customize the checkout design to match your branding, please provide us with a URL to your logo and hex color codes for the following components:

  • Primary color for headings and CTAs

  • Secondary color for background components

  • Text color

Last updated