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 Apr 19, 2024
1 parent 79f4929 commit 1b4e8e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/backends.rst
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ Create a Provider Class
.. hint::


.. code-block:: python
.. code-block:: python
# Define custom payment variant
CUSTOM_PAYMENT_VARIANT = "custom"
Expand Down Expand Up @@ -398,7 +398,7 @@ mandatory methods used by Django Payments:
the payment status or perform any necessary actions.

* ``get_token_from_request(payment, request)``: This method in a payment provider
class is typically used to extract a payment token or identifier from a callback
class is typically used to extract a payment token or identifier from a callback
request received from the payment gateway after a payment transaction has been processed.
This token or identifier is crucial for identifying
the specific payment transaction associated with the callback.
Expand Down

0 comments on commit 1b4e8e9

Please sign in to comment.