Widgets
Integrate Juspay Hyperswitch SDK using individual payment widgets for granular control over your payment flow.
Last updated
Was this helpful?
Was this helpful?
$ npm install @juspay-tech/hyperswitch-nodebuildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "io.hyperswitch:hyperswitch-gradle-plugin:$latest_version"
}
}plugins {
// Apply Hyperswitch Plugin
id 'io.hyperswitch.plugin'
}class WidgetActivity : AppCompatActivity(), HyperInterface {
// ...
}private fun initialiseSDK() {
// Initialize Payment Configuration
PaymentConfiguration.init(applicationContext, publishKey)
}