feat(skill): TurboQuote payments in the agentic quickstart - #10
Draft
nicolasiscoding wants to merge 5 commits into
Draft
feat(skill): TurboQuote payments in the agentic quickstart#10nicolasiscoding wants to merge 5 commits into
nicolasiscoding wants to merge 5 commits into
Conversation
- SKILL.md: opt-in product paragraph, /turbodocx-sdk turboquote shortcut,
Phase 6.4 generate block, description + version bump (1.4.0 -> 1.5.0)
- references/{javascript,python,go,php,java}.md: full TurboQuote section
(configure with apiKey+orgId/no senderEmail, key methods, 47-method
reference table, gotchas) mirroring the TurboWebhooks sections
- env-vars.md: TurboQuote shares TURBODOCX_API_KEY + TURBODOCX_ORG_ID
- evals/evals.json: 5 TurboQuote evals (Express, FastAPI, Laravel, Go
net/http, Spring Boot)
- plugin.json: version + description + keywords
createPriceBook now includes all four required fields (name, priceBookTypeId, validFrom, discountPercent); createProduct/createBundle include required categoryId + item unitPrice/billingFrequency; addBundleLineItems includes bundleName; custom line items send explicit productId null; removed a non-existent 'notes' field on createQuote. Verified against SDK source + live backend.
Adds references/ruby.md (TurboSign, Deliverable, TurboPartner, TurboWebhooks, TurboQuote) authored from the real Ruby SDK, wires Ruby into SKILL.md (Gemfile/gemspec detection, bundler/gem install, Phase 5 reference, coverage lines, shortcuts, frontmatter), and adds Ruby evals 29-31 (Rails+TurboSign, Rails+Webhooks, Sinatra+Deliverable). Eval run: 100% pass, ~41% faster / 22% fewer tokens vs the pre-Ruby baseline.
This reverts commit 548cca2.
- SKILL.md: scaffold the payments path when a user asks to collect payment on quotes — getPaymentConnectionStatus (gate), createPaymentLink, getPaymentStatus, and a quote.payment.succeeded webhook handler (verifyWebhookSignature + TURBODOCX_WEBHOOK_SECRET). Onboarding stays a one-time UI step, not the SDK. - references/javascript.md: 'Online payments' section (link/status/connection + webhook handler). - evals.json: eval #29 for the payments scenario. JS/TS first; Python/Go/PHP/Java references + evals to follow.
Member
Author
|
SDK PR: TurboDocx/SDK#35 (draft) — JS SDK payments methods + runnable E2E example (verified live). |
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.
Summary
Adds the collect-payment-on-quotes path to the
/turbodocx-sdkskill. (Layered on the TurboQuote-skill branch; that work is included in this draft's diff vs main.)Payments changes (this PR's focus):
getPaymentConnectionStatus(gate onchargesEnabled),createPaymentLink,getPaymentStatus, and aquote.payment.succeededwebhook handler (verifyWebhookSignature+TURBODOCX_WEBHOOK_SECRET). Provider onboarding stays a one-time UI step.Status
Backed by the implemented + live-verified backend/SDK payments feature. JS/TS first; Python/Go/PHP/Java references + evals + an eval-suite run to follow. Draft.