Skip to main content

Stripe webhook URL issue β€” trailing slash needed

I'd like to report a separate issue I ran into regarding the Stripe webhook URL,
as a follow-up to my earlier post:
https://community.wpmanageninja.com/portal/space/fluent-cart/post/renewal-charges-2nd-payment-onward-not

For context, I run my WordPress site with the WordPress Address (URL) and Site Address (URL) set to different values:

  • WordPress Address (URL): https://example.com/wp
  • Site Address (URL): https://example.com

The issue was the webhook URL displayed in FluentCart's Stripe settings.
The URL shown is:
https://example.com/wp?fluent-cart=fct_payment_listener_ipn&method=stripe

But this URL was being 301-redirected, and Stripe does not follow redirects.
Adding a trailing slash before the query string fixed it:
https://example.com/wp/?fluent-cart=fct_payment_listener_ipn&method=stripe

After updating the webhook URL in Stripe to include the trailing slash,
new renewal payments are now reflected in FluentCart properly.

Hopefully this helps anyone hitting the same issue, and might be worth
considering as a small fix on FluentCart's side.

Thanks!