Skip to content

Commit 06af856

Browse files
committed
update price format
1 parent 11e134b commit 06af856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stripe_python/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def get_products( stripeApiKEY, outputFile='products.json'):
1818
dict['Name' ] = product['name']
1919
dict['Description' ] = product['description']
2020
dict['Images' ] = product['images']
21-
dict['Default Price' ] = product["default_price"]["unit_amount"]/100
21+
dict['Price_Default' ] = { product["default_price"]["id"]: product["default_price"]["unit_amount"]/100}
2222
all_prices = stripe.Price.list(product=product["id"]).data
2323
pricedict = {}
2424

0 commit comments

Comments
 (0)