stripe verifications

This commit is contained in:
David Bomba 2023-06-03 09:21:05 +10:00
parent 944f72c521
commit cf1e819a11

View File

@ -100,11 +100,11 @@
</div> </div>
<div class="mt-5 sm:mt-0 sm:ml-6 sm:flex-shrink-0 sm:flex sm:items-center"> <div class="mt-5 sm:mt-0 sm:ml-6 sm:flex-shrink-0 sm:flex sm:items-center">
<div class="inline-flex rounded-md shadow-sm" x-data="{ open: false }"> <div class="inline-flex rounded-md shadow-sm" x-data="{ open: false }">
@if (substr($payment_method->token, 0, 2) === 'pm') @if (substr($payment_method->token, 0, 2) == 'pm')
<a href="{{ $payment_method->meta?->next_action }}" class="button button-primary bg-primary"> <a href="{{ $payment_method->meta?->next_action }}" class="button button-primary bg-primary">
{{ ctrans('texts.complete_verification') }} {{ ctrans('texts.complete_verification') }}
</a> </a>
@else @elseif(substr($payment_method->gateway_customer_reference, 0, 3) == 'cus')
<a href="{{ route('client.payment_methods.verification', ['payment_method' => $payment_method->hashed_id, 'method' => \App\Models\GatewayType::BANK_TRANSFER]) }}" class="button button-primary bg-primary"> <a href="{{ route('client.payment_methods.verification', ['payment_method' => $payment_method->hashed_id, 'method' => \App\Models\GatewayType::BANK_TRANSFER]) }}" class="button button-primary bg-primary">
{{ ctrans('texts.complete_verification') }} {{ ctrans('texts.complete_verification') }}
</a> </a>