From fc8e360d9e7988baf0f163d28af04b3c55ca2d93 Mon Sep 17 00:00:00 2001 From: Evan Kaloudis Date: Sat, 8 Mar 2025 10:55:05 -0500 Subject: [PATCH] handlePayment: handle false positive on in-flight payment --- stores/TransactionsStore.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stores/TransactionsStore.ts b/stores/TransactionsStore.ts index 1c1279f45..eaf6791e7 100644 --- a/stores/TransactionsStore.ts +++ b/stores/TransactionsStore.ts @@ -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 =