mirror of
https://github.com/plausible/analytics.git
synced 2024-11-28 04:30:42 +03:00
Add flags to prorate and bill immediately when changing plans (#271)
This commit is contained in:
parent
f05dbe1a21
commit
0c947d2dc6
@ -39,6 +39,9 @@ defmodule Plausible.Billing.PaddleApi do
|
||||
vendor_id: config[:vendor_id],
|
||||
vendor_auth_code: config[:vendor_auth_code],
|
||||
subscription_id: paddle_subscription_id,
|
||||
prorate: true,
|
||||
keep_modifiers: true,
|
||||
bill_immediately: true,
|
||||
quantity: 1
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user