@extends('backEnd.layouts.master') @section('title', 'Courier API Settings') @section('css') @endsection @section('content')

Courier Integration

Manage API keys for courier services
Steadfast Courier
Fast & Reliable Delivery
Steadfast
@csrf
@error('api_key')
{{ $message }}
@enderror
@error('secret_key')
{{ $message }}
@enderror
Service Status
status==1) checked @endif style="cursor: pointer; width: 3em; height: 1.5em;">
Pathao Courier
Fast Delivery Service
Pathao
@csrf
@error('client_id')
{{ $message }}
@enderror
@error('client_secret')
{{ $message }}
@enderror
For Sandbox: test@pathao.com | For Production: Your Pathao account email @error('username')
{{ $message }}
@enderror
For Sandbox: lovePathao | For Production: Your Pathao account password @error('password')
{{ $message }}
@enderror
Token will be auto-generated when you save Client ID & Secret
Service Status
status==1) checked @endif style="cursor: pointer; width: 3em; height: 1.5em;">
{{-- RedX Courier --}}
RedX Courier
Reliable Delivery Service
RedX
@csrf
@php // Get current URL and normalize for comparison (remove https://) $currentUrl = $redx->url ?? ''; $currentUrlNormalized = preg_replace('/^https?:\/\//', '', $currentUrl); $currentUrlNormalized = rtrim($currentUrlNormalized, '/'); @endphp Select Sandbox for testing or Production for live operations @if(!empty($currentUrl)) Current: {{ $currentUrl }} @endif
Important: Enter token only (without "Bearer " prefix).
• For Sandbox: Use Sandbox token from RedX Sandbox dashboard
• For Production: Use Production token from RedX OpenAPI dashboard
⚠️ Token must match selected environment (Sandbox/Production)
@error('token')
{{ $message }}
@enderror
Suggested URL: {{ config('app.url') }}/api/redx/webhook
RedX dashboard এ এই URL configure করুন। Parcel status updates automatically receive হবে।
Leave empty if you don't want to use webhook.
Service Status
status==1) checked @endif style="cursor: pointer; width: 3em; height: 1.5em;">
@endsection @section('script') @endsection