Skip to content

Commit

Permalink
handlePayment: handle false positive on in-flight payment
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloudis committed Mar 8, 2025
1 parent 4d4095a commit fc8e360
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stores/TransactionsStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -600,9 +600,9 @@ export default class TransactionsStore {
(status &&
status !== 'complete' &&
status !== 'SUCCEEDED' &&
status !== 'IN_FLIGHT' &&
result.payment_error !== '') ||
status === 'FAILED'
status !== 'IN_FLIGHT') ||
(status && status === 'FAILED') ||
(result.payment_error && result.payment_error !== '')
) {
this.error = true;
this.payment_error =
Expand Down

0 comments on commit fc8e360

Please sign in to comment.