You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.