SilverStripe\Omnipay\Service\PaymentService::oGateway
Get the omnipay gateway associated with this payment, with configuration applied.
Signature
public function oGateway()
Returns
- GatewayInterface|AbstractGateway
- omnipay gateway class
Errors/Exceptions
-
RuntimeException
- - when gateway doesn't exist.