payment
parent
92f6782c21
commit
d7390e7024
|
@ -31,12 +31,12 @@ export async function loadPrices() {
|
|||
expand: ["data.product"],
|
||||
});
|
||||
|
||||
logger.debug("prices from Stripe API", JSON.stringify(prices, null, 2));
|
||||
logger.debug("Prices from Stripe API", JSON.stringify(prices, null, 2));
|
||||
|
||||
for (const price of prices.data) {
|
||||
cachedPrices.push({
|
||||
id: price.id,
|
||||
unit_amount: price.unit_amount,
|
||||
unit_amount: (price.unit_amount as number) / 100,
|
||||
lookup_key: price.lookup_key,
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue