1. Home
  2. Docs
  3. Stripe Checkout
  4. Webhook Setup (Important)

Webhook Setup (Important)

A webhook allows Stripe to notify your OpenCart store when a payment is completed or failed. It is required for reliable order confirmation.

Webhook Setup Steps

  1. Go to Stripe Dashboard → Developers → Webhooks.
  2. Click Add endpoint.
  3. Enter your webhook endpoint URL: index.php?route=extension/payment/hb_stripe_checkout/webhook
  4. Select these events:
    • checkout.session.completed
    • payment_intent.payment_failed
  5. Save the endpoint.
  6. Copy the webhook signing secret. It starts with whsec_.
  7. Paste the signing secret into the correct webhook secret field in the extension settings.

Test and Live webhook secrets are different. Always use the correct webhook secret for the mode you are using.