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
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
fix(docs): Add superposition to scripts (#12784)
CHALLA NISHANTH BABU163fdecfd1f1
diff --git a/config/superposition_seed.toml b/config/superposition_seed.tomlindex 3e7afec586..e6bf585f1b 100644--- a/config/superposition_seed.toml+++ b/config/superposition_seed.toml@@ -10,46 +10,58 @@# The seeding script ignores this field; it's only needed for runtime fallbackoverrides = []-[dimensions.organization_id]+[dimensions.connector]position = 1schema = { type = "string" }-description = "Organization identifier"+description = "Payment connector identifier (e.g. stripe, adyen)"change_reason = "Initial setup"-[dimensions.provider_merchant_id]+[dimensions.payment_method]position = 2schema = { type = "string" }-description = "Provider merchant identifier (hyperswitch merchant id)"+description = "Payment method identifier (e.g. card, wallet, bank_transfer)"change_reason = "Initial setup"-[dimensions.processor_merchant_id]+[dimensions.payment_method_type]position = 3schema = { type = "string" }-description = "Processor merchant identifier (connector-side merchant id)"+description = "Payment method type identifier (e.g. credit, debit, google_pay)"change_reason = "Initial setup"-[dimensions.profile_id]+[dimensions.payout_retry_type]position = 4schema = { type = "string" }-description = "Business profile identifier"+description = "Type of payout retry (single_connector or multi_connector)"change_reason = "Initial setup"-[dimensions.connector]+[dimensions.incoming_webhook_events]position = 5schema = { type = "string" }-description = "Payment connector identifier (e.g. stripe, adyen)"+description = "Incoming webhook event type identifier (e.g. payment_intent.succeeded)"change_reason = "Initial setup"-[dimensions.payout_retry_type]+[dimensions.organization_id]position = 6schema = { type = "string" }-description = "Type of payout retry (single_connector or multi_connector)"+description = "Organization identifier"change_reason = "Initial setup"-[dimensions.incoming_webhook_events]+[dimensions.provider_merchant_id]position = 7schema = { type = "string" }-description = "Incoming webhook event type identifier (e.g. payment_intent.succeeded)"+description = "Provider merchant identifier (hyperswitch merchant id)"+change_reason = "Initial setup"++[dimensions.processor_merchant_id]+position = 8+schema = { type = "string" }+description = "Processor merchant identifier (connector-side merchant id)"+change_reason = "Initial setup"++[dimensions.profile_id]+position = 9+schema = { type = "string" }+description = "Business profile identifier"change_reason = "Initial setup"[default-configs.requires_cvv]diff --git a/scripts/seed_superposition.sh b/scripts/seed_superposition.shindex 592fc2a5c3..d3d993e159 100755--- a/scripts/seed_superposition.sh+++ b/scripts/seed_superposition.sh@@ -17,7 +17,8 @@ echo "Workspace: $WORKSPACE_ID, Org: $ORG_ID"# Wait for superposition to be readyecho "Waiting for Superposition to be ready..."READY=0-for ((i=1; i<=MAX_RETRIES; i++)); do+i=1+while [ "$i" -le "$MAX_RETRIES" ]; doif curl -sS -o /dev/null "$SUPERPOSITION_URL/health"; thenecho "Superposition is ready!"READY=1@@ -25,6 +26,7 @@ for ((i=1; i<=MAX_RETRIES; i++)); dofiecho "Waiting for Superposition... ($i/$MAX_RETRIES)"sleep "$RETRY_INTERVAL"+ i=$((i + 1))doneif [ "$READY" -ne 1 ]; thendiff --git a/scripts/setup.sh b/scripts/setup.shindex c5a13f97dc..bd0bcc7cd2 100755--- a/scripts/setup.sh+++ b/scripts/setup.sh@@ -238,7 +238,7 @@ select_profile() {printf " Services included: ${BLUE}Everything in Standard, Monitoring and Scheduler${NC}\n"printf "\n"printf "3) ${YELLOW}Standalone App Server${NC}: Ideal for API-first integration testing.\n"- printf " Services included: ${BLUE}App Server, PostgreSQL and Redis)${NC}\n"+ printf " Services included: ${BLUE}App Server, PostgreSQL, Redis and Superposition${NC}\n"echo ""local profile_selected=falsewhile [ "${profile_selected}" = "false" ]; do@@ -284,7 +284,7 @@ start_services() {case $PROFILE instandalone)- $DOCKER_COMPOSE --env-file .oneclick-setup.env up -d pg redis-standalone migration_runner hyperswitch-server+ $DOCKER_COMPOSE --env-file .oneclick-setup.env up -d pg redis-standalone migration_runner superposition superposition-init hyperswitch-server;;standard)$DOCKER_COMPOSE --env-file .oneclick-setup.env up -d@@ -336,6 +336,8 @@ print_access_info() {printf " • ${GREEN}${BOLD}App Server${NC}: ${BLUE}${BOLD}http://localhost:8080${NC}\n"+ printf " • ${GREEN}${BOLD}Superposition${NC}: ${BLUE}${BOLD}http://localhost:8081${NC}\n"+if [ "$PROFILE" = "full" ]; thenprintf " • ${GREEN}${BOLD}Monitoring (Grafana)${NC}: ${BLUE}${BOLD}http://localhost:3000${NC}\n"fi