mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Handle user not present in completePurchase method of subscriptions
This commit is contained in:
parent
cba199cd67
commit
59e032f883
@ -121,6 +121,9 @@ class SubscriptionService
|
|||||||
//execute any webhooks
|
//execute any webhooks
|
||||||
$this->triggerWebhook($context);
|
$this->triggerWebhook($context);
|
||||||
|
|
||||||
|
/* 06-04-2022 */
|
||||||
|
/* We may not be in a state where the user is present */
|
||||||
|
if(auth()->guard('contact'))
|
||||||
$this->handleRedirect('/client/invoices/'.$this->encodePrimaryKey($payment_hash->fee_invoice_id));
|
$this->handleRedirect('/client/invoices/'.$this->encodePrimaryKey($payment_hash->fee_invoice_id));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user