Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fixed paddle passthrough

Blue Moused7f4f264d758
diff --git a/src/pages/MainPage/Pricing.jsx b/src/pages/MainPage/Pricing.jsx
index f2b3d3195..1bfd5f53f 100644
--- a/src/pages/MainPage/Pricing.jsx
+++ b/src/pages/MainPage/Pricing.jsx
@@ -140,7 +140,9 @@ const Pricing = ({ t, language }) => {
window.Paddle.Checkout.open({
product: tier.pid,
email: user.email,
- passthrough: `{"uid": ${user.id}}`,
+ passthrough: JSON.stringify({
+ uid: user.id,
+ }),
locale: paddleLanguageMapping[language] || language,
title: tier.name,
displayModeTheme: theme,