Skip to content

[ECP-9481] Orders cannot be canceled in v9 #2748

@JonasFolletete

Description

@JonasFolletete

Describe the bug
Prior to version 9, there was a way to cancel pending orders by using the payment-details route : 35ebd16#diff-12bbc66d935c4130a664605599d72213df5a15629e4831bab735b1b6f2b4a295L99-L111

The cancelledparameter is still used in the javascription plugin, but doesn't seem to work anymore :

Is there a new route to do the same thing ?

Thank you very much.

To Reproduce

When I call the route payment-details : adyen/guest-carts/${cart-token}/payments-details
with the payload :
{ payload: "{"cancelled":true}", orderId: ${orderId} }

The plugin gives me the following error :
Internal Error. Details are available in Magento log file.
Warning: Undefined array key "details" in /app/do357cqtkw3dk_stg/vendor/adyen/module-payment/Helper/PaymentsDetails.php on line 114

Expected behavior

The order should be cancelled.

Magento version
2.4.5

Plugin version
9.8.0

Metadata

Metadata

Labels

Bug reportIndicates that issue has been marked as a possible bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions