Payment: Complete Checkout to Activation
Property: ChurchWiseAI Category: payment_processing
Tier:
all
Persona: pastor-buyer
Touchpoint: /pricing, /onboard, Stripe checkout, /admin
Preconditions
- Stripe test/live mode configured
- Test cards available (4242, 4000 0000 0000 0002)
Steps
| # | Action | Expected Result |
|---|---|---|
| 1 | Navigate to /pricing and select a plan | Plan selected. CTA button directs to /onboard with plan param. |
| 2 | Complete onboard form | Form validates. Submit button enabled. No validation errors on valid input. |
| 3 | Click Create Church / Get Started | Redirects to Stripe checkout. Amount shown is correct (no math errors). |
| 4 | Complete payment with test card 4242 4242 4242 4242 | Payment succeeds. Stripe returns success status. |
| 5 | Redirected to /admin/[token] after success | Dashboard loads immediately. No delays or blank screens. |
| 6 | Verify church is provisioned | Church appears in database. Can query /api/admin/settings. |
| 7 | Verify chatbot is active | Can test chatbot on dashboard. Widget responds to messages. |
| 8 | Verify webhook processed subscription | Stripe subscription shows as active in database. Next billing date set. |
| 9 | Test declined card flow | Send declined card (4000 0000 0000 0002). Payment fails. User sees error. Can retry. |
Known Failure Modes
- Checkout amount wrong — customer charged incorrectly
- Payment succeeds but dashboard doesn't load — frustration
- Webhook doesn't fire — subscription not created, can't access product
- Chatbot doesn't work immediately — customer refunds within 7 days
References
- Playwright spec:
e2e/journeys (conceptual) - Code files:
Notes
CRITICAL PATH: End-to-end payment from pricing through chatbot activation. If payment flow breaks, revenue goes to zero. Must test regularly. Verify correct amounts, successful payment, immediate provisioning, chatbot working. This test directly impacts cash flow.