Skip to content

Gate paid plugin type behind developer onboarding#345

Merged
simonhamp merged 1 commit into
mainfrom
paid-requires-onboarding
Apr 10, 2026
Merged

Gate paid plugin type behind developer onboarding#345
simonhamp merged 1 commit into
mainfrom
paid-requires-onboarding

Conversation

@simonhamp

@simonhamp simonhamp commented Apr 10, 2026

Copy link
Copy Markdown
Member

Summary

  • Disables the "Paid" plugin type radio option on both the create and edit-draft pages when the user has not completed developer onboarding (Stripe Connect)
  • Shows the disabled option with reduced opacity and a link to the developer onboarding flow
  • Adds server-side validation to block paid plugin creation/editing without completed onboarding
  • Updates existing paid plugin tests to include a developer account where needed

Test plan

  • 11 new tests in PluginPaidOnboardingTest covering UI visibility, server-side blocking, and the onboarding link
  • Existing PluginCreateTest and PluginStatusTransitionsTest pass (38 total)
  • Manual: visit create plugin page without developer onboarding — "Paid" option should be disabled with onboarding link
  • Manual: complete developer onboarding — "Paid" option should become selectable
  • Manual: edit a draft plugin without onboarding — same disabled behavior

🤖 Generated with Claude Code

Users must complete developer onboarding (Stripe Connect) before they
can select the "Paid" plugin type when creating or editing a draft plugin.
The option is visually disabled with a link to the onboarding flow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@simonhamp simonhamp marked this pull request as ready for review April 10, 2026 00:37
@simonhamp simonhamp merged commit 10e1aa7 into main Apr 10, 2026
2 checks passed
@simonhamp simonhamp deleted the paid-requires-onboarding branch April 10, 2026 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant