checkout source parameter

This commit is contained in:
SPRINX0\prochazka
2024-10-08 13:10:48 +02:00
parent 4ed4c8c32c
commit 98e01497e9

View File

@@ -95,7 +95,9 @@
<FormStyledButton
value="Purchase DbGate Premium"
on:click={async e => {
openWebLink('https://auth.dbgate.eu/create-checkout-session-simple');
openWebLink(
`https://auth.dbgate.eu/create-checkout-session-simple?source=trial-${isExpired ? 'expired' : trialDaysLeft}`
);
}}
/>
</div>