Skip to main content
Primer Checkout is a drop-in payment UI that handles the complexity of accepting payments while giving you full control over the experience. Add it to your site in minutes, customize it to match your brand, and scale to new payment methods without rewriting your integration. Primer Documentation showcase of primer checkout components visual

What You Can Do

  • Accept any payment methods through a single integration
  • Use a prebuilt, conversion-optimized UI or customize every component
  • Handle security and compliance without extra work
  • Add or remove payment methods without changing your frontend code

Key Capabilities

CapabilityWhat It Means
Single integrationAdd any payment method without writing payment-specific code
Prebuilt UIConversion-optimized components that work out of the box
Full customizationControl styling, layout, and behavior through configuration
Security built-inPCI compliance handled for you with secure hosted inputs
Framework-agnosticWorks with React, Vue, vanilla JS, or any framework

Design Principles

Works Out of the Box

Drop in <primer-checkout> and you have a working payment form. No configuration required for the default experience. Primer handles validation, error display, 3DS challenges, redirects, and loading states automatically.

Customizable Without Complexity

Change the look and feel through CSS variables. Rearrange components with slots. Add event handlers when you need custom behavior. Each layer of customization is optional—use only what you need.

Stable Integration

Built on Web Components, a browser standard. Your integration won’t break when you update the SDK. Internal changes stay internal—your code interacts with a stable public API.

Payment Logic Stays with Primer

You focus on the user experience. Primer handles the payment method logic, processor communication, and edge cases. Add new payment methods from the Dashboard without touching your frontend code.

How It Works

  1. Install the Primer Checkout Web SDK
  2. Configure your checkout and payment methods
  3. Embed the checkout in your application and start accepting payments

Prerequisites

Before you start, ensure you have completed these prerequisites:
  1. You’re ready to process payments
  2. Checkout is configured in your Primer Dashboard
Primer Checkout is available for Web only.For mobile integrations, see:

Next Steps