Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Get vendor auth code from env

Uku Taht7cdf4c4a108c
diff --git a/lib/plausible/billing/paddle_api.ex b/lib/plausible/billing/paddle_api.ex
index aaaf965d26..a619ef5485 100644
--- a/lib/plausible/billing/paddle_api.ex
+++ b/lib/plausible/billing/paddle_api.ex
@@ -2,7 +2,7 @@ defmodule Plausible.Billing.PaddleApi do
@update_endpoint "https://vendors.paddle.com/api/2.0/subscription/users/update"
@get_endpoint "https://vendors.paddle.com/api/2.0/subscription/users"
@vendor_id "49430"
- @vendor_auth_code "00e75d18fde1457171b73723ecf54c4026f9b0047e70b6dbff"
+ @vendor_auth_code System.get_env("PADDLE_VENDOR_AUTH_CODE")
@headers [
{"Content-type", "application/json"},
{"Accept", "application/json"}