1. Home
  2. Docs
  3. Stripe Pro
  4. Webhook Setup

Webhook Setup

A webhook allows Stripe to notify your OpenCart store when a payment succeeds or fails. This is required for reliable order status updates.

Webhook Endpoint

Use the following endpoint in your Stripe Dashboard:

index.php?route=extension/payment/hb_stripe_pro/webhook

Use your full store URL before this route. For example:

https://www.yourstore.com/index.php?route=extension/payment/hb_stripe_pro/webhook

Steps to Create the Webhook

  1. Log in to your Stripe Dashboard.
  2. Go to Developers → Webhooks.
  3. Click Add endpoint.
  4. Enter your OpenCart webhook endpoint URL.
  5. Select the required events.
  6. Save the endpoint.
  7. Copy the webhook signing secret that starts with whsec_.
  8. Paste it into the correct webhook secret field in the HuntBee Stripe Pro admin settings.

Required Webhook Events

Test and Live webhook signing secrets are different. Create and copy the Test webhook secret for Test Mode, and the Live webhook secret for Live Mode.