@extends('adminlte::page') @section('title', 'Edit M-Pesa Credentials') @section('content')

Update M-Pesa API Configuration

@csrf @method('PUT')
Security Notice

Keep your M-Pesa credentials secure. Never share them publicly or commit them to version control.

From Safaricom Developer Portal @error('consumer_key')
{{ $message }}
@enderror
From Safaricom Developer Portal @error('consumer_secret')
{{ $message }}
@enderror
Your M-Pesa business shortcode @error('shortcode')
{{ $message }}
@enderror
Your M-Pesa passkey @error('passkey')
{{ $message }}
@enderror
Use sandbox for testing, production for live payments @error('environment')
{{ $message }}
@enderror
is_active) ? 'checked' : '' }}>
Only one set of credentials can be active at a time
Environment Information
Sandbox (Testing) Environment:
  • Use for development and testing
  • No real money transactions
  • Test credentials from developer portal
Production (Live) Environment:
  • Use for real customer payments
  • Real money transactions
  • Production credentials required
@stop