onSuccess

abstract fun onSuccess(token: String)

This method should be called by the user if their ConnectionTokenProvider implementation successfully fetches a connection token from the Stripe API.

Parameters

token

The token returned by the ConnectionTokenProvider