Self-service checkout with Hakuna Redirect
Last updated
Last updated
With this solution, you can give your customers the opportunity to purchase product protection for all protectable products in their orders by redirecting them to individual Hakuna-hosted Redirect checkouts from the order confirmation page, emails, apps, etc.
When an order is placed in your system, you will need to publish an order placement event so that we can match all unprotected products in the order with protection plans. To do this, you can use our Events API, our Shopify app or share them via CSV. Please refer to the linked guides to find out more information about the individual requirements for each option.
Keep in mind that if you decide to share order placements via CSV, you will not be able to request checkouts for orders in real-time.
To find out which products have protection plans available and to get information about them, call our checkouts endpoint and pass us the order ID in an HTTP GET request, specifying the checkout type, which in this case would be Redirect. GET /checkouts?order_id=order-123&checkout_type=redirect
The response contains a checkout link which is uniquely generated for each order.
If a line item is not listed in the response, then there is no plan available for that product. If there are no plans available for any of the products in the order, then you will get a 404 error response.
Use the information to build a CTA wherever you want to offer product protection to your customers (e.g. the order confirmation page, emails, apps, etc.).