mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-11 16:20:13 +00:00
feat(premium): initial subscription implementation through paddle
This commit is contained in:
parent
26af2df720
commit
bd5b5c03fe
15 changed files with 1121 additions and 144 deletions
|
|
@ -100,6 +100,13 @@ pub struct ScheduledTasksConfig {
|
|||
|
||||
#[derive(Deserialize, Clone, Debug)]
|
||||
pub struct PremiumConfig {
|
||||
pub paddle_webhook_secret: String,
|
||||
pub paddle_api_key: String,
|
||||
pub paddle_client_token: String,
|
||||
pub paddle_price_id: String,
|
||||
#[serde(default)]
|
||||
pub is_paddle_production: bool,
|
||||
|
||||
pub postmark_token: String,
|
||||
pub from_email: String,
|
||||
pub base_url: String,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue