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
- Log in to your Stripe Dashboard.
- Go to Developers → Webhooks.
- Click Add endpoint.
- Enter your OpenCart webhook endpoint URL.
- Select the required events.
- Save the endpoint.
- Copy the webhook signing secret that starts with whsec_.
- Paste it into the correct webhook secret field in the HuntBee Stripe Pro admin settings.
Required Webhook Events
payment_intent.succeededpayment_intent.payment_failed
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.