Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix a few typos #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,15 @@ Changes
- Handle merchantSig with SHA-256 algorithm
- Improve test coverage and other minor changes

This version is backwrd compatible with version 0.6.0.
This version is backward compatible with version 0.6.0.

Note that plugin users need to implement method ``get_signer_backend`` if they
uses their own config class from the abstract config class.

.. warning::

The implementation of the signature with SHA-256 algorithm has not been
tested in a real-life case. Plugin users may use it carefuly, and they are
tested in a real-life case. Plugin users may use it carefully, and they are
invited to report any issues they may encounter.

0.6.0 - released March 1st, 2016
Expand Down
4 changes: 2 additions & 2 deletions adyen/signers.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class AbstractSigner:
appropriate signature field.
* :meth:`compute_hash`: take a signature string and compute its hash value.

These methods are not implementd by the :class:`AbstractSigner`, therefore
These methods are not implemented by the :class:`AbstractSigner`, therefore
subclasses **must** implement them.
"""
def __init__(self, secret_key):
Expand Down Expand Up @@ -328,7 +328,7 @@ def build_signature(self, fields):
* We sort by key the valid keys (see :func:`is_valid_key`),
* Both keys and values are escaped (see :func:`signature_escape`),
* Then keys are joined by ``:``; same for the values,
* And these two strings are joined by anoter ``:``.
* And these two strings are joined by another ``:``.

There is no such thing as a hard-coded defined order of keys: if a key
is present, then it is used to sign the fields. This is much more
Expand Down
2 changes: 1 addition & 1 deletion tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def get_action_url(self, request):
@override_settings(ADYEN_CONFIG_CLASS='tests.test_config.DummyConfigClass')
class CustomConfigClassTestCase(TestCase):
"""
This test case checks that it's possible to replace the FromSettings confic class
This test case checks that it's possible to replace the FromSettings config class
by one's own, and that it is used to fetch values as expected.
"""

Expand Down