When the submit method is called, the SDK will attempt to create a payment based on the raw data set in the setRawData method. If no data is set, SDK will call the onFailed method.

1
fun submit()
kotlin
copy