mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 21:35:19 +00:00
feat: activate live pricing
This commit is contained in:
@@ -51,7 +51,9 @@ export default async function CloudPaymentSuccessPage({
|
||||
<CardTitle className="text-3xl font-bold ">
|
||||
<ColoredText>Payment Successful</ColoredText>
|
||||
</CardTitle>
|
||||
<CardDescription className="text-center text-xl">You can login to your account now</CardDescription>
|
||||
<CardDescription className="text-center text-xl">
|
||||
Welcome to TaxHacker, {user.name}. You can login to your account now
|
||||
</CardDescription>
|
||||
<CardContent className="w-full">
|
||||
<LoginForm defaultEmail={user.email} />
|
||||
</CardContent>
|
||||
|
||||
@@ -29,6 +29,9 @@ export async function POST(request: NextRequest) {
|
||||
},
|
||||
],
|
||||
mode: "subscription",
|
||||
automatic_tax: {
|
||||
enabled: true,
|
||||
},
|
||||
success_url: config.stripe.paymentSuccessUrl,
|
||||
cancel_url: config.stripe.paymentCancelUrl,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user