A source code handover for a Chinese-built shopify app should run as a sequenced transfer with a checkable artifact at each step, not as a final meeting where files are shared at the end. The sequence covers the code repository and its history, the API scopes the app requests, the operational accounts under which it runs, the billing and third-party provider accounts, the data records the bot holds, the runbook, and a dry-run deployment by someone other than the author. This article walks that sequence in order, with what to verify at each step and where the order notification and other automation flows must keep working after the transfer. A handover that cannot be repeated from the delivered artifacts is not a completed handover, regardless of how well the app runs in the vendor’s environment.
Pre-handover week: confirm the delivery list and freeze scope
Before the transfer begins, the buyer and vendor agree the delivery list in writing: repository, environment configuration, app registration details, connected service accounts, data export format, runbook, and any documentation for rules and connectors. Scope should freeze during the handover period, so no new feature work changes the code while the transfer is being verified. Any open defect or pending change should be listed with its status, so the buyer knows what is accepted as working, what remains open, and what is excluded from the build.
This week also confirms the account ownership map: which accounts the vendor currently holds, which transfer to the buyer, and which remain vendor-licensed tooling. For an order notification bot this includes the messaging or email provider account, the app development or partner account, the hosting account, and any database or queue service. The pre-handover list becomes the acceptance checklist the final milestone references, so the handover is measured against agreed artifacts rather than a last-minute verbal summary.
Step one: transfer the repository and verify commit history
The code transfers first. The repository should move to the buyer’s namespace or organization, with full commit history, branch or tag markers for releases, and no dependency on a private repository the vendor keeps controlling. Buyers should check that commit dates spread across the project period rather than appearing as a single import commit at the end, which would indicate the code was assembled for handover rather than developed incrementally. The repository should include application code, configuration templates, connector mappings, and test fixtures, not only the production source.
A README or developer note should explain local setup, test commands, and the project’s main components: the app backend, webhook handlers, connector layer, and any background workers. Comments in the code should reflect the current logic rather than leftover notes from earlier iterations, and any hard-coded values that belong in configuration should be flagged for cleanup. A buyer who cannot orient themselves in the delivered code within an hour of reading the README has received an under-documented handover, even if the app itself runs.
Verify the code builds and installs from the delivered repository.
A third developer or the buyer’s own engineer should be able to read the project structure, identify the entry point, and follow how the app registers its routes and webhooks. Dependencies should be listed with versions, so the build can be reproduced without guessing which libraries were used. If the build depends on vendor-owned proprietary modules that are not transferred, those parts must be identified as licensed tooling, and the agreement should state what the buyer may do with the custom layer around them.
Step two: review and confirm the API scopes
Scope review follows the code transfer. The app’s requested API permissions should be listed and matched to the workflows the bot performs. A notification bot that only reads order events should not hold broad write access; any write scope should tie to a specific action such as applying a discount or updating an order note. Overbroad scopes are both a security exposure and an app review risk, and they should be narrowed during handover if the original build requested more than the current function needs.
Check how scopes are configured in the app registration and whether scope changes require reinstallation or reauthorization. The handover should document which scopes are active, why each is required, and which data each one can read or write. Webhook topics the app subscribes to should be listed alongside the scopes, with the signature verification method noted. This scope record also helps the buyer audit the app later: if a workflow is removed, the corresponding scope should be removed with it, rather than left attached to the store.
Step three: transfer operational and provider accounts
Account transfers happen next, each as an account-level change rather than a promise that the vendor will keep paying or managing the service. The app development or partner account, hosting account, database, message provider, and any queue or storage service should either move to the buyer’s control or be granted buyer-admin access with a documented exit path. Credentials and secrets should rotate at handover: vendor-held tokens and webhook secrets should be revoked and replaced with new ones the buyer controls, because a secret that survives in chat logs or old config files is a standing back door.
For notification and messaging channels, verify the channel account belongs to the buyer’s business identity, not a personal or vendor-managed line. Contact lists, approved templates, and sender profiles should be accessible from the transferred account. The vendor should hand over any two-factor recovery details or recovery contacts needed to retain account access after the relationship ends. Account ownership patterns for remote Chinese development are covered in vendor handover and account ownership, and the same questions apply to every connected service, not just the main messaging provider.
Step four: sort out billing, subscriptions, and third-party fees
License and usage terms should be reviewed alongside billing. Any third-party libraries, fonts, templates, or commercial modules bundled into the build need their own usage rights confirmed, so the buyer does not inherit a license that limits how the app may be operated or resold. Open-source components should be listed with their license types, and the agreement should state which parts of the custom code the buyer owns outright versus which remain under the vendor’s license.
Billing handover clarifies who pays what and where invoices land.
Any app billing through the Shopify billing system should be reviewed for who owns the subscription and how cancellation or migration works. Third-party provider fees should be billed under the buyer’s own account where possible, so message or call charges track to the store rather than a vendor platform. If the vendor bundles provider fees into a monthly charge, the handover should expose the underlying rate and volume, so the buyer can audit the markup and move providers later if needed.
Cross-border payment arrangements for the remaining retainer should be documented: currency, invoice format, transfer details, and any fees. The agreement should state whether post-handover support continues under a retainer, what that retainer covers, and how it ends. Records of past invoices and payment status should be transferred so the buyer’s finance team can reconcile the relationship. Exit billing provisions matter here: no hidden lock-in where cancelling support leaves a recurring charge attached to an account the buyer cannot close.
Step five: export data and verify the deletion path
Data records transfer next. The bot’s stored contact details, order references, conversation or message history, suppression lists, and configuration rules should export in a readable format such as CSV or JSON, with field labels explained. The buyer should verify the export matches what the system holds: record counts, date ranges, and sample records checked against the live data. Suppression and opt-out records are especially important, because losing them means a later rebuild could re-message people who asked to stop.
The retention and deletion path should be documented: what the bot stores, for how long, who can read it, and how deletion works at exit. The vendor should confirm what records remain on their systems after handover and when they are removed. If the bot processed cross-border or customer-sensitive data, this deletion confirmation should be in writing, since it may be needed for later compliance review. Data export and deletion are part of acceptance, not a request the buyer can make after the final payment.
Step six: handover session and dry-run deployment
The final step is a handover session in which someone other than the author deploys from the delivered repository to a fresh environment following the runbook. The runbook should cover prerequisites, environment setup, configuration and secrets placement, deployment steps, restart and rollback, and how to check that the app is healthy. The dry run should register a test app, configure scopes and webhooks, run a test order through the notification flow, and verify messages and suppression behave as expected. If the deployment fails because a step was undocumented or a dependency was missing, the handover is not complete.
Post-handover health checks should monitor the app’s normal signals: webhook deliveries processed, messages sent and failed, queue depth, and any source mismatches. How to set up these checks and what freshness signals to watch follows the approach used in post-handover health checks. The final payment should be contingent on the dry run passing and the artifact list being complete. After stabilization, the buyer retains the repository, accounts, data, and runbook, which means another developer can continue operating the app without the original Chinese team’s ongoing involvement.
Leave a Reply