Skip to content

Release v0.0.9

Choose a tag to compare

@github-actions github-actions released this 26 May 22:31
3f6307b

SumUp Terminal for WooCommerce 0.0.9

Highlights

  • Adds a hybrid SumUp SDK integration: sites running PHP 8.2+ use the prefixed official sumup/sumup-php SDK for supported reader operations.
  • Keeps WordPress HTTP as the compatibility client for PHP 7.4-8.1, so the plugin PHP requirement remains PHP 7.4+.
  • Adds a settings status card that explains whether the official SDK or WordPress HTTP compatibility client is active.

Changes

  • Removed the unused sumup/sumup-ecom-php-sdk dependency.
  • Bundled a prefixed copy of the official SumUp PHP SDK and guarded its autoloader so PHP versions below 8.2 never parse SDK files.
  • Split reader API transport code behind a shared client interface, with SDK calls falling back to the WordPress HTTP client on SDK exceptions.
  • Added SDK reader response normalization to preserve the existing array shape consumed by the gateway.
  • Added activation/runtime guards for unsupported PHP versions below the plugin minimum.
  • Documented the SDK/compatibility-client decision in docs/adr/0001-sumup-sdk-hybrid.md.
  • Included regression coverage for activation, conditional SDK autoloading, compatibility messaging, pairing payloads, and SDK reader normalization.

Compatibility notes

  • Minimum plugin runtime remains PHP 7.4.
  • The official SumUp SDK path is active only on PHP 8.2+ when the bundled prefixed SDK is available.
  • Sites on PHP 7.4-8.1 continue to use the WordPress HTTP compatibility client; payments can still work normally.