$order->addStatusHistoryComment(__('3D-secure validation was unsuccessful.'))->save();
/*
* Since responseCode!='Authorised' the order could be cancelled immediately,
* but redirect payments can have multiple conflicting responses.
* The order will be cancelled if an Authorization Success=False notification is processed instead
*/
$order->addStatusHistoryComment(__('3D-secure validation was unsuccessful. This order will be cancelled when the related notification has been processed.'))->save();
// Move the order from PAYMENT_REVIEW to NEW, so that can be cancelled
You can create issues on our Magento Repository. In case of specific problems with your account, please contact <a href="mailto:support@adyen.com">support@adyen.com</a>.
If you have a feature request, or spotted a bug or a technical problem, create a GitHub issue. For other questions, contact our [support team](https://support.adyen.com/hc/en-us/requests/new?ticket_form_id=360000705420).
## API Library
## API Library
This module is using the Adyen APIs Library for PHP for all (API) connections to Adyen.
This module is using the Adyen APIs Library for PHP for all (API) connections to Adyen.