mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 12:17:32 -04:00 
			
		
		
		
	Merge pull request #5743 from turbo124/v5-develop
Change VersionCheck URL away from GitHub
This commit is contained in:
		
						commit
						7a697b3fa0
					
				| @ -98,7 +98,7 @@ class StripeConnectController extends BaseController | ||||
|         $company_gateway->gateway_key = 'd14dd26a47cecc30fdd65700bfb67b34'; | ||||
|         $company_gateway->fees_and_limits = $fees_and_limits; | ||||
|         $company_gateway->setConfig([]); | ||||
|         $company_gateway->save(); | ||||
|         // $company_gateway->save();
 | ||||
| 
 | ||||
|         $payload = [ | ||||
|             'account_id' => $response->stripe_user_id, | ||||
| @ -112,15 +112,16 @@ class StripeConnectController extends BaseController | ||||
|         ]; | ||||
| 
 | ||||
|         /* Link account if existing account exists */ | ||||
|         if($account_id = $this->checkAccountAlreadyLinkToEmail($company_gateway, $request->getContact()->email)) { | ||||
|         // if($account_id = $this->checkAccountAlreadyLinkToEmail($company_gateway, $request->getContact()->email)) {
 | ||||
|              | ||||
|             $payload['account_id'] = $account_id; | ||||
|             $company_gateway->setConfig($payload); | ||||
|             $company_gateway->save(); | ||||
|         //     $payload['account_id'] = $account_id;
 | ||||
|         //     $payload['stripe_user_id'] = $account_id;
 | ||||
|         //     $company_gateway->setConfig($payload);
 | ||||
|         //     $company_gateway->save();
 | ||||
| 
 | ||||
|             return view('auth.connect.existing'); | ||||
|         //     return view('auth.connect.existing');
 | ||||
| 
 | ||||
|         } | ||||
|         // }
 | ||||
| 
 | ||||
|         $company_gateway->setConfig($payload); | ||||
|         $company_gateway->save(); | ||||
|  | ||||
| @ -7,7 +7,7 @@ return [ | ||||
|     'license_url' => 'https://app.invoiceninja.com', | ||||
|     'production' => env('NINJA_PROD', false), | ||||
|     'license'   => env('NINJA_LICENSE', ''), | ||||
|     'version_url' => 'https://raw.githubusercontent.com/invoiceninja/invoiceninja/v5-stable/VERSION.txt', | ||||
|     'version_url' => 'https://pdf.invoicing.co/api/version', | ||||
|     'app_name' => env('APP_NAME', 'Invoice Ninja'), | ||||
|     'app_env' => env('APP_ENV', 'selfhosted'), | ||||
|     'debug_enabled' => env('APP_DEBUG', false), | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user