@extends('layouts/fullLayoutMaster') @section('title', __('locale.labels.pay_payment')) @section('content')
{{config('app.name')}}
@endsection @php $environment = null; $paymentMethod = \App\Models\PaymentMethods::where('status', true)->where('type', \App\Models\PaymentMethods::TYPE_EASYPAY)->first(); if ($paymentMethod){ $credentials = json_decode($paymentMethod->options); $environment = $credentials->environment; if ($environment == 'sandbox'){ $testing = true; }else{ $testing = false; } } @endphp @section('page-script') @endsection