mirror of
https://github.com/modrinth/code.git
synced 2026-08-28 10:34:53 +00:00
feat(labrinth): quarterly billing support (#3714)
This commit is contained in:
@@ -1856,6 +1856,7 @@ pub async fn stripe_webhook(
|
||||
"source": source,
|
||||
"payment_interval": metadata.charge_item.subscription_interval.map(|x| match x {
|
||||
PriceDuration::Monthly => 1,
|
||||
PriceDuration::Quarterly => 3,
|
||||
PriceDuration::Yearly => 12,
|
||||
})
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user