feat(labrinth): quarterly billing support (#3714)

This commit is contained in:
Alejandro González
2025-05-29 00:18:24 +02:00
committed by GitHub
parent f52d020a3c
commit be37f077d3
2 changed files with 12 additions and 1 deletions

View File

@@ -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,
})
}))