1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Update redirect URL

This commit is contained in:
David Bomba 2023-08-21 08:32:35 +10:00
parent 7b9c4a1589
commit c48cc0dadb

View File

@ -125,11 +125,11 @@ class StripeConnectController extends BaseController
$company_gateway->save();
// StripeWebhook::dispatch($company->company_key, $company_gateway->id);
if(isset($request->getTokenContent()['is_react']) && $request->getTokenContent()['is_react']) {
// if(isset($request->getTokenContent()['is_react']) && $request->getTokenContent()['is_react']) {
$redirect_uri = 'https://app.invoicing.co/#/settings/online_payments';
} else {
$redirect_uri = 'https://invoicing.co/stripe/completed';
}
// } else {
// $redirect_uri = 'https://invoicing.co/stripe/completed';
// }
//response here
return view('auth.connect.completed', ['url' => $redirect_uri]);