mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 23:27:31 -05:00 
			
		
		
		
	
						commit
						c1b2b27c92
					
				@ -57,15 +57,11 @@ class StripeConnectController extends BaseController
 | 
				
			|||||||
        
 | 
					        
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $stripe = new \Stripe\StripeClient(
 | 
					        $account = Account::create($data);
 | 
				
			||||||
          config('ninja.ninja_stripe_key')
 | 
					 | 
				
			||||||
        );
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        $account = $stripe->accounts->create($data);
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
nlog($account);
 | 
					nlog($account);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $link = $stripe->accountLinks->create($account->id, $token);
 | 
					        $link = Account::link($account->id, $token);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
nlog($link);
 | 
					nlog($link);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user