SilverStripe\Omnipay\Service\ServiceFactory::createPaymentService
Create a payment service. This will either return an AuthorizeService or PurchaseService, depending on the gateway config.
Signature
protected function createPaymentService(Payment
$payment )
Parameters
$payment
— SilverStripe\Omnipay\Model\Payment
Returns
- PaymentService