Skip to content
Commerce Kit is no longer maintainedCommerce Kit packages no longer receive updates or fixes. For new payment integrations, use Solana Pay.
Commerce Kit is a collection of tools for building commerce experiences on Solana. From drop-in payment buttons to headless primitives, Commerce Kit provides everything you need to accept crypto payments.

​Why Commerce Kit?

  • Drop-in Components: Pre-built PaymentButton with wallet connection, token selection, and transaction handling
  • Framework Agnostic: Use headless primitives in any JavaScript framework
  • Solana Pay: Full Solana Pay support with QR code generation
  • Type-Safe: Complete TypeScript support across all packages
  • Wallet Standard: Compatible with all Wallet Standard wallets (Phantom, Solflare, Backpack, etc.)

​Quick Start

The fastest way to get started is with the PaymentButton component:
Replace your-solana-wallet-address with a valid Solana address. The buyNow and cart modes need paymentConfig.products; without it the button renders an “Invalid Pricing” error card.
onPaymentSuccess runs in the browser, so it is not proof of payment: anything in the browser can be faked. Send the signature to your server and check the payment there before you ship an order. See Confirm payments from your backend.
→ PaymentButton Quick Start - Learn more about the PaymentButton → Quick Start Guides - Get up and running

​Installation

Choose the Commerce Kit packages you need:

​Next Steps

Explore the documentation based on what you’re building:

​Community & Support

Built by the Solana Foundation. Licensed under MIT.