Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Why are all the fields in Prefill checkout data, and the custom price is required? #37

Open
Akshithpottigari opened this issue Jul 8, 2024 · 0 comments

Comments

@Akshithpottigari
Copy link

While creating a checkout, when I pass variant and store ids why the custom price is required, and I only want to prefill the email field, and other fields like the customer name and billing address are filled by the customer.

let link = await LEMONSQUEEZY_CLIENT.createCheckout({ variant: process.env.VARIANT_ID as string, store: process.env.STORE_ID as string, custom_price: 15000, checkout_data: { email: user.email, }, });

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant