Closed Hexmage closed 1 year ago
Hi @Hexmage
Thanks for this report.
We will be investigating this issue and will get back to you as soon as possible with our findings.
Hi @Hexmage ,
We have released a new version of our module where the fix is implemented: https://github.com/MultiSafepay/magento2/releases/tag/2.18.0
The issue should not be happening anymore after an upgrade. If you still experience issues or have other questions, feel free to create a new issue or reopen this one.
@Vinod-MultiSafepay Similar things are happening to other payment methods. When you try to set specific data for Klarna, this gets deleted as well in the same way.
Hi @Hexmage ,
We don't expect someone to set additional information for a payment method where it is not needed to create the transaction. Perhaps this is why the issue is happening.
Can you show us an example of GraphQL requests with the payload that you are using where you are experiencing issues with?
I reopened this one in the meantime.
We are closing this ticket due inactivity.
Describe the bug When you set a ideal issuer_id and then place order the issuer_id gets removed. The reason for this is that Magento has decided to change the logic for the GraphQl endpoint to always include the payment data and this resets the additional_data which removes the issuer_id.
To Reproduce Steps to reproduce the behavior:
Expected behavior You get a link to the issuers page to handle the payment there.
Actual behavior You get a link to MSP where you have to select an issuer.
Additional context Cause of the issue is the
$this->cartManagement->placeOrder($cartId, $this->paymentMethodManagement->get($cartId));
line in theMagento/QuoteGraphQl/Model/Resolver/PlaceOrder
class. In older versions the$this->paymentMethodManagement->get($cartId)
doesn't exist.