lunarphp/opayo has not been updated for Lunar v2. It remains a v1-only package, built against the v1 payment driver contract, and is not part of the v2 monorepo.
Do not follow v1 Opayo instructions against a v2 store — the package targets v1’s Lunar\Models\... namespace and payment driver contract, neither of which v2 uses.
Options
A v2-compatible Opayo driver would need a v2 testsuite, a lunar.opayo config namespace, and the amount/currency verification guard the v2 first-party drivers implement, in line with the requirements for any first-party payment driver.