@extends('layouts.app') @section('title', 'Generic Webhooks') @section('content')
Accept orders from any payment form or platform
| 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 }}%
|
Get started by creating a webhook to accept orders from payment forms, Stripe, PayPal, or any platform.