Stripe is the most popular payment processor for online businesses. Connecting it to HTMLPub lets you add checkout buttons to any page you publish — no code required.
What you'll need
- An HTMLPub account (free or paid)
- A Stripe account (sign up here if you don't have one)
Step 1: Open your HTMLPub settings
Log in to htmlpub.com and go to Dashboard → Settings → Ecommerce.
Step 2: Click "Connect Stripe"
You'll see a Connect Stripe button. Click it — this starts Stripe's OAuth flow, which securely links your Stripe account to HTMLPub without sharing your secret keys.
Step 3: Authorize in Stripe
Stripe will ask you to log in (if you aren't already) and authorize HTMLPub to process payments on your behalf. Click Allow or Connect to complete the flow.
You'll be redirected back to HTMLPub automatically.
Step 4: Verify the connection
Back in Dashboard → Settings → Ecommerce, you should see a green "Connected" badge next to Stripe. That means you're ready to go.
Add a checkout button to your page
- Open any page in the HTMLPub editor
- Click the Checkout button in the toolbar
- Select Stripe as the gateway
- Set your product name, price, and currency
- Click Add checkout button with AI — the button gets injected into your page
Payments go directly to your Stripe account. HTMLPub never holds your funds.
Troubleshooting
"Stripe setup incomplete" warning? This means your Stripe account isn't fully activated yet. Go to your Stripe Dashboard and complete any outstanding onboarding steps (identity verification, bank account, etc.).
Need to disconnect? Go to Dashboard → Settings → Ecommerce and click Disconnect next to Stripe.