1
0
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:
David Bomba 2024-09-04 13:50:37 +10:00
parent cba76cd608
commit 35c79dbc50
4 changed files with 9 additions and 9 deletions

View File

@ -156,4 +156,4 @@ class FPX implements LivewireMethodInterface
{
return 'gateways.stripe.fpx.pay_livewire';
}
}
}

View File

@ -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';
}
}
}

View File

@ -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';
}
}
}

View File

@ -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';
}
}
}