How to Connect Coinbase Commerce to Your We.Inc Website
Coinbase Commerce
Coinbase Commerce is being replaced by Coinbase Business checkouts. Here is what still works for taking crypto payments on a We.Inc site.
Use Case
Coinbase Commerce is now Coinbase Business: what that means for your site
Coinbase Commerce let merchants accept cryptocurrency through hosted charges and payment buttons. Coinbase's developer documentation now has a migration guide from the Commerce Charge API to the Checkouts API, under Coinbase Business. The base URL moves from api.commerce.coinbase.com to business.coinbase.com/api/v1, and authentication changes to a CDP API key sent as a Bearer token.
In the new flow your server creates a Checkout, and the response includes a url for a Coinbase-hosted payment page. Customers are sent back to a success or failure address you choose, and you follow status changes (active, processing, completed, expired, failed and others) by webhook or by polling. A sandbox is available for testing.
Because creating a checkout needs a secret key, this is no longer a copy-and-paste button. On a We.Inc site it means an edge function that calls Coinbase and then redirects the buyer to the hosted page.
Coinbase Business account required
The Checkouts API requires a Coinbase Business account.
Server-side creation
Checkouts are created with a secret CDP key, so the call runs in an edge function.
Hosted payment page
Each checkout returns a url where the customer pays.
Settlement details
Checkout records include a settlement object with a fee breakdown.
Setup Guide
How to integrate Coinbase Commerce.
Create Coinbase Business checkouts from an edge function
The current, supported way to take crypto payments.
Step-by-step guide
- 1
Open a Coinbase Business account and create a CDP API key, as the migration guide describes.
- 2
In We.Inc, open the Cloud panel and store the key in Secrets.
- 3
Ask the builder chat to create an edge function that calls the Checkouts API at business.coinbase.com/api/v1/checkouts with that secret and returns the checkout url.
- 4
Ask for a Pay with crypto button that calls the function and redirects the buyer to the returned url.
- 5
Set the success and failure redirect addresses to pages on your We.Inc site.
- 6
Test in Coinbase's sandbox, publish, then try a real payment on the live site.
If your site still has an old Commerce button
Remove it. An embed or link pointing at Commerce hosted charges belongs to the retired system, and visitors may hit an error. Ask the We.Inc chat to find and delete the old Coinbase Commerce code, publish, and replace it with the Business checkout flow above or with a different payment method.
Fees and availability could not be confirmed
The Coinbase migration guide does not state fee rates, dates or which countries Coinbase Business serves, and Coinbase's help and business pages blocked our reader. Check Coinbase's own pages for current fees and whether your country is supported before you build. If it is not, We.Inc's Store panel takes card payments through your own Stripe account.
Coinbase Commerce questions
- Can I still sign up for Coinbase Commerce?
- Coinbase's documentation points Commerce users to Coinbase Business and its Checkouts API. Plan any new crypto payment setup on Coinbase Business rather than Commerce.
- Why can I not just paste a Coinbase button into my page?
- Creating a Coinbase Business checkout needs a secret API key. Putting that key in page code would expose it to every visitor, so the call has to happen in a We.Inc edge function with the key stored in Cloud Secrets.
- How do I know a crypto payment went through?
- Coinbase sends webhook events as a checkout changes status, or your function can poll it. A completed status means the payment finished. You can ask the chat to add an edge function that receives these webhooks.
- What should I do with funds still sitting in an old Commerce account?
- Follow the withdrawal instructions Coinbase gives for Commerce balances, and do it before relying on any old dashboard. We.Inc cannot see or move these funds. Once your money is safe, update your site so no page still sends buyers to the retired payment flow.
- Is there a simpler option if I only sell a few items?
- If crypto is not essential, We.Inc's Store panel connects your own Stripe account for card payments, with products, variants, digital downloads and discount codes. It avoids writing an edge function, though it does not accept cryptocurrency.
Sources
Checked October 17, 2026.
Related
More Payment Gateways integrations.
Ready to integrate Coinbase Commerce?
Start building your website with We.Inc and connect Coinbase Commerce in minutes.
More in Integrations
- Use We.Inc from Cursor and VS Code
- Flodesk Integration: Add Flodesk to Your Site
- Formbricks Integration: Add Formbricks to Your Site
- Fresha Website Builder: Embed Fresha Booking on Your Site
- Mouseflow Integration: Add Mouseflow to Your Site
- Paystack Integration: Add Paystack to Your Site
- How to Connect Pinterest Ads to Your We.Inc Website
- PostHog Integration: Add PostHog to Your Site
Product
Who It's For
- For Agencies
- For Freelancers
- For Hosting Providers
- For SaaS Platforms
- For Startups
- For Financial Services
- For Healthcare
Features
Resources
- Blog
- Help Center
- Free Business Tools
- Free UI Components
- Website Templates
- Template Collections
- Website Examples
- Guides
- Comparisons
- Alternatives
- Best Lists
- Reviews
- Pricing Guides
- Use Cases
- Glossary & Guides
- Integrations
- Developers
- Benchmark
- Windows App
