Upgrade Sumup

作者 sumupcb72003b417cApache-2.0收錄於 2026年10月8日更新於 2026年10月8日

Guide for upgrading SumUp API versions and server/mobile SDKs (@sumup/sdk, sumup-go, sumup Python, PHP, Java, Rust, .NET, iOS Terminal, Android Reader, Swift Checkout, React Native). Use when bumping SumUp SDK versions or migrating off deprecated endpoints.

AI 產生的概覽

指導升級 SumUp API 版本與伺服器或行動端 SDK,涵蓋破壞性變更、移轉步驟、驗證與復原。

功能
提供升級 SumUp API 版本與 SDK 的結構化流程,涵蓋 @sumup/sdk、sumup-go、sumup Python、PHP、Java、Rust、.NET、iOS Terminal、Android Reader、Swift Checkout 與 React Native。內容包括升級前盤點、破壞性變更比對、移轉實作、升級後驗證,以及分階段推出與復原。另提供移轉檢查清單與升級回覆所需的回應契約。
適用情境
適用於升級 SumUp SDK 版本、從已棄用的端點移轉,或規劃伺服器、行動端與 UI 整合的版本升級。適合處理升級、版本更新、棄用或移轉相關請求。
執行需求
沒有指令碼,僅有指示。內容引用 SumUp 開發人員文件與版本資訊,因此能連線至這些來源會有幫助。此技能本身不需要認證資訊。

SumUp Upgrade and Migration Guide

Knowledge and APIs can change. Always prefer current official docs and release notes.

  • Docs root: https://developer.sumup.com/
  • LLM entrypoint: https://developer.sumup.com/llms.txt

Use this skill when the request is about upgrades, version bumps, deprecations, or migrations.

Supported Upgrade Targets

  • Node: @sumup/sdk
  • Go: sumup-go
  • Python: sumup
  • PHP, Java, Rust, .NET SDK/client integrations
  • iOS Terminal SDK
  • Android Reader SDK
  • Swift Checkout SDK
  • React Native SDK
  • Checkouts API and related webhook/3DS endpoint usage

Upgrade Workflow

1) Pre-upgrade inventory

Capture:

  • Current SDK/library versions by service/app.
  • All used SumUp endpoints and fields.
  • Auth mode (API key/OAuth), scopes, and webhook signature setup.
  • Environments impacted (sandbox, staging, production).

2) Breaking-change diff

For each SDK or endpoint migration:

  • Compare changelog and migration notes.
  • Identify renamed/removed fields, enums, and callback signatures.
  • Identify behavior changes in async/payment status semantics.
  • Identify deprecated endpoints and required replacements.

3) Migration implementation

  • Upgrade one surface at a time (server SDK, then mobile SDK, then UI integration).
  • Keep a compatibility adapter where necessary to isolate application code from SDK changes.
  • Replace deprecated endpoints with current equivalents, preferring endpoints that accept merchant_code where applicable.
  • Keep webhook verification and idempotency logic unchanged unless required.

4) Post-upgrade validation

  • Run happy path payment in sandbox.
  • Run deliberate failure (amount = 11) and verify order state remains unpaid.
  • Verify 3DS redirect/challenge and return handling.
  • Verify webhook retries and idempotent processing.
  • Verify duplicate reference behavior and reconciliation fields.

5) Rollout and rollback

  • Roll out in stages (internal -> low-volume -> full traffic).
  • Add release toggles where practical.
  • Keep previous version rollback path ready until metrics are stable.

Migration Checklist

  • All deprecated SumUp endpoints removed from active code paths.
  • SDK major/minor versions pinned consistently across services/apps.
  • Any generated API clients re-generated and committed.
  • Integration tests updated for new response shapes.
  • Runbook updated with new status/error codes.
  • Monitoring alerts reviewed for new failure signatures.

Required Response Contract

Every upgrade answer should include:

  1. Current state summary and target version.
  2. Breaking changes and affected code surfaces.
  3. Minimal safe migration sequence.
  4. Validation plan including forced-failure path.
  5. Rollback strategy and go/no-go criteria.

來源與署名

來源:sumup/sumup-skills位於skills/upgrade-sumup提交cb72003

授權條款: Apache-2.0

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架