diff --git a/README.rst b/README.rst index 86ed4ba508..67d63900a1 100644 --- a/README.rst +++ b/README.rst @@ -72,7 +72,7 @@ Add to urls.py: path("stripe/", include("djstripe.urls", namespace="djstripe")), -Then tell Stripe about the webhook (Stripe webhook docs can be found `here `_) using the full URL of your endpoint from the urls.py step above (e.g. ``https://example.com/payments/webhook``). +Then tell Stripe about the webhook (Stripe webhook docs can be found `here `_) using the full URL of your endpoint from the urls.py step above (e.g. ``https://example.com/stripe/webhook``). Run the commands:: diff --git a/docs/installation.rst b/docs/installation.rst index 27f9aa54a3..48e293afe6 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -40,9 +40,9 @@ Add the following to the `urlpatterns` in your `urls.py` to expose the webhook e .. code-block:: python - url(r'^payments/', include('djstripe.urls', namespace="djstripe")), + url(r"^stripe/", include("djstripe.urls", namespace="djstripe")), -Then tell Stripe about the webhook (Stripe webhook docs can be found `here `_) using the full URL of your endpoint from the urls.py step above (e.g. ``https://yourwebsite.com/payments/webhook``). +Then tell Stripe about the webhook (Stripe webhook docs can be found `here `_) using the full URL of your endpoint from the urls.py step above (e.g. ``https://example.com/stripe/webhook``). Run the commands::