diff --git a/src/controllers/paymentController.ts b/src/controllers/paymentController.ts index 1ffcf8f..ee106da 100644 --- a/src/controllers/paymentController.ts +++ b/src/controllers/paymentController.ts @@ -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, }); }