@extends('layouts.app') @section('title', 'Generic Webhooks') @section('content')

Generic Webhooks

Accept orders from any payment form or platform

Add New Webhook
@if($webhooks->count() > 0)
@foreach($webhooks as $webhook) @endforeach
Name Type Status Total Requests Success Rate Actions
{{ $webhook->name }}
Created {{ $webhook->created_at->diffForHumans() }}
{{ ucfirst($webhook->type) }} @if($webhook->is_active) Active @else Inactive @endif
Total: {{ $webhook->webhook_logs_count ?? 0 }}
Success: {{ $webhook->success_count ?? 0 }}
@if(($webhook->failed_count ?? 0) > 0)
Failed: {{ $webhook->failed_count }}
@endif
@php $total = $webhook->webhook_logs_count ?? 0; $success = $webhook->success_count ?? 0; $rate = $total > 0 ? round(($success / $total) * 100, 1) : 0; @endphp
{{ $rate }}%
View Edit
@csrf
@csrf @method('DELETE')
@else

No webhooks configured

Get started by creating a webhook to accept orders from payment forms, Stripe, PayPal, or any platform.

@endif
@endsection