SilverStripe\Omnipay\Service\PaymentService::initiate
Initiate a gateway request with some user/application supplied data.
Signature
public function initiate([array
$data = ] )
Parameters
$data
— array- payment data
Returns
- ServiceResponse
- the service response
Errors/Exceptions
-
InvalidStateException
- when the payment is in a state that prevents running `complete`
-
InvalidConfigurationException
- when there's a misconfiguration in the module itself