Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Use payment error
Uku Taht6fc0e7ba920a
diff --git a/lib/plausible_web/controllers/billing_controller.ex b/lib/plausible_web/controllers/billing_controller.exindex 7b81f276fa..a057678b18 100644--- a/lib/plausible_web/controllers/billing_controller.ex+++ b/lib/plausible_web/controllers/billing_controller.ex@@ -153,7 +153,7 @@ defmodule PlausibleWeb.BillingController domsg =case e do%{"code" => 147} ->- "We were unable to charge your card. Make sure your payment details are up to date and try again."+ "We were unable to charge your card. Click 'update billing info' to update your payment details and try again."%{"message" => msg} when not is_nil(msg) ->msg@@ -172,10 +172,7 @@ defmodule PlausibleWeb.BillingController do)conn- |> put_flash(- :error,- "Something went wrong. Please try again or contact support at [email protected]"- )+ |> put_flash(:error, msg)|> redirect(to: "/settings")endend