buckaroo-it / Magento2

Repository containing the Magento2 plugin by Buckaroo
MIT License
28 stars 35 forks source link

[BP-2246] A pending Klarna (authorize) is not cancellable in the Magento backend (Structure of XML failed) #654

Closed kaplansin closed 1 year ago

kaplansin commented 1 year ago

report.CRITICAL: SoapFault exception: [Client] Structure validation of XML failed. The SOAP request structure does not conform to the specification. in /project/vendor/buckaroo/magento2/Soap/Client/SoapClientWSSEC.php:197

Magento Version : 2.4.4-p2 Buckaroo Plugin : v1.44.0

Buckaroo-Rens commented 1 year ago

@kaplansin Thanks for informing us about this. We will do some additional research. Can you maybe share with us what version of the Buckaroo Plugin version your using and on what Magento version? Thank you in advance.

kaplansin commented 1 year ago

Hi @Buckaroo-Rens

Magento Version : 2.4.4-p2 Buckaroo Plugin : v1.44.0

Buckaroo-Rens commented 1 year ago

@kaplansin thanks :)

Buckaroo-Rene commented 1 year ago

@kaplansin we have 3 Klarna payment options that you can enable/use. Which one do you use and triggered this issue? I was only able to reproduce this issue with: Klarna Pay Later (authorize/capture) -> marked in red image

*we've logged a ticket for it.

kaplansin commented 1 year ago

Hi @Buckaroo-Rene Yes we are using Klarna Pay later (authorize/capture)

Buckaroo-Rene commented 1 year ago

@kaplansin ,

Thank you for the confimation. We've logged a ticket for it and the ticket is scheduled in sprint 1 (start 10-1 and lasts untill 24-01). We'll let you know when we have more information regarding this issue.

kaplansin commented 1 year ago

HI @Buckaroo-Rene
Do you have any update?

Buckaroo-Rene commented 1 year ago

@kaplansin , Sorry for the late reply on this case. We've checked this and: The pending Klarna transactions should automatically get a cancelled state by a build in cron job. The cron is runned every 6 hours and updates the previous 7 days from the config due date. If the Buckaroo Plaza gets a cancellation from Klarna earlier, then this will be send with a push message to set the order on cancelled as well.

There is no cancellation request for a authorize/reservation, so that's why the order can't be cancelled manually. Does the orders get updated for you as well withing the 6 hours? And is this something you can work with?