Skip to content

Instantly share code, notes, and snippets.

View timokleemann's full-sized avatar

Timo Kleemann timokleemann

View GitHub Profile
@timokleemann
timokleemann / update_prices.rb
Created February 23, 2023 11:19
Update Stripe prices
class Subscriptions::UpdatePrices < ApplicationService
# TODO: Delete after prices have been updated
PRICE_MATCHES = {
"plan_DOhUc1P6Qesw2f" => "price_1MdZGu2KzYRlf4h1FAiZdBWE",
"plan_DOhU5vUKafMQFa" => "price_1MdZGg2KzYRlf4h1V3Kd8omc",
"plan_DOhUJYfIE3CGPO" => "price_1MdZG02KzYRlf4h1cfZW4M4L",
"plan_DOhUIG5uF2eCFE" => "price_1MdZFg2KzYRlf4h1R0yISwAN",
"plan_DOhUQmjIe68Brc" => "price_1MdZEC2KzYRlf4h1oainNAlS",