Links
🌐

Web

Integrate unified checkout with your web app
In this section, you will get an overview of the Hyperswitch Unified Checkout for your Web App

Global Checkout Experience

Hyperswitch Unified Checkout is an inclusive, consistent and blended payment experience optimized for the best conversion rates.
Inclusive A variety of global payment methods including cards, buy now pay later and digital wallets are supported by the Unified Checkout, with adaptation to local preferences and ability to local language customization.
Consistent With a diverse set of payment methods supported, the Unified Checkout provides a singular consistent payment experience across platforms (web, android and ios) powered by smart payment forms, minimal redirections and intelligent retries.
Blended The Unified Checkout includes 40+ styling APIs, which could be tweaked to make the payment experience blend with your product. Your users will get a fully native and embedded payment experience within your app or website

Modify and Experiment

While the Unified Checkout is pre-optimized for maximum conversions, Hyperswitch does not restrict you to stick to a one-size-fits-all approach. Using Hyperswitch SDK APIs, you get complete control over modifying the payment experience by,

Optimize

You can further optimize Unified Checkout web SDK by preloading all the resources that are needed by the iframe. By the time iframe is to be mounted (checkout button), everything that is required can be fetched from their server and stored in the disk cache.
  • <Elements/> wrapper has to be used in the top-level of the merchants app , say web app has two pages eg: homepage and checkout page, the wrapper must be added in the homepage itself.
  • <Elements/> has the required props to load our Hyperloader (script) which will
    1. 1.
      Preload the all the resources that are required by the SDK ie. files, svgs, icons, css, fonts etc.
    2. 2.
      Prefetch the two main API calls and is ready with response
This will significantly decrease the SDK load time from ~10-15s (in slow 3G network) to just ~1-5ms.
Last modified 18d ago