Skip to content

Commit

Permalink
Update v5_MIGRATION_GUIDE.md
Browse files Browse the repository at this point in the history
Co-authored-by: sshropshire <[email protected]>
  • Loading branch information
sarahkoop and sshropshire authored Dec 18, 2023
1 parent db4037c commit 77e1a97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions v5_MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ class MyActivity : FragmentActivity() {
+ googlePayLauncher = GooglePayLauncher(this) { paymentAuthResult ->
+ googlePayClient.tokenize(paymentAuthResult) { googlePayResult ->
+ when (googlePayResult) {
+ is googlePayResult.Failure -> { /* handle error */ }
+ is googlePayResult.Cancel -> { /* handle cancel */ }
+ is googlePayResult.Success -> { /* handle nonce */ }
+ is GooglePayResult.Failure -> { /* handle error */ }
+ is GooglePayResult.Cancel -> { /* handle cancel */ }
+ is GooglePayResult.Success -> { /* handle nonce */ }
+ }
+ }
+ }
Expand Down

0 comments on commit 77e1a97

Please sign in to comment.