Skip to content

Two interfaces that do not match

Your code expects a PaymentGateway interface. A third-party library provides equivalent functionality with entirely different method names.

What is the standard approach?