Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkout page is 404 #5

Open
Ali-Hussein-dev opened this issue Apr 20, 2024 · 0 comments
Open

Checkout page is 404 #5

Ali-Hussein-dev opened this issue Apr 20, 2024 · 0 comments

Comments

@Ali-Hussein-dev
Copy link

When I disable the embed, the checkout page is not found, Here is what the parameters look like

await createCheckout(
        config.lemonsqueezy.storeId,
        variantId,
        {
            productOptions: {
                enabledVariants: [variantId],
                redirectUrl: `${config.siteUrl}/request-access?session_id=${session_id}`,
                name: plan
            },
            checkoutData: {
                "email": "tita0x00@gmail.com",
            },
            checkoutOptions: {
                // todo: when false, checkout page is not found
                embed: false,
                media: true,
                logo: true,
            },
            testMode: true,
            expiresAt: null,
            preview: true,
        },
    )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant