AstroBaaS

Checkout & payments

Production Payment Gateway Certification

Paid pluginsize Splanned, not built

Indicative price, not an offer: $99–299 one-time or $49–99/year

Generated from docs/plan/paid/production-payment-gateway-certification/PLAN.md in the AstroBaaS repository. Nothing described below is implemented — it is the written plan for it.

Payment integrations (Stripe, PayPal, Klarna) are sandbox-verified but untested in production. This paid service includes credential sign-off, PCI compliance audit, and live gateway certification before going live.

The problem

My payment integrations work in sandbox, but I’m nervous about going live without professional sign-off. I need PCI compliance documentation and a guarantee that live transactions work before accepting real customer money.

What it does

  • Credential validation: review merchant’s production API keys, webhook secrets, and merchant account setup
  • PCI audit: confirm AstroBaaS does not store card data, only session ids and webhooks (self-assessment checklist)
  • Sandbox round-trip test: run a live transaction in sandbox on each provider (Stripe, PayPal, Klarna) and confirm state machine works
  • Webhook verification: test webhook delivery, signature validation, and idempotency
  • Documentation: provide merchant with PCI compliance report and go-live checklist
  • Support: email support for go-live questions (included in the service cost)

What it deliberately does NOT do

Each boundary carries its reason. A boundary without a reason gets crossed by the next person who reads this.

  • Full PCI-DSS audit by third-party — this module is a self-assessment and checklist, not a formal audit. Merchants who need formal attestation hire a QSA (Qualified Security Assessor).
  • Ongoing monitoring or incident response — one-time service, not managed support.

Data model

No new data model. Create a Certification record (internal): { merchant_id, certified_at, providers: ['stripe', 'paypal'], pci_checklist_version, signed_by (support agent id) }.

API

  • POST /api/certification/start-audit — merchant initiates; system collects their production credentials (securely)
  • POST /api/certification/run-sandbox-test/{provider} — run live sandbox test
  • GET /api/certification/report — download PCI compliance report (PDF)

Every route added here must also appear in src/pages/openapi.json.ts — a test fails the build if it does not.

Admin

New ‘Go Live Certification’ panel. Merchant uploads production credentials (via secure form, not saved to DB). System runs sandbox tests for each provider, generates a checklist, and produces a PDF report. Merchant downloads report and shares with their payment processors if needed.

The seam — why this is paid

This is a paid service, not a core feature. Core owns the payment integrations; certification is a support + validation layer on top.

Support commitment for certification. Includes PCI audit, production gateway testing, webhook signature validation, and live transaction monitoring.

Dependencies

  • adyen-payment-gateway, bnpl, apple-pay-google-pay-setup, paypal-suite-expansion — each payment integration can request certification

Acceptance checks

Each of these must be able to fail. Before claiming this is done, break the code deliberately and watch each one go red.

  • Merchant initiates certification; uploads production Stripe key, PayPal credentials, Klarna account
  • System runs sandbox tests: creates test order, calls Stripe, PayPal, Klarna APIs, confirms 200 responses and correct state transitions
  • PCI checklist generated: confirms AstroBaaS does not store PANs, uses secure webhook verification, etc.
  • Report downloaded as PDF: merchant reviews and archives
  • Merchant goes live; support confirms ‘certified’ status in their account
  • Certification valid for 1 year; expiry warning sent 30 days before renewal needed

Risks

False sense of security: this certification is not a PCI audit and does not protect the merchant if data is breached. It’s a checklist, not a guarantee. Merchants must still monitor their own security. Credential handling: production credentials are sensitive; the secure-form upload and deletion must be audited. Credentials are never logged or stored persistently. Test pollution: sandbox tests create real (though reversible) transactions; if test orders are not cleaned up, they pollute reporting.

Commercial context

Suggested price$99–299 one-time or $49–99/year
Rival anchorMagento has a decade of production volume. AstroBaaS’s integrations ship sandbox-verified but lack production hardening proof.

The anchor is what the nearest equivalent charges on Shopify or Magento today. It is context for a pricing decision, not the decision.


Generated from the commerce plan. See docs/COMMERCE-PLAN.md for the full catalogue and ../../AI-GUIDE.md for how to work on this repository.