HostedWebViewGateway
class HostedWebViewGateway(config: HostedGatewayConfig, relay: HostedCheckoutRelay) : PaymentGateway
The archetype-C PaymentGateway: renders a hosted checkout page in a Compose WebView and resolves on return-URL redirect, per HostedGatewayConfig. One instance is created per configured gateway (see di/HostedWebViewModule.kt), all sharing the one HostedCheckoutRelay.
prepare() does no network hop of its own — the consuming app's backend already builds the checkout URL params into CreatedOrder.providerParams. pay() suspends until the WebView screen detects a terminal return-URL and reports it back through the relay.