We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11e134b commit 06af856Copy full SHA for 06af856
stripe_python/util.py
@@ -18,7 +18,7 @@ def get_products( stripeApiKEY, outputFile='products.json'):
18
dict['Name' ] = product['name']
19
dict['Description' ] = product['description']
20
dict['Images' ] = product['images']
21
- dict['Default Price' ] = product["default_price"]["unit_amount"]/100
+ dict['Price_Default' ] = { product["default_price"]["id"]: product["default_price"]["unit_amount"]/100}
22
all_prices = stripe.Price.list(product=product["id"]).data
23
pricedict = {}
24
0 commit comments