@extends('layouts.app') @section('title') Gift Voucher Settings | {{ config('app.name') }} @endsection @section('content')

Gift Voucher Settings

@include('backend.settings.sidebar')
@if ($errors->any())
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif @if ($connection === null)
Enter the Zingoy API URL and client key to connect.
@elseif ($connection['ok'])
Connected to Zingoy. Partner balance: ₹ {{ number_format((float) ($connection['data']['partner_balance'] ?? 0), 2) }}
@else
Could not connect to Zingoy: {{ $connection['message'] }}
@endif
@csrf
Zingoy API Credentials
Address only, starting with https:// — leave out /partners/v2.
Stored encrypted.
Purchase Settings
0 means no limit.
If Zingoy still has no record of a paid order after this long, the wallet is refunded.
eCoin & ePass Redemption

Percentages apply to the voucher order value. The balance is paid from wallet cash. Keep the total within your Zingoy discount.

0 means eCoins cannot be used.
0 means no cap beyond the percentage.
0 means ePass cannot be used.
0 means no cap beyond the percentage.
@endsection