public function setUp() { parent::setUp(); $this->request = new ExpressAuthorizeRequest($this->getHttpClient(), $this->getHttpRequest()); $this->request->initialize(array('amount' => '10.00', 'returnUrl' => 'https://www.example.com/return', 'cancelUrl' => 'https://www.example.com/cancel')); }
public function setUp() { parent::setUp(); $this->request = new DirectAuthorizeRequest($this->getHttpClient(), $this->getHttpRequest()); $this->request->initialize(array('amount' => '12.00', 'transactionId' => '123', 'card' => $this->getValidCard())); }
public function setUp() { parent::setUp(); $this->request = new RefundRequest($this->getHttpClient(), $this->getHttpRequest()); $this->request->initialize(array('amount' => '12.00', 'transactionReference' => '{"SecurityKey":"JEUPDN1N7E","TxAuthNo":"4255","VPSTxId":"{F955C22E-F67B-4DA3-8EA3-6DAC68FA59D2}","VendorTxCode":"438791"}', 'testMode' => true)); }