mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Company Ledger updates
This commit is contained in:
parent
a57de08178
commit
833f986b43
@ -11,6 +11,7 @@
|
||||
|
||||
namespace App\Listeners\Invoice;
|
||||
|
||||
use App\Models\Invoice;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
|
||||
|
@ -146,7 +146,7 @@ class PayPalExpressPaymentDriver extends BasePaymentDriver
|
||||
|
||||
}
|
||||
|
||||
protected function paymentDetails($input)
|
||||
protected function paymentDetails($input) :array
|
||||
{
|
||||
$data = parent::paymentDetails($input);
|
||||
|
||||
|
@ -230,7 +230,7 @@ class StripePaymentDriver extends BasePaymentDriver
|
||||
|
||||
|
||||
$data['intent'] = $this->createPaymentIntent($payment_intent_data);
|
||||
|
||||
|
||||
$data['gateway'] = $this;
|
||||
|
||||
return view($this->viewForType($data['payment_method_id']), $data);
|
||||
@ -362,7 +362,6 @@ class StripePaymentDriver extends BasePaymentDriver
|
||||
|
||||
event(new PaymentWasCreated($payment));
|
||||
|
||||
|
||||
return redirect()->route('client.payments.show', ['payment' => $this->encodePrimaryKey($payment->id)]);
|
||||
|
||||
}
|
||||
@ -383,7 +382,7 @@ class StripePaymentDriver extends BasePaymentDriver
|
||||
|
||||
}
|
||||
|
||||
public function createPayment($data)
|
||||
public function createPayment($data) :Payment
|
||||
{
|
||||
|
||||
$payment = parent::createPayment($data);
|
||||
|
Loading…
Reference in New Issue
Block a user