PayGate

works.iterative.service.payment.PayGate
See thePayGate companion object
trait PayGate

A PayGate service abstraction.

Service responsible for isolating the rest of the application from provider-specific info, eg. pay gate adapter.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ComGateLive

Members list

Value members

Abstract methods

def check: UIO[Unit]

Check that the remote service is available and the access is working.

Check that the remote service is available and the access is working.

Not expected to be called regularly, used mainly for tests or health checks maybe. Should do something simple, unobtrusive and read only on the pay gate side, while still validating the configuration parameters, eg. authorization and such.

Attributes

def create(info: PaymentInfo): UIO[Created]

Create the payment using API

Create the payment using API

Attributes

def handleNotify(result: Seq[(String, String)]): UIO[Processed]