@extends('layouts.core.backend') @section('title', trans('cashier::messages.coinpayments')) @section('page_header')

{{ trans('cashier::messages.coinpayments') }}

@endsection @section('content')

{!! trans('cashier::messages.coinpayments.intro') !!}

{{ trans('cashier::messages.payment.options') }}

{{ csrf_field() }}
@include('helpers.form_control', [ 'type' => 'text', 'name' => 'merchant_id', 'value' => $gateway->merchantId, 'label' => trans('cashier::messages.coinpayments.merchant_id'), 'help_class' => 'payment', 'rules' => ['merchant_id' => 'required'], ]) @include('helpers.form_control', [ 'type' => 'text', 'name' => 'public_key', 'value' => $gateway->publicKey, 'label' => trans('cashier::messages.coinpayments.public_key'), 'help_class' => 'payment', 'rules' => ['public_key' => 'required'], ]) @include('helpers.form_control', [ 'type' => 'text', 'name' => 'private_key', 'value' => $gateway->privateKey, 'label' => trans('cashier::messages.coinpayments.private_key'), 'help_class' => 'payment', 'rules' => ['private_key' => 'required'], ]) @include('helpers.form_control', [ 'type' => 'text', 'name' => 'ipn_secret', 'value' => $gateway->ipnSecret, 'label' => trans('cashier::messages.coinpayments.ipn_secret'), 'help_class' => 'payment', 'rules' => ['ipn_secret' => 'required'], ]) @include('helpers.form_control', [ 'type' => 'text', 'name' => 'receive_currency', 'value' => $gateway->receiveCurrency, 'label' => trans('cashier::messages.coinpayments.receive_currency'), 'help_class' => 'payment', 'rules' => ['receive_currency' => 'required'], ])

@if ($gateway->isActive()) @if (!\Acelle\Library\Facades\Billing::isGatewayEnabled($gateway)) @else @endif @else @endif {{ trans('messages.cancel') }}
@endsection