Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 01 Mar 09:02
· 67 commits to main since this release
dc64151

What's New

Plugin Rename

  • Renamed from "WooCommerce POS - Vipps MobilePay" to WCPOS Vipps MobilePay — both the plugin name and gateway title now use the shorter, cleaner name.

Debug Logging

  • New Debug Log checkbox in gateway settings (WooCommerce > Settings > Payments > WCPOS Vipps MobilePay).
  • When enabled, all API requests, responses, and errors are written to WooCommerce > Status > Logs with source wcpos-vipps.
  • A live log panel appears on the checkout screen — a collapsible textarea showing real-time payment events (server-side API activity and client-side flow events). Server-side entries are buffered per-order in WordPress transients and delivered via the existing polling AJAX responses, so there are no extra HTTP requests.

Visual Refresh

  • Updated to official Vipps MobilePay brand colors (orange #FF5B24, blue #5A78FF, dark #161225).
  • CSS custom properties for consistent theming throughout.
  • Polished button hover effects, focus rings, status message styling, and fade/scale-in animations.
  • Cancel button uses outlined style that fills on hover.

Testing & CI

  • PHPUnit test suite with Brain\Monkey (Logger, Api, Gateway, AjaxHandler).
  • Vitest + React Testing Library for frontend components.
  • GitHub Actions workflows for linting, testing, dependency review, and releases.
  • Dependabot configured for automated dependency updates.

React Frontend (experimental)

  • Payment UI rebuilt with React + TypeScript + Vite.
  • useVippsPayment hook manages the polling state machine.
  • Separate components for phone input, action buttons, QR display, and status messages.

Full Changelog

v0.1.0...v0.2.0