ActionComponentCallback
interface ActionComponentCallback
Implement this callback to interact with an ActionComponent.
Functions
Link copied to clipboard
In this method you should make a network call to the /payments/details endpoint of the Checkout API through your server.
Link copied to clipboard
The component has encountered an error. Use ComponentError.exception to get the internal exception.
Link copied to clipboard
open fun onPermissionRequest(requiredPermission: String, permissionCallback: PermissionHandlerCallback)
Should be overridden to support runtime permissions for components. Runtime permission should be requested and communicated back through the callback. If not overridden, PermissionHandlerCallback.onPermissionRequestNotHandled will be invoked, which will show an error message.