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

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

Closed
kaplansin opened this issue Jan 10, 2023 · 8 comments
Labels
Priority: Normal This issue has a normal/medium priority. Status: Waiting for info We are waiting for more information regarding this issue.

Comments

@kaplansin
Copy link

kaplansin commented Jan 10, 2023

  • Create an order by selecting Klarna Payment method. Order will be created as New/pending status on magento
  • At payment gateway page, do not take any action, just close the window.
  • Order will remain as new/pending state/status as expected.
  • When you try to cancel order manually, you will receive following exception.

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

@kaplansin kaplansin changed the title Pending orders Klarnakp payment method can not be cancelled manually or by cron. Pending Order with Klarnakp payment method can not be cancelled manually or by cron. Jan 10, 2023
@Buckaroo-Rens
Copy link
Collaborator

@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.

@Buckaroo-Rens Buckaroo-Rens added Bug Bugs, functions that are not working like they should. Status: Waiting for info We are waiting for more information regarding this issue. Status: Researching We are researching this issue. labels Jan 10, 2023
@kaplansin
Copy link
Author

Hi @Buckaroo-Rens

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

@Buckaroo-Rens
Copy link
Collaborator

@kaplansin thanks :)

@Buckaroo-Rene
Copy link
Contributor

@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.

@Buckaroo-Rene Buckaroo-Rene changed the title Pending Order with Klarnakp payment method can not be cancelled manually or by cron. [BP-2246] A pending Klarna (authorize) is not cancellable in the Magento backend (Structure of XML failed) Jan 11, 2023
@Buckaroo-Rene Buckaroo-Rene added Status: In progress We are working on this issue. and removed Status: Researching We are researching this issue. labels Jan 11, 2023
@kaplansin
Copy link
Author

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

@Buckaroo-Rene
Copy link
Contributor

Buckaroo-Rene commented Jan 11, 2023

@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
Copy link
Author

HI @Buckaroo-Rene
Do you have any update?

@Buckaroo-Rene
Copy link
Contributor

@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?

@Buckaroo-Rene Buckaroo-Rene added Priority: Normal This issue has a normal/medium priority. and removed Bug Bugs, functions that are not working like they should. Status: In progress We are working on this issue. labels Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Normal This issue has a normal/medium priority. Status: Waiting for info We are waiting for more information regarding this issue.
Projects
None yet
Development

No branches or pull requests

3 participants