Overview #
Stripe webhooks let Stripe send billing events back to your WordPress site. The Stripe Billing Portal gives members a Stripe-hosted place to manage billing self-service.
In Huski Members, these tools help connect Stripe Billing to member plan management. Webhooks can help the plugin react to subscription events, and the billing portal URL can route members to Stripe for billing changes.
Where to Find It #
Go to Huski Members > Settings and review the Payments section.
Webhook URL #
The settings screen shows a Stripe webhook URL. Add that endpoint in Stripe under Developers > Webhooks.
The source specifically notes subscription events such as customer.subscription.created and customer.subscription.updated. These help portal-created or updated subscriptions receive the right metadata and plan behavior.
Webhook Secrets #
Huski Members stores separate test and live webhook secrets. These are used to verify that incoming Stripe webhook events really came from Stripe.
Billing Portal URL #
The Stripe Billing Portal URL is used to route members to Stripe-hosted billing self-service. This is helpful because Stripe handles the billing UI instead of requiring the plugin to recreate every subscription management screen.
How to Set This Up #
- Enable Stripe payments in Huski Members > Settings.
- Copy the Stripe Webhook URL from the settings screen.
- In Stripe, create a webhook endpoint using that URL.
- Subscribe to the required subscription events.
- Copy the webhook signing secret.
- Paste the secret into the matching test or live webhook secret field.
- Add or confirm the Billing Portal URL.
- Save settings and test in Stripe test mode.
Best Practices #
- Keep test and live webhook secrets separate.
- Start with Stripe test mode.
- Do not share webhook secrets publicly.
- Use the Stripe-hosted portal for billing self-service when possible.
- Test subscription creation and updates before going live.
Troubleshooting #
- Webhook events are ignored: Check the webhook secret for the active mode.
- Stripe signature verification fails: Confirm the secret is copied exactly.
- Portal changes do not update correctly: Confirm the webhook endpoint is active and subscribed to the right events.
- Test works but live does not: Check live keys, live webhook secret, and live endpoint settings.
That’s it, dawg!
