示例#1
0
 /**
  * @see PaymentApi::refund()
  * @dataProvider providerMockTransaction
  *
  * @param \PayU\Entity\Transaction\TransactionEntity $transaction
  */
 public function testRefund($transaction)
 {
     $this->markTestSkipped("PayU Latam doesn't implement REFUND in test environment");
     $mock = $this->object->authorizeAndCapture($transaction);
     $rs = $this->object->refund($mock->transactionResponse->orderId, $mock->transactionResponse->transactionId);
     $this->_testTransactionResponse($rs);
 }