Where an adapter gets the handler from: a handler, a BetterPayment instance
(its handler is used), or a function returning either. A function is called on
every request, so the instance can be created lazily (for example to keep
Next.js builds working without environment variables).
Where an adapter gets the handler from: a handler, a BetterPayment instance (its
handleris used), or a function returning either. A function is called on every request, so the instance can be created lazily (for example to keep Next.js builds working without environment variables).