SilverStripe\Omnipay\GatewayFieldsFactory::cullForGateway
Clear all fields that are not required by the gateway. Does nothing if gateway is null
Signature
protected function cullForGateway(&
$fields,
[array
$defaults = ] )
Parameters
$fields
—$defaults
— array