Accept payments in under 5 min by just adding a button to your frontend
collectionId
ready.
orders.create
scope enabled. More info on creating API keys here.tokenLocator
instead of collectionLocator
in the examples.
It is recommended to test tokenlocator in the production environment.See Marketplaces & Launchpads guide for more secondary-sale specific details.@crossmint/client-sdk-react-ui
dependency and add the embedded checkout component. To get started:
Create a new Next.js application
y
and press Enter
to proceed:Name your app `crossmint-embedded-checkout-demo` and accept the default options
Change into the directory created in previous steps
Install @crossmint/client-sdk-react-ui
Open the project in your preferred code editor
Add environment variables
.env.local
in your project root:Create the checkout page
/src/app/page.tsx
with:Run your app
http://localhost:3000
to see your checkout!