From 8844b73f172d2be2737e926b4ae3bddb5d8500ef Mon Sep 17 00:00:00 2001 From: ivan andres Date: Mon, 16 Dec 2024 14:03:57 -0500 Subject: [PATCH 1/2] Update README.md --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 3747314..237fec3 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,6 @@ Set up your Settings object with the necessary credentials: ```python from checkout import Checkout, RedirectRequest -# Configuration checkout = Checkout({ "base_url": "https://checkout-co.placetopay.dev/", "login": "e3bba31e633c32c48011a4a70ff60497", @@ -60,7 +59,6 @@ redirect_request = RedirectRequest( payment={"reference": "TEST _q", "description": "Test Payment", "amount": {"currency": "COP", "total": 10000}} ) -# This request returns a `RedirectResponse` object containing the process URL. response = checkout.request(redirect_request) print("Redirect to:", response.process_url) @@ -71,7 +69,6 @@ print("Redirect to:", response.process_url) ```python -# Query a session by request ID. Returns a `RedirectInformation` object. query_response = checkout.query(123456) # Replace with your request ID print("Request Status:", query_response.status) @@ -89,4 +86,4 @@ print("Reverse Status:", reverse_response.status) ## **License** -This project is licensed under the MIT License. See the [LICENSE](LICENSE.txt) file for details. \ No newline at end of file +This project is licensed under the MIT License. See the [LICENSE](LICENSE.txt) file for details. From 232bd0d96bf8bcdd7e2163226017087a45210373 Mon Sep 17 00:00:00 2001 From: ivan andres Date: Mon, 16 Dec 2024 14:04:42 -0500 Subject: [PATCH 2/2] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4039c29..9e5a4c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "checkout-p2p" -version = "0.1.3" +version = "0.1.4" description = "Python library for PlaceToPay Checkout integration." authors = ["Iván Andrés López Gómez "] license = "MIT"