WebViewConfiguration

fun WebViewConfiguration(paymentUrl: String, successUrl: String, errorUrl: String)

Parameters

paymentUrl

url that will be displayed in the web view, Tpay backend returns it if needed

successUrl

url that Tpay frontend will redirect to when payment is completed

errorUrl

url that Tpay frontend will redirect to when payment couldn't be completed