Inheritance: extends Omnipay\Tests\GatewayTestCase
Exemplo n.º 1
0
 public function setUp()
 {
     parent::setUp();
     $this->gateway = new AopWapGateway($this->getHttpClient(), $this->getHttpRequest());
     $this->gateway->setAppId($this->appId);
     $this->gateway->setPrivateKey($this->appPrivateKey);
     $this->gateway->setNotifyUrl('https://www.example.com/notify');
     $this->gateway->setReturnUrl('https://www.example.com/return');
 }
Exemplo n.º 2
0
 public function setUp()
 {
     parent::setUp();
     $this->gateway = new AopF2FGateway($this->getHttpClient(), $this->getHttpRequest());
     $this->gateway->setAppId($this->appId);
     $this->gateway->setPrivateKey($this->appPrivateKey);
     $this->gateway->setEncryptKey($this->appEncryptKey);
     $this->gateway->setNotifyUrl('https://www.example.com/notify');
     $this->gateway->sandbox();
 }
 public function setUp()
 {
     parent::setUp();
     $this->gateway = new LegacyWapGateway($this->getHttpClient(), $this->getHttpRequest());
     $this->gateway->setPartner($this->partner);
     $this->gateway->setKey($this->key);
     $this->gateway->setSellerId($this->sellerId);
     $this->gateway->setNotifyUrl('https://www.example.com/notify');
     $this->gateway->setReturnUrl('https://www.example.com/return');
     $this->options = ['out_trade_no' => '2014010122390001', 'subject' => 'test', 'total_fee' => '0.01', 'show_url' => 'https://www.example.com/item/123456'];
 }
 public function setUp()
 {
     parent::setUp();
     $this->gateway = new LegacyAppGateway($this->getHttpClient(), $this->getHttpRequest());
 }