@if (is_plugin_active('payment'))
{{ __('Pay') }} {{ format_price($orderAmount ?? 0) }}
@if (isset($order))
{!! PaymentMethods::render() !!}
@else
{!! view('plugins/payment::partials.payment-methods', [
'name' => 'payment_method',
'amount' => $orderAmount ?? 0,
'currency' => get_application_currency()->title ?? 'USD',
])->render() !!}
@endif
@else
{{ __('Payment plugin is not active.') }}
@endif