Create Google Pay Transaction Result
Types
Link copied to clipboard
data class Created(val transactionId: String, val paymentUrl: String) : CreateGooglePayTransactionResult
Indicates that transaction was created. Display paymentUrl to finish payment. It is advised to use long polling mechanism to observe transaction state.
Link copied to clipboard
Indicates that transaction was created and paid.
Link copied to clipboard
data class Error(val errorMessage: String?, val transactionId: String? = null) : CreateGooglePayTransactionResult
Indicates that creating transaction failed due to an unexpected error (server or client side). Transaction might be still available on the server if error was client side