Widgets
Integrate Hyperswitch SDK using individual payment widgets for granular control over your payment flow.

Requirements
Android 6.0 (API level 23) and above
Gradle 8.8+
1. Setup the server
Follow the Server Setup section.
2. Build checkout page on your app
2.1 Add the Buildscript Classpath
To start integrating the Hyperswitch SDK, add the following classpath to the buildscript block of your project-level build.gradle file:
2.1 Add the Buildscript Classpath
Add the following plugin to the plugins block of your app-level build.gradle file:
2.3 Implement the HyperInterface
Next, implement the HyperInterface in your Activity. This involves extending FragmentActivity and implementing the HyperInterface:
2.5 Initialize Payment Configuration
Set up the SDK using your publishable key:
3. Implementation
Choose from list of available widgets to integrate:
Final Step
Congratulations! You have successfully integrated Hyperswitch widgets into your app. This approach gives you granular control over each payment method and allows for custom UI/UX design while leveraging Hyperswitch's payment processing capabilities.
Next step:
Setup Payment MethodsLast updated
Was this helpful?

