@if(!empty($attributes)) @props(['payment', 'payable' => false]) @endif @if(!empty($payment->totalRaw())) @endif @if(!empty($payment->discountRaw())) @foreach($payment->offers as $offer) @endforeach @endif @if($payable) @endif @if(!empty($payment->getStripePayment()->last_payment_error)) @endif @if($payment->state() != 0) @endif
{!! $payment->name !!} @if(!empty($payment->description))
{!! $payment->description !!} @endif
Due date {!! $payment->getDue() !!}
Price {!! $payment->price() !!}
VAT (included) {!! $payment->vat() !!}
{!! $offer->getExplanationFormatted() !!}
Discount -{!! $payment->discount() !!}
Total {!! $payment->total() !!}
There was a problem processing payment. @if(!empty($payment->getStripePayment()->last_payment_error->message)) {!! $payment->getStripePayment()->last_payment_error->message !!} @endif
@if($payment->state() == 1) @elseif($payment->state() == 2 || $payment->state() == 7) @else @endif {!! $payment->stateLong() !!}
@if(!empty($payment->getStripePayment()->last_payment_error)) @if(!empty($mandate)) @if($mandate->status == 'active')
{!! Form::open(['route' => 'confirm_payment','method' => 'post']) !!} {!! Form::token() !!} {!! Form::hidden('payment_id', $payment->id) !!} {!! Form::close() !!}
@elseif($mandate->status == 'pending')
Payment will be taken when your payment method completes processing
@elseif($mandate->status == 'inactive')
There is a problem with your payment method, please resolve it at the top of this page.
@endif @endif @endif @if(auth()->user()->isPermitted("super") && false)
Debugging info
@php dump($payment); @endphp
@endif