-
Notifications
You must be signed in to change notification settings - Fork 213
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
[ECP-9488] PlaceOrder mutation (Magento GraphQL) is broken with due to missing State Data #2754
Comments
Hello @pmzandbergen, Thank you for creating this Github issue and highlighting this issue about the implementation again. As you mentioned, it's a long going discussion and there is yet no solution. That was a decision that we needed to make due to security concerns as state data carries payment data. On the other hand, we are are of the incomplete flow causes frustration on both our merchants and system integrators. Let me discuss this issue with our internal security team and get back to you with a solution. Best Regards, |
In the meanwhile we're trying to fix this by using the (deprecated) |
Hi @pmzandbergen I have same issue with codegen and yoga server , you can probably fix the bug with plugin on I think, you can also use |
Original bug report: #1267
The original issue has been closed without providing a (solid) solution. The provided workaround doesn't work in all situations, for example when some kind of Apollo middleware is being used (e.g. Apollo Server).
The client / frontend can still bundle the mutations in a single request, but the middleware will use multiple requests to Magento. Since the state data isn't being stored the
placeOrder
mutation will fail.The documentation states "use the
placeAdyenOrder
mutation". It does not mention theplaceOrder
mutation is broken.Deviating from standards is sometimes necessary, but is that really the case here? Why is saving the state data, only temporary and encrypted if necessary, an issue?
The text was updated successfully, but these errors were encountered: