mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Update description of changes
This commit is contained in:
parent
7fb139cd9b
commit
15991c9b5b
@ -167,8 +167,8 @@ class CreditCard
|
|||||||
$this->stripe->client->company,
|
$this->stripe->client->company,
|
||||||
);
|
);
|
||||||
|
|
||||||
//if the user has come from a subscription double check here if we need to redirect
|
//If the user has come from a subscription double check here if we need to redirect.
|
||||||
|
//08-08-2022
|
||||||
if($payment->invoices()->whereHas('subscription')->exists()){
|
if($payment->invoices()->whereHas('subscription')->exists()){
|
||||||
$subscription = $payment->invoices()->first()->subscription;
|
$subscription = $payment->invoices()->first()->subscription;
|
||||||
|
|
||||||
@ -176,6 +176,7 @@ class CreditCard
|
|||||||
return redirect($subscription->webhook_configuration['return_url']);
|
return redirect($subscription->webhook_configuration['return_url']);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
//08-08-2022
|
||||||
|
|
||||||
return redirect()->route('client.payments.show', ['payment' => $this->stripe->encodePrimaryKey($payment->id)]);
|
return redirect()->route('client.payments.show', ['payment' => $this->stripe->encodePrimaryKey($payment->id)]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user