Skip to content

Commit 7b90827

Browse files
update README in example is described to create the customer object for colombia
1 parent b49a3a5 commit 7b90827

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Installation
1010
You don't need this source code unless you want to modify the package. If you just want use the Openpay Python bindings,
1111
you should run:
1212

13+
pip install "setuptools<58.0"
1314
pip install openpay
1415

1516
or
@@ -646,14 +647,17 @@ customer = openpay.Customer.create(
646647
name="Juan",
647648
last_name="Perez",
648649
email="somebody@example.com",
649-
address={
650-
"city": "Bogotá",
651-
"country_code": "CO",
652-
"postal_code": "76900",
653-
"line1": "bogota",
654-
"line2": "colombia",
655-
"line3": "col carrillo",
656-
"state": "Bogota"
650+
{
651+
"name": "Pedro Diego",
652+
"last_name": "Alatorre Martínez",
653+
"email": "pedro.alatorre@comercio.com",
654+
"phone_number": "5744484951",
655+
"status": "active",
656+
"customer_address": {
657+
"department": "Medellín",
658+
"city": "Antioquía",
659+
"additional": "Avenida 7f bis # 138-58 Apartamento 942"
660+
}
657661
},
658662
phone_number="7711234567"
659663
)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.6
1+
1.01

openpay/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = '1.0'
1+
VERSION = '1.01'

0 commit comments

Comments
 (0)