adyen-magento2
adyen-magento2 copied to clipboard
[PW-6744] Multishipping + Offline payment method error
Describe the bug When using multishipping checkout and choosing to pay with an offline payment method e.g. check, cash on delivery, bank transfer, free. An error is thrown when you click place order because the resultCode is missing from the additional payment information and is required by adyen/module-payment/Block/Checkout/Multishipping/Success.php
To Reproduce Steps to reproduce the behavior:
- Go to Multishipping checkout
- Check out using multiple addresses
- Select any offline payment method
- Click on Place Order
- See error Notice: Undefined index: resultCode in adyen/module-payment/Block/Checkout/Multishipping/Success.php on line 168
Expected behavior The checkout success page should be displayed
Magento version 2.4.3
Plugin version 8.1.1
Desktop (please complete the following information):
- OS: Ubuntu 20.04
- Browser Chrome
- Version 101.0.4951.64
Additional context Add any other context about the problem here.
Hi @matmarchant,
Thank you for opening this issue. As the offline payments methods will not have a resultCode we should exempt them from our checker. I have created a ticket for this.
Cheers, Titus
Hi @matmarchant,
This issue has been fixed in the linked PR. It will be live in the next release, later this week.
Thanks, Jean Adyen