Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue for order status pre-authorized state configuration #2529

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
2 changes: 1 addition & 1 deletion Helper/Webhook.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Webhook
* Indicative matrix for possible states to enter after given event
*/
const STATE_TRANSITION_MATRIX = [
'payment_pre_authorized' => [Order::STATE_NEW, PreAuthorized::STATE_ADYEN_AUTHORIZED],
'payment_pre_authorized' => [PreAuthorized::STATE_ADYEN_AUTHORIZED, Order::STATE_NEW],
'payment_authorized' => [Order::STATE_PROCESSING]
];

Expand Down
Loading