Skip to content

docs: add migration guide from official SDK#7

Merged
mjarestad merged 1 commit into
nordkit:mainfrom
looooown2006:docs/migration-from-official-sdk-3
May 29, 2026
Merged

docs: add migration guide from official SDK#7
mjarestad merged 1 commit into
nordkit:mainfrom
looooown2006:docs/migration-from-official-sdk-3

Conversation

@looooown2006

Copy link
Copy Markdown
Contributor

Summary

Adds a migration guide for teams moving from the older official PHP SDK, sveaekonomi/checkout, to nordkit/svea.

The guide covers:

  • why migrate;
  • configuration mapping from the old connector setup to config/svea.php / environment variables;
  • side-by-side examples for checkout, admin, refund/cancel, and webhook flows;
  • response mapping and migration gotchas;
  • testing the migrated flow with Svea::fake().

It also wires the page into the VitePress sidebar under Guide -> Migration.

Verification

  • git diff --check
  • npm run build in docs/
  • npx --yes markdown-link-check docs/guide/fluent-builders.md
  • gh repo view sveawebpay/php-checkout --json nameWithOwner,url,defaultBranchRef

Note: local markdown-link-check reached all internal migration-guide links but returned Status: 0 for the external GitHub URL in this network environment. The URL was separately verified with gh repo view.

Closes #3.

@looooown2006
looooown2006 marked this pull request as ready for review May 8, 2026 11:38
@mjarestad
mjarestad merged commit e245e7f into nordkit:main May 29, 2026
6 checks passed
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.

docs: write a migration guide from sveaekonomi/checkout to nordkit/svea

2 participants