Billing flow redirect (#713)

* Billing flow redirect

* fix checkout url

* Refactor checkout and subscription flow

- Improve checkout URL generation with ref unwrapping
- Enhance user data handling in subscription modal
- Remove deprecated CheckoutDetailsModal component
- Update form field and register form styling
- Add more robust user data update mechanism

* Refactor checkout and subscription flow

- Improve checkout URL generation with ref unwrapping
- Enhance user data handling in subscription modal
- Remove deprecated CheckoutDetailsModal component
- Update form field and register form styling
- Add more robust user data update mechanism

* Fix accessibility and checkout URL generation

- Add proper label for terms and conditions checkbox in RegisterForm
- Refactor checkout URL generation in SubscriptionModal using computed refs
- Improve form input handling and reactivity

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
Chirag Chhatrala
2025-03-05 16:46:33 +05:30
committed by GitHub
parent b633f97ce1
commit a59b46665c
9 changed files with 193 additions and 221 deletions

View File

@@ -69,10 +69,11 @@
<checkbox-input
:form="form"
name="agree_terms"
class="mb-3"
class="my-3"
:required="true"
>
<template #label>
<label for="agree_terms">
I agree with the
<NuxtLink
:to="{ name: 'terms-conditions' }"
@@ -90,6 +91,7 @@
Privacy policy
</NuxtLink>
of the website and I accept them.
</label>
</template>
</checkbox-input>