Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

chore: Replaced scarf endpoints with new package endpoints (#7888)

Shailesh-714f70824ef5e56
diff --git a/scripts/poststart_hook.sh b/scripts/poststart_hook.sh
index dcd06aa02b..d1fa6a0109 100755
--- a/scripts/poststart_hook.sh
+++ b/scripts/poststart_hook.sh
@@ -2,13 +2,12 @@
set -euo pipefail
# Configuration
-PLATFORM="docker-compose" # Change to "helm" or "cdk" as needed
VERSION="unknown"
STATUS=""
SERVER_BASE_URL="http://hyperswitch-server:8080"
HYPERSWITCH_HEALTH_URL="${SERVER_BASE_URL}/health"
HYPERSWITCH_DEEP_HEALTH_URL="${SERVER_BASE_URL}/health/ready"
-WEBHOOK_URL="https://hyperswitch.gateway.scarf.sh/${PLATFORM}"
+WEBHOOK_URL="https://hyperswitch.gateway.scarf.sh/docker"
# Fetch health status
echo "Fetching app server health status..."
diff --git a/scripts/prestart_hook.sh b/scripts/prestart_hook.sh
index c4eb16efd8..f800d167ca 100755
--- a/scripts/prestart_hook.sh
+++ b/scripts/prestart_hook.sh
@@ -2,8 +2,7 @@
set -euo pipefail
# Define the URL and parameters
-PLATFORM="docker-compose"
-WEBHOOK_URL="https://hyperswitch.gateway.scarf.sh/${PLATFORM}"
+WEBHOOK_URL="https://hyperswitch.gateway.scarf.sh/docker"
VERSION="unknown"
STATUS="initiated"