コード例 #1
0
 /**
  * Constructor
  *
  * @param array $options
  */
 public function __construct(array $options = null)
 {
     parent::__construct($options);
     if (null === $this->getGatewayMethod()) {
         $this->setGatewayMethod('POST');
     }
 }
コード例 #2
0
 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');
     }
 }