@@ -9,6 +9,7 @@ A simple, clean and less dependant client to handle payments through RedSys plat
99The purpose of this library is just provide a normalized interface between RedSys and other applications.
1010
1111**About `RedirectClient` **
12+
1213Although *redirect connection * depends on a webserver to resolve the communication step,
1314the `RedirectClient ` provided in this library does not assumes any kind of procedure to resolve that
1415step; it merely prepares the necessary parameters to make a request and handle the corresponding response parameters.
@@ -73,7 +74,7 @@ After the payment process is finish, RedSys will respond making a request to the
7374
74756. Create and check the response
7576--------------------------------
76- Create the response object using the received parameters from RedSys. This `create_response() ` method
77+ Create the response object using the received parameters from RedSys. The method `create_response() `
7778throws a ``ValueError `` in case of the received `signature ` does not be equal to the calculated one using
7879the given merchant_parameters. This normally means that the response **is not comming from RedSys ** or that
7980**has been compromised **.
@@ -91,6 +92,7 @@ the given merchant_parameters. This normally means that the response **is not co
9192 raise Exception (response.response, response.message)
9293
9394 **Methods for checking the response: **
95+
9496According to the RedSys documentation:
9597 - `response.is_paid() `: Returns ``True `` if the response code is between 0 and 99 (both included).
9698 - `response.is_canceled() `: Returns ``True `` if the response code is 400.
0 commit comments