Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 17, 2024
1 parent ba8d0b8 commit 34ab1ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/webhooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ webhooks. Follow these steps to configure webhooks in your Stripe Dashboard:

.. warning::

Remember to setup ``PAYMENT_HOST`` and ``PAYMENT_PROTOCOL`` in your settings file,
Remember to setup ``PAYMENT_HOST`` and ``PAYMENT_PROTOCOL`` in your settings file,
otherwise the webhooks won't work, as defined in :ref:`settings`.

URL Structure
Expand Down Expand Up @@ -85,7 +85,7 @@ For example, with this configuration:
}
)
}
PAYMENT_HOST = 'your-app.com'
PAYMENT_PROTOCOL = 'https'
Expand All @@ -95,4 +95,4 @@ Your webhook URL would be:
.. note::

Make sure the URL matches exactly, including the trailing slash. A common source
of 404 errors is using the wrong URL pattern or forgetting the trailing slash.
of 404 errors is using the wrong URL pattern or forgetting the trailing slash.

0 comments on commit 34ab1ba

Please sign in to comment.