Sample Payloads
Refer to the below sample payloads based on your use-case
Open the Hypercheckout Screen
Open Quickpay - Applicable only for App
Open Payment Management - Screen allowing users to delete stored payment methods
Open the Hypercheckout Screen with REQUIRED Mandate Flow
User can proceed with mandate enabled options only
isInitialised
Checks if current HyperSDK has been initialised. It should be used to check the HyperSDK instance state before calling process API.
UUID
Sample snippets to generate uuid-v4 string. Used in HyperSDK as [requestId]
Backpress control
Since HyperSDK is a fragment, we will need the back-press event from the current activity to trigger events required for hardware back press.
hyperServices.onBackPressed() should be called during activity’s onBackPressed(). If the result is true, HyperSDK will consume the hardware back press.
In case the merchant wants to control backpress, they can call hyperServices.onBackPressed only when the UI is shown and Juspay can handle backpress. They can ignore the boolean response.
If the passed activity is terminated in back press (super.onBackPressed or activity.finish), in this case hyper.onBackPressed returns true, which will cause HyperSDK ui to be removed.
Open the Hypercheckout Screen with OPTIONAL Mandate Flow
User can proceed with one-time or mandate transaction

