Skip to content

Commit

Permalink
restore revolut pay events
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbents authored Nov 12, 2024
1 parent 38b5f0e commit d348013
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -636,9 +636,14 @@ export type RevolutPayEvents =
payload:
| {
type: 'success'
orderId: string
}
| { type: 'error'; error: RevolutCheckoutError; orderId: string }
| {
type: 'cancel'
dropOffState: RevolutPayDropOffState
orderId?: string
}
| { type: 'error'; error: RevolutCheckoutError }
| { type: 'cancel'; dropOffState: RevolutPayDropOffState }
}
| {
type: 'click'
Expand Down

0 comments on commit d348013

Please sign in to comment.