-
Notifications
You must be signed in to change notification settings - Fork 48
Checkout nextjs example app #1207
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few small things.
|
This pull request introduces a new Next.js example application demonstrating integration with GoDaddy's React components and payment flows. It adds all necessary configuration, setup, and sample code for a functional checkout experience using multiple payment providers. The changes also include supporting files and updates to the monorepo for workspace compatibility.
New Next.js Example Application
examples/nextjsdirectory with a complete Next.js app, including sample checkout page (app/page.tsx), custom checkout form validation (app/checkout.tsx), layout and global styles, and provider setup. [1] [2] [3] [4]tsconfig.json), Biome (biome.json), Tailwind CSS (postcss.config.mjs,globals.css), Next.js (next.config.ts), and environment variables (env.sample). [1] [2] [3] [4] [5]README.md) and.gitignorefor the example project. [1] [2]pnpm-workspace.yamlto include the newexamples/*directory for workspace management.package.jsonfor the example app, specifying dependencies on GoDaddy packages and other libraries.Core Library Improvements
CheckoutFormSchematype inpackages/react/src/components/checkout/checkout.tsxto allow proper extension and customization by consumers.Monorepo and Miscellaneous
package.json.