mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 15:24:34 -04:00
Fixes for Stripe Connect
This commit is contained in:
parent
8b397cc15c
commit
a482e3c37e
@ -94,6 +94,8 @@ class Handler extends ExceptionHandler
|
|||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
app('sentry')->captureException($exception);
|
||||||
|
|
||||||
}
|
}
|
||||||
elseif (app()->bound('sentry') && $this->shouldReport($exception)) {
|
elseif (app()->bound('sentry') && $this->shouldReport($exception)) {
|
||||||
app('sentry')->configureScope(function (Scope $scope): void {
|
app('sentry')->configureScope(function (Scope $scope): void {
|
||||||
|
@ -92,7 +92,7 @@ class StripeConnectController extends BaseController
|
|||||||
|
|
||||||
$company = Company::where('company_key', $request->getTokenContent()['company_key'])->first();
|
$company = Company::where('company_key', $request->getTokenContent()['company_key'])->first();
|
||||||
|
|
||||||
$company_gateway = CompanyGatewayFactory::create($company->id, $company->id);
|
$company_gateway = CompanyGatewayFactory::create($company->id, $company->owner()->id);
|
||||||
$fees_and_limits = new \stdClass;
|
$fees_and_limits = new \stdClass;
|
||||||
$fees_and_limits->{GatewayType::CREDIT_CARD} = new FeesAndLimits;
|
$fees_and_limits->{GatewayType::CREDIT_CARD} = new FeesAndLimits;
|
||||||
$company_gateway->gateway_key = 'd14dd26a47cecc30fdd65700bfb67b34';
|
$company_gateway->gateway_key = 'd14dd26a47cecc30fdd65700bfb67b34';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user