We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

Commit 87c6f398 authored by Aleffio's avatar Aleffio

Changed the action of the cancel button to do a cancellation rather than a cancel_or_refund.

Fixes #135
parent 7a5f8041
......@@ -88,7 +88,7 @@ class TransactionCancel implements ClientInterface
$service = new \Adyen\Service\Modification($this->_client);
try {
$response = $service->cancelOrRefund($request);
$response = $service->cancel($request);
} catch(\Adyen\AdyenException $e) {
$response = null;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment