Cobro Claro · Stripe Checkout
Loading...
CC Cobro ClaroPayment dashboard
Modo prueba POwner●

Your business, in control

Payment Summary

Manage offers, share links, and review payments without touching sensitive data.

+New product
⌁
Estás en modo prueba

Puedes configurar el flujo sin cobrar dinero real. Cambia a producción solo cuando hayas verificado tu webhook.

Review settings
Active products0ready to sell
Registered payments0from your webhook
Collected volume$0.00confirmed payments

Recent activity

Changes arrive from Stripe events.

View products
↗

No payments yet

When your webhook confirms a payment, it will appear here.

Before activating production

Three quick checks.

  • ✓
    Owner permissionOnly your account manages the dashboard
  • 2
    Webhook configuredConfirms payments and refunds
    Open
  • 3
    Test paymentUse a dummy Stripe card
    Open

Catalog

Products and services

Each offer can generate a secure Checkout or a payment link.

+New product
i

Your secret key never reaches the browser. The backend must validate your owner session and create the prices in Stripe.

+

Create your first product

Define a clear price and share it once your Stripe connection is ready.

Create product

Control and security

Stripe Configuration

Separate test and production credentials on your server.

✓Permission: owner

Active environment

Charges will be created in the selected environment.

Test modeProduction
Backend pending connection

The panel is ready; the keys live only in server environment variables.

Check connection

Protected server variables

Configure them in your hosting provider, never in this HTML.

Server only
STRIPE_SECRET_KEYCreates Checkout, refunds, and Portal.••••••••••••••••
STRIPE_PUBLISHABLE_KEYIdentifies your account in public components.••••••••••••••••
STRIPE_WEBHOOK_SECRETVerify the signature of each event.••••••••••••••••
✓

Never save card data. Do not store full numbers, CVV, or secrets in products, history, or the browser.

Basic payment history

The webhook feeds this view with non-sensitive data.

↗

No history yet

Confirmed payments will appear once you connect the webhook.

Getting started

Connect Stripe without exposing secrets

A short path to move from test to production with clear controls.

01

Connect in your backend

Save the three environment variables on the server. This panel only calls authenticated endpoints; it never receives your secret key.

POST /api/checkout/sessionPOST /api/checkout/linkPOST /api/customer-portal
02

Configure the webhook

Verify the signature with STRIPE_WEBHOOK_SECRET and register payments, refunds, and subscription changes.

checkout.session.completedcharge.refundedcustomer.subscription.updated
03

Test before charging

Use Stripe's test mode and a dummy card from their documentation. Never test with other people's cards or make micro-charges.

Use test mode
04

Activate production

Once the webhook and return pages are working, change the keys on the server and confirm owner permission.

✓ Success page↩ Cancellation page

Recommended backend contract

The browser does not decide prices or permissions.

AuthorizationValidate session, owner role, and CSRF on every mutation.
CheckoutCreate the session with the product's Stripe Price, success_url, and cancel_url.
Customer PortalGenerate the link from the authenticated customer; do not expose other people's customer IDs.
Saved dataStatus, date, amount, currency, and Stripe reference; never card or CVV.
✓

Checkout completed

Thank you for your purchase

Your payment is being securely confirmed. You will receive the receipt from Stripe.

Back to dashboardView products

We do not display or store card data on this page.

↩

Checkout canceled

No charge was made

You can review the offer and try again whenever you want. Your card information never reaches this dashboard.

View productsBack to dashboard

Catalog

Nuevo producto

×
NameDescription
PriceCurrency
Billing typeAvailable for saleYou can deactivate it without deleting its history.

✓The price is re-validated on your server before creating the Checkout.

CancelSave product