diff --git a/app/Services/Subscription/SubscriptionService.php b/app/Services/Subscription/SubscriptionService.php index 3c59d33fdf..cb9e0e5a38 100644 --- a/app/Services/Subscription/SubscriptionService.php +++ b/app/Services/Subscription/SubscriptionService.php @@ -98,7 +98,7 @@ class SubscriptionService ->save(); //update the invoice and attach to the recurring invoice!!!!! - $invoice = Invoice::find($payment_hash->fee_invoice_id); + $invoice = Invoice::withTrashed()->find($payment_hash->fee_invoice_id); $invoice->recurring_id = $recurring_invoice->id; $invoice->is_proforma = false; $invoice->save();