override fun onCreate() {
super.onCreate()
PaymentService.initialize(applicationContext)
}
val payload = mutableMapOf<String, Any>()
try {
PaymentService.openPayment(payload)
} catch (t: Throwable) {
print(t.message)
}
try {
PaymentService.openPayment(url)
} catch (t: Throwable) {
print(t.message)
}
PaymentService.defaultBrowser = true
default value false
class InvalidateURLError(override val message: String?): Throwable()
class InvalidateUserInfoError(override val message: String?): Throwable()