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.
Configure all five modules, customize templates and prepare payments with a clear setup from first settings to LIVE readiness checks.
Step 1 / 7
Sign in and select an authorized merchant. Choose native PayFlow (Classic or Pro V7) or the separate Stripe Adapter V4.
Step 2 / 7
Classic keeps its independent design. In Pro V7, use Aurora Dark, Emerald and the existing V7 appearance settings.
Step 3 / 7
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
Set sender and reply-to, create audiences and add consented contacts with their names, salutation and language.
Step 5 / 7
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
Verify merchant identity, separate processor credentials, recurring consent, 3DS, signed webhooks, anti-replay and isolation tests.
Step 7 / 7
Signed and reconciled processor confirmation must precede a paid entitlement, paid receipt or automated message.
AI BUILDERS · DEVELOPERS · CHECKOUT
Developer and AI builder tutorial: design, plans, prices, currencies, Sandbox, integration and going LIVE.
Step 1 / 8
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 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
Customize the logo, colors, text, language, return pages and subscription flow. Use only approved hosted payment fields.
Step 4 / 8
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
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
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
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
Once approved, publish on /checkout and verify DNS, HTTPS, routing, redirects and webhooks. Activate subscriptions and issue paid receipts only after verified processor confirmation.
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 productsPaymentHub · Mathematical reference rule
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 = 4Documentation-only rule: it does not set prices, prove collection or activate the LIVE processor. Payments require independent processor confirmation.
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: payflow-sandbox.nagle-b42.workers.dev
Target URL (requires verification): payoptimum.org/checkout
{
"system": "payflow_native",
"merchant": "server_resolved",
"environment": "sandbox",
"plan_id": "starter",
"amount_minor": 1900,
"currency": "CHF",
"interval": "month"
}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
Event associations can be saved as settings. Real automatic dispatch stays disabled until provider connection and event signature are verified.
| Event | Module | Use |
|---|---|---|
| checkout_started | Checkout | Début du checkout |
| subscription_started | Billing Portal | Abonnement vérifié |
| payment_confirmed | Receipt | Paiement confirmé par le processeur |
| invoice_created | Invoice | Facture créée |
| payment_failed | Paiement refusé | |
| renewal_reminder | Rappel de renouvellement | |
| subscription_canceled | Billing Portal | Résiliation confirmée |
DEVELOPERS · AI BUILDERS · ANALYTICS
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