EmbedReactNativeEventEmitter
can be imported and used to listen to such events.
transactionCreated
Returns data about the transaction object when the transaction was
successfully created.
transactionFailed
Returned when the transaction encounters an error.
generalError
Returned when the SDK encounters an error.
cancelled
Returned when the SDK gets closed.