mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for tests (typo)
This commit is contained in:
parent
7d69f5eba3
commit
63087de0bc
@ -468,4 +468,16 @@ class BaseDriver extends AbstractPaymentDriver
|
|||||||
{
|
{
|
||||||
return $this->company_gateway->id;
|
return $this->company_gateway->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function logSuccessfulGatewayResponse($response, $gateway_const)
|
||||||
|
{
|
||||||
|
|
||||||
|
SystemLogger::dispatch(
|
||||||
|
$response,
|
||||||
|
SystemLog::CATEGORY_GATEWAY_RESPONSE,
|
||||||
|
SystemLog::EVENT_GATEWAY_SUCCESS,
|
||||||
|
$gateway_const,
|
||||||
|
$this->client,
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -103,6 +103,8 @@ class CreditCard
|
|||||||
if ($server_response->status == 'succeeded') {
|
if ($server_response->status == 'succeeded') {
|
||||||
$this->stripe->confirmGatewayFee($request);
|
$this->stripe->confirmGatewayFee($request);
|
||||||
|
|
||||||
|
$this->stripe->logSuccessfulGatewayResponse(['response' => $request->gateway_response, 'data' => $this->stripe->payment_has], SystemLog::TYPE_STRIPE);
|
||||||
|
|
||||||
return $this->processSuccessfulPayment();
|
return $this->processSuccessfulPayment();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ class FixCompanySettingsUrl extends Migration
|
|||||||
|
|
||||||
Schema::table('companies', function (Blueprint $table) {
|
Schema::table('companies', function (Blueprint $table) {
|
||||||
$table->dropColumn('logo');
|
$table->dropColumn('logo');
|
||||||
$tbale->dropColumn('expense_amount_is_pretax');
|
$table->dropColumn('expense_amount_is_pretax');
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('tasks', function (Blueprint $table) {
|
Schema::table('tasks', function (Blueprint $table) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user