1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

fixed minor issues

This commit is contained in:
Lars Kusch 2021-10-07 15:46:36 +02:00
parent 6e1e8d528e
commit 7f6537d3b6
3 changed files with 2 additions and 6 deletions

View File

@ -103,7 +103,7 @@ class Gateway extends StaticModel
GatewayType::ALIPAY => ['refund' => false, 'token_billing' => false],
GatewayType::APPLE_PAY => ['refund' => false, 'token_billing' => false],
GatewayType::SOFORT => ['refund' => true, 'token_billing' => true, 'webhooks' => ['source.chargeable', 'charge.succeeded']], //Stripe
GatewayType::SEPA => ['refund' => true, 'token_billing' => false]];
GatewayType::SEPA => ['refund' => true, 'token_billing' => true, 'webhooks' => ['source.chargeable', 'charge.succeeded']]];
case 39:
return [GatewayType::CREDIT_CARD => ['refund' => true, 'token_billing' => true]]; //Checkout
break;

View File

@ -6,10 +6,7 @@
<label for="sepa-email">
<input class="input mr-4" id="sepa-email-address" type="email" placeholder="{{ ctrans('texts.email') }}">
</label>
<div>
<label for="sepa-iban">
IBAN
</label>
<div class="border p-4 rounded StripeElement StripeElement--complete">
<div id="sepa-iban">
<!-- A Stripe Element will be inserted here. -->
</div>

View File

@ -18,7 +18,6 @@
@component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.payment_type')])
{{ ctrans('texts.sofort') }} ({{ ctrans('texts.bank_transfer') }})
@endcomponent
@include('portal.ninja2020.gateways.stripe.sepa.sepa_debit')
@include('portal.ninja2020.gateways.includes.pay_now')
@endsection