mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 08:21:34 +02: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;
|
||||
}
|
||||
|
||||
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') {
|
||||
$this->stripe->confirmGatewayFee($request);
|
||||
|
||||
$this->stripe->logSuccessfulGatewayResponse(['response' => $request->gateway_response, 'data' => $this->stripe->payment_has], SystemLog::TYPE_STRIPE);
|
||||
|
||||
return $this->processSuccessfulPayment();
|
||||
}
|
||||
|
||||
|
@ -31,7 +31,7 @@ class FixCompanySettingsUrl extends Migration
|
||||
|
||||
Schema::table('companies', function (Blueprint $table) {
|
||||
$table->dropColumn('logo');
|
||||
$tbale->dropColumn('expense_amount_is_pretax');
|
||||
$table->dropColumn('expense_amount_is_pretax');
|
||||
});
|
||||
|
||||
Schema::table('tasks', function (Blueprint $table) {
|
||||
|
Loading…
Reference in New Issue
Block a user