handleTeyaAppResponseURL

abstract fun handleTeyaAppResponseURL(url: NSURL): Boolean

Handles a payment response URL received from the Teya payment app.

val sdk: IOSAllInOneSDK = TeyaAllInOneSDK(logger)

// In your AppDelegate or SceneDelegate when receiving URL:
fun handleURL(url: NSURL): Boolean {
return sdk.handlePaymentResponseURL(url)
}

This method should be called when your app receives a URL callback from the payment app after a payment transaction has been completed. The URL contains the payment response data that will be processed and delivered to the appropriate transaction callback.

Return

true if the URL was successfully processed, false otherwise

Parameters

url

The NSURL received from the payment app via URL scheme or universal link