mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor fixes
This commit is contained in:
parent
6ad2cba624
commit
d4a99ad64a
@ -21,6 +21,7 @@ use App\Models\PaymentType;
|
|||||||
use App\Models\SystemLog;
|
use App\Models\SystemLog;
|
||||||
use App\PaymentDrivers\StripePaymentDriver;
|
use App\PaymentDrivers\StripePaymentDriver;
|
||||||
use App\PaymentDrivers\Stripe\Jobs\UpdateCustomer;
|
use App\PaymentDrivers\Stripe\Jobs\UpdateCustomer;
|
||||||
|
use Stripe\Checkout\Session;
|
||||||
use Stripe\PaymentIntent;
|
use Stripe\PaymentIntent;
|
||||||
use Stripe\PaymentMethod;
|
use Stripe\PaymentMethod;
|
||||||
use App\Utils\Number;
|
use App\Utils\Number;
|
||||||
@ -37,7 +38,7 @@ class BACS
|
|||||||
public function authorizeView(array $data)
|
public function authorizeView(array $data)
|
||||||
{
|
{
|
||||||
$customer = $this->stripe->findOrCreateCustomer();
|
$customer = $this->stripe->findOrCreateCustomer();
|
||||||
$session = $this->stripe->Checkout->Session::create([
|
$session = Session::create([
|
||||||
'payment_method_types' => ['bacs_debit'],
|
'payment_method_types' => ['bacs_debit'],
|
||||||
'mode' => 'setup',
|
'mode' => 'setup',
|
||||||
'customer' => $customer->id,
|
'customer' => $customer->id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user