Repository navigation
Show plan terms before creating approved checkout - #41
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Free customers can discover their workspace plans and use the API before paying.
dm checkoutnow previews the exact recurring terms by default and creates a Stripe checkout link only with--yes. Signup with--loginsaves the new credential and omits it from human and JSON output. Help, the Playbook and the agent plugin explain free counts/estimates, live allowances, customer approval and pending payment.Validation: full check passes (101 tests and public artifact guard); both package names install and run in a clean consumer; behavioral tests prove preview makes no checkout request and approval preserves pending-payment information. The plugin instructions pass all nine onboarding model scenarios.
This PR delivers source to the existing staging branch. It does not publish npm packages or change release gates.
Source-Issue: https://factory.dealmachine.com/work/WORK-4417
Coordinated record: https://github.com/DealMachine/dealmachine-factory/blob/2664486b0fd85678716004810e1fb8fba93a856e/changes/agent-onboarding.json
Staging only. API PR https://github.com/DealMachine/dealmachine-api/pull/135 deploys first. Author code/security review completed locally; existing tenant permissions, private gates and payment activation remain authoritative.