public function testPayCompleteV2() { $saferpay = new Saferpay(); $saferpay->setHttpClient(new BuzzClient()); $payConfirmParameter = new PayConfirmParameter(); $payConfirmParameter->setId('WxWrIlA48W06rAjKKOp5bzS80E5A'); $payConfirmParameter->setAmount('1200'); $payConfirmParameter->setAccountid('99867-94913159'); $payCompleteResponse = $saferpay->payCompleteV2($payConfirmParameter, 'Settlement'); /** @var PayCompleteResponse $payCompleteResponse */ $this->assertEquals(0, $payCompleteResponse->getResult()); }
public function testPayCompleteV2() { $saferpay = new Saferpay(); $saferpay->setHttpClient(new BuzzClient()); $payConfirmParameter = new PayConfirmParameter(); $payConfirmParameter->setId('Ojp5Ibbz769YtAC7S92IAtGx6GYA'); $payConfirmParameter->setAmount('1200'); $payConfirmParameter->setAccountid('99867-94913159'); $payCompleteResponse = $saferpay->payCompleteV2($payConfirmParameter, 'Settlement'); /** @var PayCompleteResponse $payCompleteResponse */ $this->assertEquals(0, $payCompleteResponse->getResult()); }
public function testPayCompleteV2() { $saferpay = new Saferpay(); $saferpay->setHttpClient(new BuzzClient()); $payConfirmParameter = new PayConfirmParameter(); $payConfirmParameter->setId('v9OUt6A2S667tAzGzIMbAhGtbptA'); $payConfirmParameter->setAmount('1200'); $payConfirmParameter->setAccountid('99867-94913159'); $payCompleteResponse = $saferpay->payCompleteV2($payConfirmParameter, 'Settlement'); /** @var PayCompleteResponse $payCompleteResponse */ $this->assertEquals(0, $payCompleteResponse->getResult()); }