We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit f1a42d48 authored by Rik ter Beek's avatar Rik ter Beek Committed by GitHub

Merge pull request #145 from Adyen/develop-ale

Changed the action of the cancel button to do a cancellation rather than a cancel_or_refund.
parents 506825ca 87c6f398
...@@ -88,7 +88,7 @@ class TransactionCancel implements ClientInterface ...@@ -88,7 +88,7 @@ class TransactionCancel implements ClientInterface
$service = new \Adyen\Service\Modification($this->_client); $service = new \Adyen\Service\Modification($this->_client);
try { try {
$response = $service->cancelOrRefund($request); $response = $service->cancel($request);
} catch(\Adyen\AdyenException $e) { } catch(\Adyen\AdyenException $e) {
$response = null; $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