mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
Fixes for new payment flow
This commit is contained in:
parent
cba76cd608
commit
35c79dbc50
@ -156,4 +156,4 @@ class FPX implements LivewireMethodInterface
|
||||
{
|
||||
return 'gateways.stripe.fpx.pay_livewire';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -119,7 +119,7 @@ class PRZELEWY24 implements LivewireMethodInterface
|
||||
|
||||
throw new PaymentFailed('Failed to process the payment.', 500);
|
||||
}
|
||||
|
||||
|
||||
public function paymentData(array $data): array
|
||||
{
|
||||
$this->stripe->init();
|
||||
@ -151,8 +151,8 @@ class PRZELEWY24 implements LivewireMethodInterface
|
||||
return $data;
|
||||
}
|
||||
|
||||
public function livewirePaymentView(array $data): string
|
||||
public function livewirePaymentView(array $data): string
|
||||
{
|
||||
return 'gateways.stripe.przelewy24.pay_livewire';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -142,7 +142,7 @@ class SEPA implements LivewireMethodInterface
|
||||
'company_id' => $this->stripe->client->company_id,
|
||||
])->first();
|
||||
|
||||
if($token) {
|
||||
if ($token) {
|
||||
return $token;
|
||||
}
|
||||
|
||||
@ -185,8 +185,8 @@ class SEPA implements LivewireMethodInterface
|
||||
return $data;
|
||||
}
|
||||
|
||||
public function livewirePaymentView(array $data): string
|
||||
public function livewirePaymentView(array $data): string
|
||||
{
|
||||
return 'gateways.stripe.sepa.pay_livewire';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -151,8 +151,8 @@ class iDeal implements LivewireMethodInterface
|
||||
return $data;
|
||||
}
|
||||
|
||||
public function livewirePaymentView(array $data): string
|
||||
public function livewirePaymentView(array $data): string
|
||||
{
|
||||
return 'gateways.stripe.ideal.pay_livewire';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user