PayOptimum · Step-by-step

How to do.

Configure all five modules, customize templates and prepare payments with a clear setup from first settings to LIVE readiness checks.

Step 1 / 7

Choose the merchant and system

Sign in and select an authorized merchant. Choose native PayFlow (Classic or Pro V7) or the separate Stripe Adapter V4.

Step 2 / 7

Configure your branding

Classic keeps its independent design. In Pro V7, use Aurora Dark, Emerald and the existing V7 appearance settings.

Step 3 / 7

Create and save templates

Use Templates & Campaigns to save Checkout, Billing Portal, Receipt, Invoice and Email templates, assign an event and language. Drafts do not trigger actions.

Step 4 / 7

Configure senders and recipients

Set sender and reply-to, create audiences and add consented contacts with their names, salutation and language.

Step 5 / 7

Choose the subscription and test

In the Pricing Table, select the product only: Stripe Adapter, Aurora Classic or Aurora Pro 7. After starting checkout billing, select the plan (Starter €19, Pro €49, Enterprise €99) and currency (EUR, CHF, USD or GBP). No plan can be preselected earlier.

Step 6 / 7

Check LIVE readiness

Verify merchant identity, separate processor credentials, recurring consent, 3DS, signed webhooks, anti-replay and isolation tests.

Step 7 / 7

Validate payment, receipt and invoice

Signed and reconciled processor confirmation must precede a paid entitlement, paid receipt or automated message.

AI BUILDERS · DEVELOPERS · CHECKOUT

Create, customize and publish your checkout

Developer and AI builder tutorial: design, plans, prices, currencies, Sandbox, integration and going LIVE.

Step 1 / 8

Select the system and merchant

Use native PayFlow / PaymentHub for this checkout. Stripe Adapter is a separate system. Resolve merchant identity on the server, never from the browser.

Step 2 / 8

Create the checkout template

Create a Checkout draft in the template studio, select the authorized merchant and save. Use the PayFlow Sandbox checkout as the design reference.

Step 3 / 8

Change the design and steps

Customize the logo, colors, text, language, return pages and subscription flow. Use only approved hosted payment fields.

Step 4 / 8

Create subscriptions and edit prices

Configure each product with a stable ID, server-authoritative amount in minor units, billing interval, taxes and effective date. Reference EUR/month: Starter 19, Pro 49, Enterprise 99. Never trust browser-supplied prices.

Step 5 / 8

Change currencies

Enable CHF, EUR, USD or GBP only if supported for this merchant by the processor. Use a verified server price per currency or an approved FX policy.

Step 6 / 8

Integrate and test in Sandbox

Call an approved server-side session creator. Verify success, decline, cancellation, renewal, signed webhooks, replay protection and two-merchant isolation. Redirects never prove payment.

Step 7 / 8

Get approval before LIVE

Verify PaymentHub merchant approval, LIVE access, recurring plan mapping, consent, 3DS/SCA, signed webhooks and settlement. If can_collect=false, do not initiate real payments.

Step 8 / 8

Publish and verify payments

Once approved, publish on /checkout and verify DNS, HTTPS, routing, redirects and webhooks. Activate subscriptions and issue paid receipts only after verified processor confirmation.

Commercial flow: three products, three plans

1. Select only the product in the Pricing Table: Stripe Adapter V4, Aurora Classic or Aurora Pro 7. Each product has one card displaying Starter €19, Pro €49 and Enterprise €99 per month. These prices are not clickable.

2. Enter checkout with the selected product. 3. Start billing. Only then select the plan and currency (EUR, CHF, USD, GBP). No ?plan= links and no plan preselection before this step.

The server validates product, plan and currency amount. Real payments require processor approval and signed confirmation. Stripe Adapter stays independent from native PayFlow.

View the three products

PaymentHub · Mathematical reference rule

666 × 6 = 3 996

This identity provides a reproducible arithmetic check for builders and developers. All divisions below produce exact integers.

3 996 ÷ 111 = 363 996 ÷ 222 = 183 996 ÷ 333 = 123 996 ÷ 444 = 93 996 ÷ 666 = 63 996 ÷ 999 = 4

Documentation-only rule: it does not set prices, prove collection or activate the LIVE processor. Payments require independent processor confirmation.

Actual LIVE readiness

The current PayOptimum backend reports can_collect=false with no verified recurring billing contract. Publishing a site does not authorize collections; this page does not confirm a LIVE payment.

Sandbox reference and intended target

Sandbox: payflow-sandbox.nagle-b42.workers.dev

Target URL (requires verification): payoptimum.org/checkout

Configuration example only — not a LIVE endpoint

{
  "system": "payflow_native",
  "merchant": "server_resolved",
  "environment": "sandbox",
  "plan_id": "starter",
  "amount_minor": 1900,
  "currency": "CHF",
  "interval": "month"
}

Copy-ready AI builder prompt

Build a subscription checkout for PayOptimum using native PayFlow / PaymentHub, with the Sandbox checkout as visual reference and /checkout as intended route. Allow authorized merchants to configure plans, server-validated prices, ISO currencies, branding and language. Use an approved backend to create secure hosted payment sessions; do not collect raw card details or trust client merchant IDs or amounts. Start in Sandbox. Implement signed webhooks, idempotency, replay protection, merchant isolation, recurring consent and required 3DS/SCA. Never label a transaction paid until a verified provider event is reconciled. Keep collection disabled until LIVE processor approval is independently proven. Keep Stripe Adapter completely separate. Do not invent API endpoints or claim payments have been received.

Event triggers

Connect a template to an event

Event associations can be saved as settings. Real automatic dispatch stays disabled until provider connection and event signature are verified.

EventModuleUse
checkout_startedCheckoutDébut du checkout
subscription_startedBilling PortalAbonnement vérifié
payment_confirmedReceiptPaiement confirmé par le processeur
invoice_createdInvoiceFacture créée
payment_failedEmailPaiement refusé
renewal_reminderEmailRappel de renouvellement
subscription_canceledBilling PortalRésiliation confirmée

DEVELOPERS · AI BUILDERS · ANALYTICS

Send analytics events safely

analyticsIngest accepts events such as payment.succeeded with a private merchant key, a timestamp in milliseconds (five-minute window), and a unique nonce. Call it from your server, never expose credentials in public browser code. Recording an event never proves provider capture or settlement.

POST https://pay-optimum.base44.app/functions/analyticsIngest\nAuthorization: Bearer <server-only merchant key>\nX-Timestamp: <current unix milliseconds>\nX-Nonce: <new random unique id>\nContent-Type: application/json\n\n{"event_name":"payment.succeeded","amount":249.90,"currency":"CHF"}

Only emit payment.succeeded after verifying the underlying processor event server-side. Paid subscriptions require signed provider confirmation and reconciliation, not an analytics message.

Need the complete overview?

How it works · API docs · PayOptimum

How it works