1) Get your Stripe keys
stripe.com → Developers → API keys (Test) or
Live. Copy both Publishable + Secret.
2) Register your Stripe webhook
stripe.com → Developers → Webhooks → Add endpoint.
Endpoint URL:
https://preview.sinterpay.com/stripe/webhook?shop=preview-alpha.myshopify.com
Subscribe to these events:
payment_intent.succeeded,
charge.refunded,
charge.dispute.created,
charge.dispute.closed,
radar.early_fraud_warning.created.
After creation, copy the
Signing secret (starts with
whsec_) into the Webhook secret field above.