Skip to content
Merged
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: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion payplug/__version__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# -*- coding: utf-8 -*-
__version__ = '1.3.0'
__version__ = '1.3.1'