/** * Constructor * * @param array $options */ public function __construct(array $options = null) { parent::__construct($options); if (null === $this->getGatewayMethod()) { $this->setGatewayMethod('POST'); } }
public function __construct(array $options = null) { parent::__construct($options); if (null === $this->getGatewayUrl()) { //https://test.authorize.net/gateway/transact.dll $this->setGatewayUrl('https://secure.authorize.net/gateway/transact.dll'); } if (null === $this->getGatewayVersion()) { $this->setGatewayVersion('3.0'); } }