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 从公开仓库中收录这些内容。

举报或申请下架