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 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