From a7495d9633f8463e0c2e8c61bcf99f39c07943b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Labeyrie?= Date: Thu, 1 Oct 2020 16:36:47 +0200 Subject: [PATCH 1/2] Update version number --- payplug/__version__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payplug/__version__.py b/payplug/__version__.py index ea1a019..d14fa05 100644 --- a/payplug/__version__.py +++ b/payplug/__version__.py @@ -1,2 +1,2 @@ # -*- coding: utf-8 -*- -__version__ = '1.3.0' +__version__ = '1.3.1' From 35fa9e530e982bea4980a675ed16a4dfd1268ead Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Labeyrie?= Date: Thu, 8 Oct 2020 18:54:57 +0200 Subject: [PATCH 2/2] Set correct API version in README example --- README.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.rst b/README.rst index 1bb0fac..8d9aef8 100644 --- a/README.rst +++ b/README.rst @@ -71,6 +71,8 @@ Here's how simple it is to create a payment request: .. sourcecode :: python + payplug.set_api_version("2019-08-06") + customer = { 'email': 'john.watson@example.net', 'first_name': 'John', @@ -80,6 +82,7 @@ Here's how simple it is to create a payment request: 'city': 'London', 'country': 'GB', } + payment_data = { 'amount': 3300, 'currency': 'EUR', @@ -94,6 +97,7 @@ Here's how simple it is to create a payment request: 'customer_id': 42710, }, } + payment = payplug.Payment.create(**payment_data) Go further: