From 6fbaa209a74a80860e7291b0b93e00d50e2a1a4f Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 4 Mar 2022 09:05:21 +1100 Subject: [PATCH] Fixes for subscription service --- app/Services/Subscription/SubscriptionService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Subscription/SubscriptionService.php b/app/Services/Subscription/SubscriptionService.php index 34eec1e31ad7..4f0e6a7b3a50 100644 --- a/app/Services/Subscription/SubscriptionService.php +++ b/app/Services/Subscription/SubscriptionService.php @@ -102,7 +102,7 @@ class SubscriptionService } else { - $invoice = Invoice::find($payment_hash->fee_invoice_id); + $invoice = Invoice::withTrashed()->find($payment_hash->fee_invoice_id); $context = [ 'context' => 'single_purchase',