- STRIPE_CUSTOMER_PORTAL_NEXT_STEPS.md: Complete implementation guide - STRIPE_PORTAL_CONFIGURATION_STEPS.md: Step-by-step setup instructions - FIND_STRIPE_BANK_HOLDER_NAME.md: Locating bank account settings - STRIPE_FIX_FOR_JOHN_STROH.md: TSB-specific name matching fix - STRIPE_PAYOUT_DIAGNOSTIC.md: Troubleshooting failed payouts - STRIPE_BANK_NAME_MATCHING.md: TSB verification requirements - STRIPE_ACCOUNT_NAME_FIX.md: General account name resolution Critical for Oct 25 payout deadline 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
6.1 KiB
Stripe Customer Portal Configuration - Detailed Steps
Test Mode Configuration
Step 1: Navigate to Customer Portal Settings
- Open your web browser
- Go to: https://dashboard.stripe.com/test/settings/billing/portal
- You should see the "Customer portal" page with a toggle for "Test mode" in the top-right corner
- Ensure "Test mode" toggle is ON (blue)
Step 2: Activate the Customer Portal
You'll see one of two states:
If you see "Activate customer portal":
- Click the blue "Activate customer portal" button
If you see "Configure" or settings are already visible:
- Proceed to Step 3
Step 3: Configure Customer Information Section
Look for the "Customer information" section (usually at the top):
-
Find the checkbox labeled "Email address"
- ✅ Check this box
- This allows customers to update their email
-
Find the checkbox labeled "Payment methods"
- ✅ Check this box
- This allows customers to add/update payment methods
Step 4: Configure Subscription Settings
Scroll down to the "Subscriptions" section:
-
Find "Allow customers to cancel subscriptions"
- Click the toggle or checkbox to enable it (should turn blue/green)
-
Under "Cancellation behavior", select:
- Option: "Cancel at period end" (recommended)
- This means subscriptions stay active until the end of the billing period
-
Find "Cancellation survey"
- Click the toggle to enable it (should turn blue/green)
-
Click "Add question" or "Configure survey" button
Step 5: Configure Exit Survey Questions
Question 1 (Required):
-
Click "Add question"
-
Question type: Select "Multiple choice"
-
Question text: Type exactly:
Why are you cancelling? -
Required: Toggle ON (should be blue)
-
Answer options (click "Add option" for each):
- Too expensive
- No longer need it
- Found an alternative
- Not what I expected
- Other
-
For the "Other" option:
- ✅ Check "Allow text input" (this lets users explain further)
-
Click "Save" or "Add"
Question 2 (Optional):
- Click "Add question" again
- Question type: Select "Text"
- Question text: Type exactly:
How can we improve? - Required: Toggle OFF (leave unchecked)
- Click "Save" or "Add"
Step 6: Configure Invoice History
Scroll to the "Invoice history" section:
- Find "Show invoice history"
- ✅ Check this box or toggle ON
- This lets customers see past invoices and receipts
Step 7: Configure Business Information
Scroll to the "Business information" section:
-
Business name:
- Type:
Tractatus AI Safety Framework
- Type:
-
Support email:
- Type:
support@agenticgovernance.digital
- Type:
-
Privacy policy URL:
- Type:
https://agenticgovernance.digital/about/values.html
- Type:
-
Terms of service URL:
- Type:
https://agenticgovernance.digital/about/values.html
- Type:
Step 8: Review and Save
- Scroll to the bottom of the page
- Click the blue "Save changes" button
- You should see a green success message: "Customer portal settings updated"
Live Mode Configuration
Once Test Mode is working, repeat the EXACT same steps for Live Mode:
Step 1: Switch to Live Mode
- In the top-right corner of Stripe Dashboard, find the "Test mode" toggle
- Click it to switch to Live mode (toggle should turn OFF/gray)
- You may see a banner saying "You're now in live mode"
Step 2: Navigate to Live Customer Portal Settings
- Go to: https://dashboard.stripe.com/settings/billing/portal
- Note: This URL is slightly different (no
/test/)
- Note: This URL is slightly different (no
Step 3-8: Repeat Configuration
- Follow Steps 2-8 exactly as above
- Use the same settings, same text, same options
- CRITICAL: Don't skip any settings - Live and Test must match
Verification
Test Mode Verification:
- Go to http://localhost:9000/koha.html
- Scroll to "Manage Your Subscription" section
- Enter an email with a test subscription
- Click "Manage"
- You should be redirected to Stripe Customer Portal
- Verify you can see:
- ✅ Subscription details
- ✅ "Update payment method" option
- ✅ "Cancel subscription" option
- Click "Cancel subscription"
- Verify the exit survey appears with your two questions
Live Mode Verification:
- After deployment, go to https://agenticgovernance.digital/koha.html
- Repeat the same test with your live subscription email
- Test the full cancellation flow (you can cancel your $5 test subscription)
Troubleshooting
"No configuration provided" error:
- You haven't saved the portal configuration yet
- Go back to Step 8 and click "Save changes"
- Wait 30 seconds, then try again
Can't find "Customer portal" in settings:
- Make sure you're logged into the correct Stripe account
- Check that you have admin permissions
- Try this direct link: https://dashboard.stripe.com/test/settings/billing/portal
Changes not appearing:
- Hard refresh your browser (Ctrl+Shift+R or Cmd+Shift+R)
- Check you're in the correct mode (Test vs Live)
- Stripe portal settings can take 1-2 minutes to propagate
Exit survey not showing:
- Verify "Cancellation survey" toggle is ON
- Check that at least one question is added
- Try creating a new test portal session
Screenshots Reference (What You Should See)
Customer Portal Settings Page:
- Top section: "Customer portal" heading with Test mode toggle
- Left sidebar: Settings, Billing, Customer portal
- Main area: Multiple configuration sections with toggles and inputs
After Activation:
- Customer information section (2 checkboxes)
- Subscriptions section (cancellation toggle + survey)
- Invoice history section (1 checkbox)
- Business information section (4 text inputs)
- Blue "Save changes" button at bottom
Exit Survey Configuration:
- Question list with drag handles
- Each question shows type (Multiple choice / Text)
- Edit/Delete buttons on each question
- "Add question" button at bottom
Time Required: 10-15 minutes total Last Updated: 2025-10-18